pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: c k <shreeseva.learning@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Multi-processors
Date: Fri, 19 Sep 2008 08:52:18 -0500
Message-ID: <48D36842.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <d8e7a1e30809190455p15b9b83fw4ed297ca2d4d102c@mail.gmail.com>
References: <d8e7a1e30809190455p15b9b83fw4ed297ca2d4d102c@mail.gmail.com>

>>> "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



view thread (3+ messages)  latest in thread

Message-ID: <48D36842.EE98.0025.0@wicourts.gov>
Permalink:  ../48D36842.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/48D36842.EE98.0025.0@wicourts.gov

 · 

reply

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: Kevin.Grittner@wicourts.gov, shreeseva.learning@gmail.com
  Subject: Re: Multi-processors
  In-Reply-To: <48D36842.EE98.0025.0@wicourts.gov>

* 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