Re: how much ram do i give postgres?
От | Bruno Wolff III |
---|---|
Тема | Re: how much ram do i give postgres? |
Дата | |
Msg-id | 20041020183543.GA28409@wolff.to обсуждение исходный текст |
Ответ на | Re: how much ram do i give postgres? (Josh Close <narshe@gmail.com>) |
Ответы |
Re: how much ram do i give postgres?
|
Список | pgsql-general |
On Wed, Oct 20, 2004 at 08:25:22 -0500, Josh Close <narshe@gmail.com> wrote: > > It's slow due to several things happening all at once. There are a lot > of inserts and updates happening. There is periodically a bulk insert > of 500k - 1 mill rows happening. I'm doing a vacuum anaylyze every > hour due to the amount of transactions happening, and a vacuum full > every night. All this has caused selects to be very slow. At times, a > "select count(1)" from a table will take several mins. I don't think > selects would have to wait on locks by inserts/updates would it? You might not need to do the vacuum fulls that often. If the your hourly vacuums have a high enough fsm setting, they should be keeping the database from continually growing in size. At that point daily vacuum fulls are overkill and if they are slowing stuff down you want to run quickly, you should cut back on them.
В списке pgsql-general по дате отправления: