Re: pg_advisor schema proof of concept - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: pg_advisor schema proof of concept
Date
Msg-id 200403250819.09420.josh@agliodbs.com
Whole thread Raw
In response to pg_advisor schema proof of concept  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pg_advisor schema proof of concept
List pgsql-hackers
Fabien, Christopher:

It would be nice for pgAdmin & PhpPgAdmin to have GUI interfaces to 
pg_advisor, though.

Also, I would argue for this to be a GBorg/pgFoundry project rather than part 
of the core.  It's the sort of thing that could easily be database-version 
agnostic, and that SQL jockeys who are not Hackers could contribute to.

> Also, if they have a partial index on the FK, it's not good enough!  In
> CVS, IS NOT NULL partial indexes should be used, but in general all
> others still won't...

Whoa, there, partner!   Keep in mind that there are *often* reasons for using 
a partial index on an FK, or even no index at all!  The docs for pg_advisor 
need to reflect that it only catches little details the developer might 
otherwise have missed.   It's not smarter than a DBA.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: < operator for user-defined types
Next
From: Fabien COELHO
Date:
Subject: Re: pg_advisor schema proof of concept