From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Mamin <M.Mamin@intershop.de>
Cc: 'pgsql-performance@postgresql.org' <pgsql-performance@postgresql.org>
Subject: Re: gin performance issue.
Date: Fri, 05 Feb 2016 10:07:17 -0500
Message-ID: <12466.1454684837@sss.pgh.pa.us> (raw)
In-Reply-To: <B6F6FD62F2624C4C9916AC0175D56D88420DF8BA@jenmbs01.ad.intershop.net>
References: <B6F6FD62F2624C4C9916AC0175D56D88420DF8BA@jenmbs01.ad.intershop.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
Marc Mamin <M.Mamin@intershop.de> writes:
> http://explain.depesz.com/s/wKv7
> Postgres Version 9.3.10 (Linux)
> Hello,
> this is a large daily table that only get bulk inserts (200-400 /days) with no update.
> After rebuilding the whole table, the Bitmap Index Scan on r_20160204_ix_toprid falls under 1 second (from 800)
> Fastupdate is using the default, but autovacuum is disabled on that table which contains 30 Mio rows.
Pre-9.5, it's a pretty bad idea to disable autovacuum on a GIN index,
because then the "pending list" only gets flushed when it exceeds
work_mem. (Obviously, using a large work_mem setting makes this worse.)
regards, tom lane
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, M.Mamin@intershop.de
Subject: Re: gin performance issue.
In-Reply-To: <12466.1454684837@sss.pgh.pa.us>
* 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