pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: "Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
From: " <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: Page Size in Future Releases
Date: Fri, 21 Mar 2003 09:09:56 +0530
Message-ID: <200303210909.56451.shridhar_daithankar@persistent.co.in> (raw)
In-Reply-To: <BAY1-F34gsVWDKpzxDP00044c35@hotmail.com>
References: <BAY1-F34gsVWDKpzxDP00044c35@hotmail.com>

On Friday 21 Mar 2003 2:15 am, Kendrick C. Wilson wrote:
> Will a increase in the size of a data page increase performance of a
> database with large records?
>
> I have records about 881 byte + 40 byte (header) = 921.
>
> 8k page size / 921 bytes per record is ONLY 8 records...........

You can tweak it yourself at compile time in some header file and that should 
work but that is a point of diminising results as far as hackers are 
concerned.

One reason I know where it would help is getting postgresql to use tons of 
shaerd memory. Right now postgresql can not use much beyond 250MB(??) because 
number of shared buffer are int or something. So if you know your reconrds 
are large, are often manipulated and your OS is not so good at file caching, 
then increasing page size might help.

Given how good unices are in general in terms of file and memory handling, I 
woudl say you should not do it unless your average record size is greater 
than 8K, something like a large genome sequence or so.

YMMV..

 Shridhar



view thread (6+ messages)  latest in thread

Message-ID: <200303210909.56451.shridhar_daithankar@persistent.co.in>
Permalink:  ../200303210909.56451.shridhar_daithankar@persistent.co.in/
Also on:    postgresql.org/message-id/200303210909.56451.shridhar_daithankar@persistent.co.in

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: shridhar_daithankar@persistent.co.in
  Subject: Re: Page Size in Future Releases
  In-Reply-To: <200303210909.56451.shridhar_daithankar@persistent.co.in>
  References: <BAY1-F34gsVWDKpzxDP00044c35@hotmail.com> <200303210909.56451.shridhar_daithankar@persistent.co.in>

* 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