pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Update on high concurrency OLTP application and Postgres 8 tuning
Date: Wed, 20 Sep 2006 07:07:31 -0400
Message-ID: <20060920110731.GB18219@phlogiston.dyndns.org> (raw)
In-Reply-To: <45110543.6020501@streppone.it>
References: <45110543.6020501@streppone.it>

On Wed, Sep 20, 2006 at 11:09:23AM +0200, Cosimo Streppone wrote:
> 
> I scheduled a cron job every hour or so that runs an analyze on the
> 4/5 most intensive relations and sleeps 30 seconds between every
> analyze.
> 
> This has optimized db response times when many clients run together.
> I wanted to report this, maybe it can be helpful for others
> out there... :-)

This suggests to me that your statistics need a lot of updating.  You
_might_ find that setting the statistics to a higher number on some
columns of some of your tables will allow you to analyse less
frequently.  That's a good thing just because ANALYSE will impose an
I/O load.

A 

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
A certain description of men are for getting out of debt, yet are
against all taxes for raising money to pay it off.
		--Alexander Hamilton



view thread (5+ messages)  latest in thread

Message-ID: <20060920110731.GB18219@phlogiston.dyndns.org>
Permalink:  ../20060920110731.GB18219@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20060920110731.GB18219@phlogiston.dyndns.org

 · 

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: ajs@crankycanuck.ca
  Subject: Re: Update on high concurrency OLTP application and Postgres 8 tuning
  In-Reply-To: <20060920110731.GB18219@phlogiston.dyndns.org>
  References: <45110543.6020501@streppone.it> <20060920110731.GB18219@phlogiston.dyndns.org>

* 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