Re: Multi-processors - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Multi-processors
Date
Msg-id 48D36842.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to Multi-processors  ("c k" <shreeseva.learning@gmail.com>)
List pgsql-admin
>>> "c k" <shreeseva.learning@gmail.com> wrote:

> Does PG uses multiple processors/cores if available by default on
various
> OSes?

A separate process is created to handle each connection.  You don't
get much benefit from multiple processors if only one connection at a
time is running a query, but in a normal mix it uses all processors.

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

I'm not sure what you're getting at here, but PostgreSQL goes through
the file system, so OS caching (which is what usually happens to
otherwise unused system RAM) benefits PostgreSQL.  Does that help?

-Kevin

pgsql-admin by date:

Previous
From: "Mikel Lindsaar"
Date:
Subject: Re: unable to restore 8.2.5
Next
From: "Scott Marlowe"
Date:
Subject: Re: Multi-processors