Re: Is Posgresql and Interchange multithreaded?

Поиск
Список
Период
Сортировка
От Jeremy Buchmann
Тема Re: Is Posgresql and Interchange multithreaded?
Дата
Msg-id 3CA8CAE6.1010801@wellsgaming.com
обсуждение исходный текст
Ответ на Is Posgresql and Interchange multithreaded?  ("Gill, Jeffrey L" <jeffrey.l.gill@intel.com>)
Список pgsql-admin
Gill, Jeffrey L wrote:
> Is Postgresql multithreaded i.e can it take advantange of multiprocessor
> systems (4 ways)?

PostgreSQL is a multi-process application, meaning each connection to the
database gets it's own process.  So if the operating system schedules the
processes on different processors, then they will run truly parallel which
will be faster than if you had just one processor.  But if you're just doing
one connection at a time, no, you won't see any speedup.  You can't
have multiple processors working on the same query, for example.

> Is Interchange written as multithreaded application?

Don't know what that is.

> What is the most processors you have seen Postgresql running on?

One.  :)

--Jeremy



В списке pgsql-admin по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Is Posgresql and Interchange multithreaded?
Следующее
От: Jeremy Buchmann
Дата:
Сообщение: Re: How much memory does postgresql require?