On Mon, Dec 19, 2011 at 17:30, Sushant Sinha <sushant...@gmail.com> wrote: > This never happened earlier with postgres 9.0 Is there a known issue > with Postgres 9.1? Or how to report this problem?
What *did* change in 9.1 is that there's new GIN cost estimation in the planner. If you do EXPLAIN ANALYZE for your queries, do the plans differ for 9.0 or 9.1? E.g. doing an index scan instead of a seq scan or vice versa. > The query uses the gin index and the tsearch ranking function > ts_rank_cd. Another thought -- have you read about the GIN "fast updates" feature? This existed in 9.0 too. Instead of updating the index directly, GIN appends all changes to a sequential list, which needs to be scanned in whole for read queries. The periodic autovacuum process has to merge these values back into the index. Maybe the solution is to tune autovacuum to run more often on the table. http://www.postgresql.org/docs/9.1/static/gin-implementation.html Regards, Marti -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers