pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Fabio Esposito <nfesposi@sourceweave.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgres eating CPU on HP9000
Date: Fri, 26 Mar 2004 16:26:02 -0800
Message-ID: <200403261626.02845.josh@agliodbs.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0403261902340.20271-100000@cr818510-a.basement>
References: <Pine.LNX.4.44.0403261902340.20271-100000@cr818510-a.basement>

Fabio,

> I'll have to get back to you on that, but I'm 90% sure its the default out
> of the box.

Raise it, a lot.   Perhaps to 30,000 or 50,000.   VACUUM VERBOSE ANALYZE 
should show you how many data pages are being reclaimed between vacuums.

Because of your very high rate of updates and deletes, you need to hold a lot 
of data pages open.

You would also benefit a great deal by upgrading to 7.4.   7.3 will require 
you to to REINDEXes several times a day with your current setup; 7.4 will 
not.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (18+ messages)  latest in thread

Message-ID: <200403261626.02845.josh@agliodbs.com>
Permalink:  ../200403261626.02845.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200403261626.02845.josh@agliodbs.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, nfesposi@sourceweave.net
  Subject: Re: postgres eating CPU on HP9000
  In-Reply-To: <200403261626.02845.josh@agliodbs.com>

* 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