pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Hemant Pandey <hemant.pandey@flextronicssoftware.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to optimize Postgres Database
Date: Sun, 4 Sep 2005 10:39:51 -0400
Message-ID: <20050904143951.GB11842@surnet.cl> (raw)
In-Reply-To: <OFCA90892F.2814F789-ON6525706D.0016AE27-6525706D.00186443@flextronicssoftware.com>
References: <OFCA90892F.2814F789-ON6525706D.0016AE27-6525706D.00186443@flextronicssoftware.com>

On Tue, Aug 30, 2005 at 09:45:52AM +0530, Hemant Pandey wrote:

>             I am running an application, which connects to the postgres
> database at initialization time and perform the database operations like
> Select/Update.
> Database queries are very simple.
> On analyzing my application through Quantifier( Performance analyzing
> tool), I found the most of the time my application is waiting on recv,
> waiting for Database response.
> When i run Vacuum on perticular tables, i observed that performance
> improoves drastically.

Looks like you aren't doing the appropiate regular maintenance tasks.
Please have a look at the manual,

http://www.postgresql.org/docs/8.0/static/maintenance.html

For further performance tuning, have a look at

http://www.powerpostgresql.com/PerfList

-- 
Alvaro Herrera -- Valdivia, Chile         Architect, www.EnterpriseDB.com
"There is evil in the world. There are dark, awful things. Occasionally, we get
a glimpse of them. But there are dark corners; horrors almost impossible to
imagine... even in our worst nightmares." (Van Helsing, Dracula A.D. 1972)



view thread (2+ messages)

Message-ID: <20050904143951.GB11842@surnet.cl>
Permalink:  ../20050904143951.GB11842@surnet.cl/
Also on:    postgresql.org/message-id/20050904143951.GB11842@surnet.cl

 · 

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-admin@postgresql.org
  Cc: alvherre@alvh.no-ip.org, hemant.pandey@flextronicssoftware.com
  Subject: Re: How to optimize Postgres Database
  In-Reply-To: <20050904143951.GB11842@surnet.cl>
  References: <OFCA90892F.2814F789-ON6525706D.0016AE27-6525706D.00186443@flextronicssoftware.com> <20050904143951.GB11842@surnet.cl>

* 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