From: Michael Shapiro <mshapiro@ncsa.edu>
To: pgsql-performance@postgresql.org
Subject: Re: PgAdmin startup query VERY slow
Date: Tue, 06 Jan 2004 15:31:29 -0600
Message-ID: <5.2.0.9.2.20040106152859.02a17ea8@pop.ncsa.uiuc.edu> (raw)
In-Reply-To: <200401061301.43954.josh@agliodbs.com>
References: <5.2.0.9.2.20040106144745.00bcfe30@pop.ncsa.uiuc.edu>
<5.2.0.9.2.20040106144745.00bcfe30@pop.ncsa.uiuc.edu>
That seemed to fix it. What does VACUUM ANALYZE do that VACUUM FULL does
not? What causes a database to need vacuuming?
At 01:01 PM 1/6/2004 -0800, Josh Berkus wrote:
>Michael,
>
> > With a particular database, PgAdmin3 takes a very long time to connect
> to a
> > database. this is not a general problem with PgAdmin, but only with one
> > database out of many. Other databases do not have the problem. And only
> > with one particular server. The exact same database on a different server
> > does not have the problem.
>
>Have you run VACUUM ANALYZE *as the superuser* on the faulty server
>recently?
> >From the look of the explain, PG is grossly underestimating the number of
>items in the pg_trigger and pg_depend tables, and thus choosing an
>inappropriate nested loop execution.
>
>--
>-Josh Berkus
> Aglio Database Solutions
> San Francisco
---
Michael
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mshapiro@ncsa.edu
Subject: Re: PgAdmin startup query VERY slow
In-Reply-To: <5.2.0.9.2.20040106152859.02a17ea8@pop.ncsa.uiuc.edu>
References: <5.2.0.9.2.20040106144745.00bcfe30@pop.ncsa.uiuc.edu> <5.2.0.9.2.20040106152859.02a17ea8@pop.ncsa.uiuc.edu>
* 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