Re: Migrated from 8.3 to 9.0 - need to update config (re-post)

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Claudio Freire" <klaussfreire(at)gmail(dot)com>, "postgres performance list" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Migrated from 8.3 to 9.0 - need to update config (re-post)
Date: 2011-09-09 21:09:54
Message-ID: 4E6A3A52020000250004108C@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Claudio Freire <klaussfreire(at)gmail(dot)com> wrote:

> On the other hand, in order to benefit from synchro scans and
> stuff like that, one has to increase concurrency beyond what is
> normally considered optimal.

That's a good example of why any general configuration advice should
just be used as a starting point. There's no substitute for
benchmarking your own real workload on your own hardware.

On the third hand, though, you have to be very careful about
interpreting these results -- if you used a configuration with a
small effective_cache_size so you could get a lot of benefit from
the synchro scans, you might have suppressed choice of an index
which would have allowed them to run faster with lower concurrency.
Or you might have had to cut your work_mem to a small enough size
(to avoid OOM errors) to force a totally different plan. So to get
a meaningful comparison, you have to change a number of variables at
once.

Good benchmarking is really hard.

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Craig Ringer 2011-09-10 00:00:18 Re: PostgreSQL insights: does it use DMA?
Previous Message Kevin Grittner 2011-09-09 21:08:52 Re: Migrated from 8.3 to 9.0 - need to update config (re-post)