Re: Multi-processors - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Multi-processors
Date
Msg-id dcc563d10809190729g1cd2679bo79a0d40980cdb293@mail.gmail.com
Whole thread Raw
In response to Multi-processors  ("c k" <shreeseva.learning@gmail.com>)
List pgsql-admin
On Fri, Sep 19, 2008 at 5:55 AM, c k <shreeseva.learning@gmail.com> wrote:
> Hello PG Community,
> Does PG uses multiple processors/cores if available by default on various
> OSes?

Yes, see attached top extract from my primary db server at work

> What are the limitations on using multiple processors/cores and main
> memory?

Do you mean how many CPUs and how much memory?  no real limits on a 64
bit machine. Note that it's often better to let the os do the majority
of caching, depending on your work load.  This is especially true in
OLTP where the cost of pgsql maintaining a large buffer is higher than
the benefit it provides, but the kernel can cache much larger datasets
faster, in my experience.

Attachment

pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Multi-processors
Next
From: "Scott Marlowe"
Date:
Subject: Re: Regaining superuser access