Re: PgAdmin startup query VERY slow

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Michael Shapiro <mshapiro(at)ncsa(dot)edu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: PgAdmin startup query VERY slow
Date: 2004-01-06 21:01:43
Message-ID: 200401061301.43954.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2004-01-06 21:17:30 Re: PgAdmin startup query VERY slow
Previous Message Michael Shapiro 2004-01-06 20:49:16 PgAdmin startup query VERY slow