Re: A couple of p.tches for PostgreSQL 64bit support

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Koichi Suzuki <koichi(at)intellilink(dot)co(dot)jp>, pgsql-patches(at)postgresql(dot)org, Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp>, ikubo(at)intellilink(dot)co(dot)jp, yasunaga <yasunaga(dot)hisato(at)soft(dot)fujitsu(dot)com>, Bruce Momjian <root(at)candle(dot)pha(dot)pa(dot)us>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, sakata(dot)tetsuo(at)lab(dot)ntt(dot)co(dot)jp, "T(dot)Honishi" <honishi(dot)takashi(at)lab(dot)ntt(dot)co(dot)jp>
Subject: Re: A couple of p.tches for PostgreSQL 64bit support
Date: 2005-07-07 17:11:21
Message-ID: 20050707171120.GB10035@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, Jul 07, 2005 at 06:23:40PM +0200, Hans-Jürgen Schönig wrote:
> Tom Lane wrote:
> >Koichi Suzuki <koichi(at)intellilink(dot)co(dot)jp> writes:
> >
> >>Here're a couple of patches for PostgreSQL 64bit support. There're just
> >>two extension to 64bit, size of shared memory and transaction ID.
> >
> >
> >I asked originally for some experimental evidence showing any value
> >in having more than 2Gb of shared buffers. In the absence of any
> >convincing demonstration, I'm not very inclined to worry about whether
> >we can handle wider-than-int shared memory size.
>
> There is some practical evidence. Recently the number of large boxes in
> the field is almost growing exponentially. Today I have heard somebody
> say "this box has 'just 4 gig of ram' ".

Yes, but the point is if it's a good idea to have that many shared
buffers. Is there a measurable difference between that, and leaving the
extra memory for the kernel to manage cache? Remember that there have
been measurements that showed, for previous releases, that having shared
buffers set too high was detrimental to performance. So the first thing
to do is present results showing that this is no longer true.

This could very well be the case, because of the rewriting of the buffer
manager.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"El destino baraja y nosotros jugamos" (A. Schopenhauer)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Darren Alcorn 2005-07-07 17:28:43 Re: SQL99 - Nested Tables
Previous Message Josh Berkus 2005-07-07 16:59:58 Re: Checkpoint cost, looks like it is WAL/CRC

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-07-07 20:45:59 Re: Dependencies on shared objects
Previous Message Josh Berkus 2005-07-07 16:58:02 Re: A couple of patches for PostgreSQL 64bit support