pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: slower with the time
Date: Tue, 1 Jul 2003 13:18:00 +0530
Message-ID: <200307011318.00824.shridhar_daithankar@nospam.persistent.co.in> (raw)
In-Reply-To: <3F013C85.2060202@pe-muc.de>
References: <3F013C85.2060202@pe-muc.de>

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




view thread (4+ messages)  latest in thread

Message-ID: <200307011318.00824.shridhar_daithankar@nospam.persistent.co.in>
Permalink:  ../200307011318.00824.shridhar_daithankar@nospam.persistent.co.in/
Also on:    postgresql.org/message-id/200307011318.00824.shridhar_daithankar@nospam.persistent.co.in

 · 

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: shridhar_daithankar@persistent.co.in
  Subject: Re: slower with the time
  In-Reply-To: <200307011318.00824.shridhar_daithankar@nospam.persistent.co.in>
  References: <3F013C85.2060202@pe-muc.de> <200307011318.00824.shridhar_daithankar@nospam.persistent.co.in>

* 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