Professional Documents
Culture Documents
How To Think About Performance
How To Think About Performance
performance
Selena Deckelmann
PostgreSQL User Group Liaison
postgresql.org
http://pugs.postgresql.org/blog/92
Meetings at Portland State University
Hardware donated by HP
http://moourl.com/fsperf
What do we teach?
Bottlenecks
Baselining
Constraints
Bottlenecks
sar
mpstat
iostat
vmstat
readprofile
Baselining
• Application-specific.
• Filesystem performance.
• Start from defaults.
• Change one thing at a time.
• Use Science.
Constraints
• Hardware
• Operating system
• Time/Money
• Patience
We need your help.
• Go through our data.
• Pose new questions.
• Ask us about running tests.
How Postgres thinks
about performance
Synchronized Scan
“Do you need to start
at the beginning?”