Re: Simple postgresql.conf wizard

From: "Robert Haas" <robertmhaas(at)gmail(dot)com>
To: "Greg Smith" <gsmith(at)gregsmith(dot)com>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Simple postgresql.conf wizard
Date: 2008-12-04 02:08:14
Message-ID: 603c8f070812031808y7988901aue1c625edd556db4c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The idea of the mixed mode is that you want to reduce the odds someone will
> get a massively wrong configuration if they're not paying attention. Is it
> worse to suffer from additional query overhead if you're sloppy with the
> tuning tool, or to discover addition partitions didn't work as you expected?
> That's a tough call; I could invert things, so that it defaults to off in
> mixed mode, as always, and just produces a HINT to turn it on. I don't have
> a really strong opinion there either way.

I think that the strong feelings about default_statistics_target and
constraint_exclusion come from the fact that when they are too low (in
the first case) or off (in the second case), you can get very, very
bad query plans. The penalties in the opposite direction are more
subtle. If they're so subtle that we don't care about incurring them,
then let's change initdb too. If not, then let's not have the tuning
tool generate them by default either.

...Robert

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Koichi Suzuki 2008-12-04 02:15:00 Re: V2 of PITR performance improvement for 8.4
Previous Message Greg Smith 2008-12-04 01:48:52 Re: Simple postgresql.conf wizard