From: Michael Monnerie <michael.monnerie@it-management.at>
To: pgsql-admin@postgresql.org
Subject: Re: Windows 64 bit
Date: Thu, 20 Mar 2008 15:51:32 +0100
Message-ID: <200803201551.32332@zmi.at> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE8760CDDC3F@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE8760CDDC3A@SAB-FENWICK.sab.uiuc.edu>
<B10E6810AC2A2F4EA7550D072CDE8760CDDC3F@SAB-FENWICK.sab.uiuc.edu>
On Mittwoch, 19. März 2008 Campbell, Lance wrote:
> Would there be benefits in running PostgreSQL in a 32 bit mode on a
> 64 bit version of XP? My thought is that the OS could access more
> of the memory for the caching of the files. I come to this
> understanding because on my production Linux box, I don't allocate
> more than a 2 Gig to PostgreSQL. I leave the rest of the memory
> available for the caching of disk files. So even though PostgreSQL
> would be running in a 32 bit mode it seems like it would still run
> better on a 64 bit XP box compared to a 32 bit version. This of
> course assumes that one does have a sizeable database.
If memory is not the problem (db < 2GB), then it depends on your
hardware if your specific application is faster with 32 or 64 bit.
Handling big data structures that are 64bit aligned on a 64 bit
optimized hardware can be slower on a 32bit postgresql, while a
database with "small int" only values might actually be faster on a
32bit db, because of more efficient caching.
Example: We run dbmail (http://www.dbmail.org), a postgresql based
e-mail server, with a several GB DB, storing e-mails, which is quite
big data in DB terms. 64bit is more efficient here.
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0676/846 914 666 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: www.keyserver.net Key-ID: 1C1209B4
Attachments:
signature.asc (application/pgp-signature, 193B) download
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: michael.monnerie@it-management.at
Subject: Re: Windows 64 bit
In-Reply-To: <200803201551.32332@zmi.at>
* 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