Re: pg_advisor schema proof of concept
От | Fabien COELHO |
---|---|
Тема | Re: pg_advisor schema proof of concept |
Дата | |
Msg-id | Pine.LNX.4.58.0403251726280.7217@sablons.cri.ensmp.fr обсуждение исходный текст |
Ответ на | Re: pg_advisor schema proof of concept (Josh Berkus <josh@agliodbs.com>) |
Ответы |
Re: pg_advisor schema proof of concept
|
Список | pgsql-hackers |
> > 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. Sure. That's why advices are "graded" from info to error in the current preliminary version. Advices that may or may not be good depending on undecidable elements have a lower grade. For instance, most attributes should be "NOT NULL" from a statistical point of view, but it is perfectly legitimate to have nullable attributes mostly anywhere, so the corresponding advices is just an "info". -- Fabien Coelho - coelho@cri.ensmp.fr
В списке pgsql-hackers по дате отправления: