Re: Physical sites handling large data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: shridhar_daithankar(at)persistent(dot)co(dot)in
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Physical sites handling large data
Date: 2002-09-15 15:01:16
Message-ID: 28735.1032102076@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in> writes:
> On this topic, say I decide to devote 8GB to postgres that means 1048576
> buffers for 8K page size. Need I push available number of shared memory
> segments beyond this value? Can I tweak size of page? If I can would it help
> for such an installation?

I do not believe you can push the shared memory size past 2GB, or about
250K buffers, because the size calculations for it are done in "int"
arithmetic. Of course, this could be fixed if anyone cared to do the
legwork. I doubt there's much point in worrying about it though.
A larger memory is still usable, it's just that the rest of it will be
used in the form of kernel-level disk cache not Postgres buffers.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2002-09-15 15:13:00 Re: user defined data types - help
Previous Message Tom Lane 2002-09-15 14:50:12 Re: bigint datatype accepting floating numbers

Browse pgsql-hackers by date

  From Date Subject
Next Message Ericson Smith 2002-09-15 15:33:59 Re: Physical sites handling large data
Previous Message Shridhar Daithankar 2002-09-15 10:21:05 Re: Physical sites handling large data