How to benchmark
Benchmarking is a huge topic. Here, we cover minimal steps that are required for a Postgres benchmark to be informative, useful, and correct.
Benchmarking is a huge topic. Here, we cover minimal steps that are required for a Postgres benchmark to be informative, useful, and correct.
For experiments, it is important to take into account the state of caches – Postgres buffer pool (size of which is controlled by shared_buffers) and OS page…
Generate realistic test data in PostgreSQL using generate_series, random(), timestamps, pseudowords, and Faker.
For query optimization goals – running EXPLAIN (ANALYZE, BUFFERS) and verifying various optimization ideas such as a new index – it is crucial to ensure that…
This howto is for users who use or need to use Postgres, but are not experienced in using Docker.
When conducting a Postgres benchmark (see How to benchmark), quite often we need to run multiple benchmark iterations on the same setup.