Re: Postgres 9.1: Adding rows to table causing too much latency in other queries - Mailing list pgsql-hackers

From Sushant Sinha
Subject Re: Postgres 9.1: Adding rows to table causing too much latency in other queries
Date
Msg-id 1324316619.1844.11.camel@dragflick
Whole thread Raw
In response to Re: Postgres 9.1: Adding rows to table causing too much latency in other queries  (Marti Raudsepp <marti@juffo.org>)
List pgsql-hackers
On Mon, 2011-12-19 at 19:08 +0200, Marti Raudsepp wrote:
> 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 

Probably this is the problem. Is running "vacuum analyze" under psql is
the same as "autovacuum"?

-Sushant.



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Page Checksums
Next
From: Sushant Sinha
Date:
Subject: Re: Postgres 9.1: Adding rows to table causing too much latency in other queries