Re: PgAdmin 3 startup - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: PgAdmin 3 startup
Date
Msg-id 3FF0ADF2.3030103@pse-consulting.de
Whole thread Raw
In response to PgAdmin 3 startup  (Michael Shapiro <mshapiro@ncsa.edu>)
List pgadmin-support
Michael Shapiro wrote:

> I have downloaded the latest snapshot of pgadmin3 
> (pgadmin3-20031228-Win32.zip) and connected to a database. PgAmin 
> takes 150 seconds to complete its startup.
>
>2003-12-29 15:16:26 QUERY  : Scalar query (delphi:5432): 
>

SELECT COUNT(*) FROM(SELECT tgargs from pg_trigger trLEFT JOIN pg_depend dep ON dep.objid=tr.oid AND deptype = 'i'LEFT
JOINpg_constraint co ON refobjid = co.oid AND contype = 'f'WHERE co.oid IS NULLGROUP BY tgargs
 
HAVING count(1) = 3) AS foo


>2003-12-29 15:16:26 QUERY  : DEBUG:  StartTransactionCommand
>
>2003-12-29 15:18:52 QUERY  : DEBUG:  CommitTransactionCommand
>
>2003-12-29 15:18:52 QUERY  : Query result: 0
>  
>
Apparently this query is the offending one. It really should finish 
quite fast.
I wonder if you a) have a lot of unmigrated constraint triggers and/or 
b) a lot of tables and never vacuumed the system tables.
Please check this and give some feedback.

Regards,
Andreas




pgadmin-support by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pgadmin bug
Next
From: vidhya baskaran
Date:
Subject: switching postgres from windows to linux