Re: x86-64 and PostgreSQL

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: PgSQL Performance ML <pgsql-performance(at)postgresql(dot)org>
Subject: Re: x86-64 and PostgreSQL
Date: 2003-01-18 16:39:35
Message-ID: 20030118113935.C23790@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Jan 17, 2003 at 11:29:25PM -0600, Ron Johnson wrote:
> Hi,
>
> Will there be any advantages to running Pg on a 64-bit CPU rather
> than 32-bit?

In my experience, not really. We use SPARCs under Solaris 7 and,
now, 8. We haven't found any terribly obvious advantages with the
system compiled as a 64 bit app, but we _did_ find problems with the
64 bit libraries combined with gcc. As a result of that and
pressures to get working on some other things, we stopped testing
Postgres as a 64 bit app on Solaris. We haven't done any work on
Solaris 8 with it, and that system is a little more mature in the
64-bit-support department, so when I have a chance do to more
investigation, I will.

> Also, would int8 then become a more "natural" default integer, rather
> than the int4 that all of us millions of i386, PPC & Sparc users use?

I think the problem with int8s in a lot of cases has more to do with
typer coercion. So at least in systems < 7.4, I'm not sure you'll
see a big win, unless you make sure to cast everything correctly.

A

--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Shridhar Daithankar 2003-01-20 06:29:59 Re: x86-64 and PostgreSQL
Previous Message Andrew Sullivan 2003-01-18 16:24:26 Re: 7.3.1 New install, large queries are slow