Re: slower every day

From: Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net>
To: gbarosio(at)uolsinectis(dot)com(dot)ar
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: slower every day
Date: 2004-09-01 10:25:36
Message-ID: 200409011555.36879.shridhar@frodo.hserus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2004-09-01 10:28:48 Re: slower every day
Previous Message G u i d o B a r o s i o 2004-09-01 10:06:22 slower every day

Browse pgsql-performance by date

  From Date Subject
Next Message Peter Eisentraut 2004-09-01 10:28:48 Re: slower every day
Previous Message G u i d o B a r o s i o 2004-09-01 10:06:22 slower every day