Re: How to remove a table statistics ? - Mailing list pgsql-performance

From Robert Haas
Subject Re: How to remove a table statistics ?
Date
Msg-id CA+Tgmobj8TiGvqyKm5tDfEDwRESPmF+5-=LVoKiApj_ZxJF_DA@mail.gmail.com
Whole thread Raw
In response to Re: How to remove a table statistics ?  ("Marc Mamin" <M.Mamin@intershop.de>)
List pgsql-performance
On Tue, Jan 31, 2012 at 2:36 PM, Marc Mamin <M.Mamin@intershop.de> wrote:
> But this raises an interesting question on how/where does Postgres store statistics on functional indexes.
> in pg_statistics there are information on the column content, but I couldn't find stats on the function result which
isfully computed only during the index creation. 

Look for rows where starelid is equal to the OID of the index.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: How to improve insert speed with index on text column
Next
From: Cédric Villemain
Date:
Subject: Re: wal_level=archive gives better performance than minimal - why?