pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teodor Sigaev <teodor@sigaev.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeff Davis <pgsql@j-davis.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [PATCHES] GIN improvements
Date: Wed, 11 Feb 2009 17:53:36 +0300
Message-ID: <4992E670.5010507@sigaev.ru> (raw)
In-Reply-To: <20441.1234209245@sss.pgh.pa.us>
References: <483FD205.4090904@sigaev.ru>
	<1232348905.7281.114.camel@jdavis>
	<4974B002.3040202@sigaev.ru>
	<1232474489.23316.8.camel@jdavis>
	<49770FD4.5030600@sigaev.ru>
	<1232561271.23793.46.camel@jdavis>
	<497864DC.5080800@sigaev.ru>
	<4979BAF8.1000501@sigaev.ru>
	<16080.1233625091@sss.pgh.pa.us>
	<1233772747.3805.2.camel@dell.linuxdev.us.dell.com>
	<603c8f070902041140h35c2aeo8c4ed79cd16400f8@mail.gmail.com>
	<1233782589.3805.12.camel@dell.linuxdev.us.dell.com>
	<20441.1234209245@sss.pgh.pa.us>

> But the real bottom line is: if autovacuum is working properly, it
> should clean up the index before the list ever gets to the point where
> it'd be sane to turn off indexscans.  So I don't see why we need to hack
> the planner for this at all.  If any hacking is needed, it should be
> in the direction of making sure autovacuum puts sufficient priority
> on this task.

Autovacuum will start if table has GIN index with fastupdate=on and number of 
inserted tuple since last vacuum > autovacuum_vacuum_threshold.
-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/



view thread (74+ messages)

Message-ID: <4992E670.5010507@sigaev.ru>
Permalink:  ../4992E670.5010507@sigaev.ru/
Also on:    postgresql.org/message-id/4992E670.5010507@sigaev.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-patches@postgresql.org
  Cc: teodor@sigaev.ru, tgl@sss.pgh.pa.us, pgsql@j-davis.com, robertmhaas@gmail.com, heikki.linnakangas@enterprisedb.com, pgsql-hackers@postgresql.org
  Subject: Re: [PATCHES] GIN improvements
  In-Reply-To: <4992E670.5010507@sigaev.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox