Re: Scalability in postgres

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Scalability in postgres
Дата
Msg-id 4A263DB0.EE98.0025.1@wicourts.gov
обсуждение исходный текст
Ответ на Re: Scalability in postgres  (James Mansion <james@mansionfamily.plus.com>)
Ответы Re: Scalability in postgres  (Dimitri <dimitrik.fr@gmail.com>)
Re: Scalability in postgres  (James Mansion <james@mansionfamily.plus.com>)
Список pgsql-performance
James Mansion <james@mansionfamily.plus.com> wrote:

> I'm sure most of us evaluating Postgres from a background in Sybase
> or SQLServer would regard 5000 connections as no big deal.

Sure, but the architecture of those products is based around all the
work being done by "engines" which try to establish affinity to
different CPUs, and loop through the various tasks to be done.  You
don't get a context switch storm because you normally have the number
of engines set at or below the number of CPUs.  The down side is that
they spend a lot of time spinning around queue access to see if
anything has become available to do -- which causes them not to play
nice with other processes on the same box.

If you do connection pooling and queue requests, you get the best of
both worlds.  If that could be built into PostgreSQL, it would
probably reduce the number of posts requesting support for bad
configurations, and help with benchmarks which don't use proper
connection pooling for the product; but it would actually not add any
capability which isn't there if you do your homework....

-Kevin

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

Предыдущее
От: "Kenneth Cox"
Дата:
Сообщение: Re: Best way to load test a postgresql server
Следующее
От: Davin Potts
Дата:
Сообщение: poor performing plan from analyze vs. fast default plan pre-analyze on new database