Re: Postgres 9.1: Adding rows to table causing too much latency in other queries

From: Sushant Sinha <sushant354(at)gmail(dot)com>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Postgres 9.1: Adding rows to table causing too much latency in other queries
Date: 2011-12-19 17:43:39
Message-ID: 1324316619.1844.11.camel@dragflick
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sushant Sinha 2011-12-19 17:49:47 Re: Postgres 9.1: Adding rows to table causing too much latency in other queries
Previous Message Stephen Frost 2011-12-19 17:13:50 Re: Page Checksums