Re: dedicated server & postgresql 8.1 conf tunning

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: dedicated server & postgresql 8.1 conf tunning
Дата
Msg-id 48E4865F.3010807@archonet.com
обсуждение исходный текст
Ответ на Re: dedicated server & postgresql 8.1 conf tunning  (<paul@wayr.org>)
Ответы Re: dedicated server & postgresql 8.1 conf tunning  (Tommy Gildseth <tommy.gildseth@usit.uio.no>)
Список pgsql-performance
paul@wayr.org wrote:
> Thanks,
>
> Unfornatly, i can't update pgsql to 8.3 since it's not in debian stable.

That's why backports.org was invented :-)
Or does can't mean "not allowed to"?

> So i'm going to play with work_mem & shared_buffers.
>
> With big shared_buffers pgsql tells me
> shmget(cle=5432001, taille=11183431680, 03600).
> so i do "echo 13183431680 > /proc/sys/kernel/shmmax" ( 10Go + 2Go just
> in case)
>
> but pgsql tells me again that it there's not enought shm..
> How can i compute the go shmmax for my server ?

I'm not seeing anything terribly wrong there. Are you hitting a limit
with shmall?

Oh - and I'm not sure there's much point in having more shared-buffers
than you have data.

Try much larger work_mem first, I think that's the biggest gain for you.

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От:
Дата:
Сообщение: Re: dedicated server & postgresql 8.1 conf tunning
Следующее
От: Tommy Gildseth
Дата:
Сообщение: Re: dedicated server & postgresql 8.1 conf tunning