Re: [GENERAL] Autovacuum Improvements - Mailing list pgsql-hackers

From Kenneth Marshall
Subject Re: [GENERAL] Autovacuum Improvements
Date
Msg-id 20070124134031.GD27859@it.is.rice.edu
Whole thread Raw
In response to Re: [GENERAL] Autovacuum Improvements  (Jim Nasby <jim@nasby.net>)
Responses Re: [GENERAL] Autovacuum Improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jan 23, 2007 at 09:01:41PM -0600, Jim Nasby wrote:
> On Jan 22, 2007, at 6:53 PM, Kenneth Marshall wrote:
> >The default should
> >be approximately the OS standard read-ahead amount.
> 
> Is there anything resembling a standard across the OSes we support?  
> Better yet, is there a standard call that allows you to find out what  
> the read-ahead setting is?
> --
> Jim Nasby                                            jim@nasby.net
> EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)
> 
Not that I am aware of. Even extending the relation by one additional
block can make a big difference in performance and should easily fall
within every read-ahead in use today. Or a GUC variable, that defaults
to a small power of 2 number of PostgreSQL blocks, with a default arrived
at by testing.

Ken


pgsql-hackers by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: [GENERAL] Autovacuum Improvements
Next
From: Sorin Schwimmer
Date:
Subject: New feature proposal