pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar@frodo.hserus.net>
To: gbarosio@uolsinectis.com.ar
Cc: pgsql-performance@postgresql.org
Subject: Re: slower every day
Date: Wed, 1 Sep 2004 15:55:36 +0530
Message-ID: <200409011555.36879.shridhar@frodo.hserus.net> (raw)
In-Reply-To: <20040901100622.501786C4EA@tino.sinectis.com.ar>
References: <20040901100622.501786C4EA@tino.sinectis.com.ar>

On Wednesday 01 Sep 2004 3:36 pm, G u i d o B a r o s i o wrote:
> Dear all,
>
>   I am currently experiencing troubles with the performance of my
> critical's database.
>
>   The problem is the time that the postgres takes to perform/return a
> query. For example, trying the \d <tablename> command takes between 4 or 5
> seconds. This table is very big, but I am not asking for the rows, only
> asking the table schema, so...why is this so slow?!?!? My last
> administrative action into this table was a reindex to all the indexes via
> the BKI in standalone mode. I thought I suceed, but this was las saturday.
> Today I am in the same situation again.

Is this database vacuumed and analyzed recently? I would suggest database-wide 
vacuum full analyze.

If your queries are getting slower, then checking the explain analyze output 
is a good starting point. To see queries issued by psql, start it as psql -E.

HTH

 Shridhar



view thread (8+ messages)  latest in thread

Message-ID: <200409011555.36879.shridhar@frodo.hserus.net>
Permalink:  ../200409011555.36879.shridhar@frodo.hserus.net/
Also on:    postgresql.org/message-id/200409011555.36879.shridhar@frodo.hserus.net

 · 

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: shridhar@frodo.hserus.net, gbarosio@uolsinectis.com.ar
  Subject: Re: slower every day
  In-Reply-To: <200409011555.36879.shridhar@frodo.hserus.net>

* 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