From: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
---|---|
To: | Greg Sabino Mullane <greg(at)turnstep(dot)com> |
Cc: | pgsql-advocacy(at)postgresql(dot)org |
Subject: | Re: postgresql.conf.* |
Date: | 2006-01-06 16:25:01 |
Message-ID: | 20060106162501.GJ3902@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-advocacy |
On Fri, Jan 06, 2006 at 04:20:15PM -0000, Greg Sabino Mullane wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> > Every time this idea is brought up, people seem to think that the idea
> > is to produce some ideal configuration out-of-the-box, which of course
> > is exceptionally difficult. But *anything* would be far superior to what
> > we have now. Clearly there's no replacement for actually going in and
> > tuning things by hand, and anyone with any kind of database knowledge
> > will know that.
>
> On a sort of related note, I recall lobbying for dropping the
> random_page_cost down from the current default of 4, but getting
> shot down because random_page_cost was part of a bigger picture and
> adjusting that alone was the Wrong Way To Do It. Nothing ever came of
> it however, so I invariably end up adjusting random_page_cost on every
> install I do.
The issue is that testing of the cost of random vs sequential access on
modern hard drives still shows that 4 is the correct value. The reason
people end up decreasing it is because of shortcommings in the various
estimator functions; decreasing random_page_cost brings the estimates
closer to reality, but it's the wrong way to go about it.
So it's another case of year after year of shipping a bad default
configuration because "some day we'll get around to fixing the problem
the right way".
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Juan Pablo Yañez | 2006-01-10 19:52:00 | Unsucribe |
Previous Message | Greg Sabino Mullane | 2006-01-06 16:20:15 | Re: postgresql.conf.* |