Re: How to optimize Postgres Database

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Hemant Pandey <hemant(dot)pandey(at)flextronicssoftware(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to optimize Postgres Database
Date: 2005-09-04 14:39:51
Message-ID: 20050904143951.GB11842@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message huaxin zhang 2005-09-05 00:00:21 statistics not shown up
Previous Message Robert Treat 2005-09-03 14:01:16 Re: VACUMM problem