pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Mascari <mascarm@mascari.com>
To: William Yu <wyu@talisys.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Low Performance for big hospital server ..
Date: Mon, 03 Jan 2005 03:51:42 -0500
Message-ID: <41D9079E.5020104@mascari.com> (raw)
In-Reply-To: <crb01v$hp4$1@news.hub.org>
References: <1104634472.41d762681b548@webmail.moph.go.th>
	<20050102140828.GA21826@pobox.com>
	<1104683293.41d8211d62221@webmail.moph.go.th>
	<41D827C1.3050707@fastcrypt.com>
	<1104717243.41d8a5bb9cb9b@webmail.moph.go.th>
	<crb01v$hp4$1@news.hub.org>

William Yu wrote:
> amrit@health2.moph.go.th wrote:
>> Yes , vacuumdb daily.
> 
> Do you vacuum table by table or the entire DB? I find over time, the 
> system tables can get very bloated and cause a lot of slowdowns just due 
> to schema queries/updates. You might want to try a VACUUM FULL ANALYZE 
> just on the system tables.

A REINDEX of the system tables in stand-alone mode might also be in 
order, even for a 7.4.x database:

http://www.postgresql.org/docs/7.4/interactive/sql-reindex.html

If a dump-reload-analyze cycle yields significant performance 
improvements then we know it's due to dead-tuple bloat - either heap 
tuples or index tuples.

Mike Mascari




view thread (38+ messages)  latest in thread

Message-ID: <41D9079E.5020104@mascari.com>
Permalink:  ../41D9079E.5020104@mascari.com/
Also on:    postgresql.org/message-id/41D9079E.5020104@mascari.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: mascarm@mascari.com, wyu@talisys.com
  Subject: Re: Low Performance for big hospital server ..
  In-Reply-To: <41D9079E.5020104@mascari.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