From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Philip Molter <philip(at)datafoundry(dot)net>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Tim Barnard <tbarnard(at)povn(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Slower on Solaris (NOT that Red Hat thread anymore) |
Date: | 2001-06-28 15:10:04 |
Message-ID: | 24293.993741004@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>> I had almost given up on using Postgres for this system because under
>> Solaris, it just couldn't cut it (MySQL could do the work with one CPU
>> while Postgres took up even more CPU and required *both* CPUs to be
>> enabled), but when we moved the system to a Linux box, things worked
>> much better.
> Ah, back to a PostgreSQL topic. :-)
> My guess on this one is that Solaris is slower for PostgreSQL because
> process switching is _much_ heavier on Solaris than other OS's.
If this is 7.1, another fairly likely possibility is that the fsync
method being used for the WAL log needs to be changed on the Solaris
box. The reason we have so many options is that some methods are way
slower than others on certain platforms --- but we don't yet have
anything in there to pick the right method for a given platform.
Could you experiment with WAL_SYNC_METHOD on the Solaris system
and see if your results change?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-06-28 15:12:33 | Re: Re: Red Hat to support PostgreSQL |
Previous Message | Philip Molter | 2001-06-28 15:05:55 | Re: Re: Red Hat to support PostgreSQL |