pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Sabino Mullane <greg@turnstep.com>
To: pgsql-performance@postgresql.org
Subject: Re: Changing the random_page_cost default (was: cpu_tuple_cost)
Date: Tue, 15 Mar 2005 12:35:19 -0000
Message-ID: <d1376f1e9679b10ba7a9d8cac343ee05@biglumber.com> (raw)
In-Reply-To: <200503142210.40717.josh@agliodbs.com>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Josh Berkus wrote:
> I don't agree.  The defaults are there for people who aren't going to read
> enough of the documentation to set them.  As such, conservative for the
> defaults is appropriate.

Sure, but I would argue that 4 is *too* conservative. We've certainly changed
other values over the years. I see it as those most affected by this change
are those who are least likely to have the know-how to change the default,
and are also the majority of our users. I've often had to reduce this, working
on many databases, on many versions of PostgreSQL. Granted, I don't work on
any huge, complex, hundreds of gig databases, but that supports my point -
if you are really better off with a /higher/ (than 3) random_page_cost, you
already should be tweaking a lot of stuff yourself anyway. Tom Lane has a
good point about tweaking other default parameters as well, and that's a
worthy goal, but I don't think extended searching for a "sweet spot" should
prevent us from making a small yet important (IMO!) change in the default
of this one variable.

N.B. My own personal starting default is 2, but I thought 3 was a nice
middle ground more likely to reach consensus here. :)

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200503141727
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFCNhFAvJuQZxSWSsgRAgZiAJ9947emxFoMMXKooJHi2ZPIQr9xGACgjaFf
hBCPTuHZwGFzomf1Z1TDpVo=
=KX9t
-----END PGP SIGNATURE-----





view thread (5+ messages)  latest in thread

Message-ID: <d1376f1e9679b10ba7a9d8cac343ee05@biglumber.com>
Permalink:  ../d1376f1e9679b10ba7a9d8cac343ee05@biglumber.com/
Also on:    postgresql.org/message-id/d1376f1e9679b10ba7a9d8cac343ee05@biglumber.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: greg@turnstep.com
  Subject: Re: Changing the random_page_cost default (was: cpu_tuple_cost)
  In-Reply-To: <d1376f1e9679b10ba7a9d8cac343ee05@biglumber.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox