Re: Multi-processors

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Multi-processors
Дата
Msg-id 48D36842.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Multi-processors  ("c k" <shreeseva.learning@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Mikel Lindsaar"
Дата:
Сообщение: Re: unable to restore 8.2.5
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Multi-processors