Re: Unused index influencing sequential scan plan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Geoghegan <peter@xxxxxxxxxxxxxxx> writes:
> Is there a case to be made for a index access method whose
> pseudo-indexes costs essentially nothing to maintain, and simply
> represent an ongoing obligation for ANALYZE to provide statistics for
> an expression?

If we were going to support it, I think we'd be better off exposing such
a feature as DDL having nothing to do with indexes.  Not sure it's worth
the trouble though.  The ANALYZE wart to compute stats for index
expressions has been there a long time, and there's been essentially
zero field demand for another way to do it.  What people really seem to
care about is more intelligence about making use of expression indexes
to avoid recalculation of the expression --- something you'd not get
from a stats-only feature.

			regards, tom lane


-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux