Re: Moving from 32 to 64 bit builds on Solaris

From: Dan Sugalski <dan(at)sidhe(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Moving from 32 to 64 bit builds on Solaris
Date: 2007-03-10 13:30:20
Message-ID: a06240801c2185fc44273@[192.168.1.253]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 1:01 AM -0500 3/10/07, Tom Lane wrote:
>Dan Sugalski <dan(at)sidhe(dot)org> writes:
>> I assume I'll have to do a 64 bit build to use more than a few gig of
>> shared buffers. If I do that, though, am I going to have to do a
>> database dump and reload,
>
>Yes, most likely, because you'll have changed MAXALIGN and therefore the
>data alignment rules.
>
>You should first ask yourself whether you will get any performance
>benefit from having "more than a few gig of shared buffers". If anyone
>has proven such a benefit I haven't seen it.

Possibly it won't. The machine the DB is on sees heavy access to
large files, to the point where parts of the database may get flushed
out of the OS buffer cache. I was working on the (possibly deeply
flawed assumption) that I'd be better off if more of the database was
guaranteed pinned in memory in Postgres' buffer cache -- it wouldn't
necessarily make the peak performance better, but it would make
average performance better, since I'd not have to sometimes hit disk
to read in things that had been evicted from the disk cache.
--
Dan

--------------------------------------it's like this-------------------
Dan Sugalski even samurai
dan(at)sidhe(dot)org have teddy bears and even
teddy bears get drunk

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Downs 2007-03-10 15:12:17 Re: HIPPA (was Re: Anyone know ...)
Previous Message woger151 2007-03-10 13:05:41 unary operators, precedence, grouping