pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Juraj Porada <porada@pe-muc.de>
To: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
Cc: pgsql-performance@postgresql.org
Subject: Re: slower with the time
Date: Tue, 01 Jul 2003 10:10:08 +0200
Message-ID: <3F0141E0.50703@pe-muc.de> (raw)
References: <3F013C85.2060202@pe-muc.de>
	<200307011318.00824.shridhar_daithankar@nospam.persistent.co.in>

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
>
>  
>

view thread (4+ messages)  latest in thread

Message-ID: <3F0141E0.50703@pe-muc.de>
Permalink:  ../3F0141E0.50703@pe-muc.de/
Also on:    postgresql.org/message-id/3F0141E0.50703@pe-muc.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: porada@pe-muc.de, shridhar_daithankar@persistent.co.in
  Subject: Re: slower with the time
  In-Reply-To: <3F0141E0.50703@pe-muc.de>
  References: <3F013C85.2060202@pe-muc.de> <200307011318.00824.shridhar_daithankar@nospam.persistent.co.in> <3F0141E0.50703@pe-muc.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox