Re: slower with the time

От: Juraj Porada
Тема: Re: slower with the time
Дата: ,
Msg-id: 3F0141E0.50703@pe-muc.de
(см: обсуждение, исходный текст)
Ответ на: slower with the time  (Juraj Porada)
Ответы: Re: slower with the time  (Shridhar Daithankar)
Список: pgsql-performance

Скрыть дерево обсуждения

slower with the time  (Juraj Porada, )
 Re: slower with the time  (Shridhar Daithankar, )
 Re: slower with the time  (Juraj Porada, )
  Re: slower with the time  (Shridhar Daithankar, )

shared_buffers = 32

I don't have much experience in tuning the database, but I think there is a problem with a fragmentation of memory or so.
I don't known backgrounds.

Juraj

Shridhar Daithankar schrieb:
On Tuesday 01 July 2003 13:17, Juraj Porada wrote: 
I insert data every second in my table. Every minute I delete from the
table some row to keep max 10000 rows in the table.
At the beginning deletes consume about 20% CPU time. After 24 houts
every delete needs up tu 100% CPU time (updates too).
Vacuuming doesn't help.
After I restart postmaster, it works again very quick.
Any ideas?   
Postmaster does not consume CPU for simple things like this unless it does not 
have enough shared buffers. 

What is your shared buffer setting? Can you tune it according to available 
RAM, dataset size and type of workload?
Shridhar


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
              http://archives.postgresql.org
 


В списке pgsql-performance по дате сообщения:

От: Howard Oblowitz
Дата:
Сообщение: Effective Cache Size
От: "scott.marlowe"
Дата:
Сообщение: Re: Version 7 question