Re: \d very, very, very slow

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Atkins <steve(at)blighty(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: \d very, very, very slow
Date: 2002-08-04 05:51:55
Message-ID: 7813.1028440315@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Atkins <steve(at)blighty(dot)com> writes:
> So is 15-20 seconds for \d unusual?

Very.

> If so, where should I start looking to see what's broken?

Well, what query plans are used for the queries issued by \d on each
of your two boxes? Have you done ANALYZE or VACUUM ANALYZE lately?
(Out-of-date stats about the system tables might lead the planner to
make a stupid choice of query plan.)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2002-08-04 06:05:40 \d very, very, very slow
Previous Message Thomas Lockhart 2002-08-04 05:50:19 Re: CVS problem