Re: scaling up postgres

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: scaling up postgres
Дата
Msg-id 20060603094355.GA23297@uio.no
обсуждение исходный текст
Ответ на scaling up postgres  (fzied@planet.tn)
Ответы Re: scaling up postgres  (Mario Splivalo <mario.splivalo@mobart.hr>)
Список pgsql-performance
On Sat, Jun 03, 2006 at 10:31:03AM +0100, fzied@planet.tn wrote:
> I do have 2 identical beasts (4G - biproc Xeon 3.2 - 2 Gig NIC)
> One beast will be apache, and the other will be postgres.
> I'm using httperf/autobench for measurments and the best result I can get
> is that my system can handle a trafiic of almost 1600 New con/sec.

What version of PostgreSQL? (8.1 is better than 8.0 is much better than 7.4.)
Have you remembered to turn HT off? Have you considered Opterons instead of
Xeons? (The Xeons generally scale bad with PostgreSQL.) What kind of queries
are you running? Are you using connection pooling? Prepared queries?

> vmstat is not showing any "annoyance" I cannot find where is it blocked !

How many context switches ("cs" in vmstat) do you get per second?

/* Steinar */
--
Homepage: http://www.sesse.net/

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

Предыдущее
От: fzied@planet.tn
Дата:
Сообщение: scaling up postgres
Следующее
От: PFC
Дата:
Сообщение: Re: scaling up postgres