-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

PostgreSQL 10 High Performance
By :

The sample test results all come from the sample server and configuration described previously, and are the sort of graph that you get from pgbench-tools
each time it is run. These results were all created using PostgreSQL 9.0 and later, allowing up to four pgbench
worker threads (one per core).
When running the simple read-only test, results will be very good while the database fits in RAM, then drop off fast after that. Note that the straight line you'll see on all these graphs is always the database size value, which is in units shown by the right axis scale:
This curve has a similar shape no matter what hardware you have. The only thing that changes is where the two big break points are at, depending on how much RAM is in the server. You're limited by the speed of well cached system RAM on the left side, by disk seek rate on the right, and some mix of the two in between.
The scaling diagram has the same basic curve on the write...