pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Gould <daveg@sonic.net>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jim Nasby <Jim.Nasby@BlueTreble.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Cc: Josh Berkus <josh@agliodbs.com>
Subject: Re: BUG #13750: Autovacuum slows down with large numbers of tables. More workers makes it slower.
Date: Sat, 19 Mar 2016 01:12:21 -0700
Message-ID: <20160319011221.1b2fbc45@engels> (raw)
In-Reply-To: <20160318221317.GA182976@alvherre.pgsql>
References: <20160318150818.32982178@engels>
	<20160318221317.GA182976@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Fri, 18 Mar 2016 19:13:17 -0300
Alvaro Herrera <alvherre@2ndquadrant.com> wrote:

> David Gould wrote:
> 
> > I have some thoughts for a different approach. In short, the stats collector
> > actually knows what needs vacuuming because queries that create dead tuples
> > tell it. I'm considering have the stats collector maintain a queue of
> > vacuum work and that autovacuum request work from the stats collector. When I
> > have something more concrete I'll post it on hackers.
> 
> Hm, ideally we would have something backpatchable, but this new idea
> doesn't sound so to me.  I think that having some variant of the patch
> you proposed previously would be better for the stable branches.

Sorry for the alarm. My plan is to update the current patch to address the
problem you described. This is intended to be backpatchable. The other
thoughts would be for new development for a future release.

-dg

-- 
David Gould              510 282 0869         daveg@sonic.net
If simplicity worked, the world would be overrun with insects.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (38+ messages)  latest in thread

Message-ID: <20160319011221.1b2fbc45@engels>
Permalink:  ../20160319011221.1b2fbc45@engels/
Also on:    postgresql.org/message-id/20160319011221.1b2fbc45@engels

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: daveg@sonic.net, alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, Jim.Nasby@BlueTreble.com, jeff.janes@gmail.com, josh@agliodbs.com
  Subject: Re: BUG #13750: Autovacuum slows down with large numbers of tables. More workers makes it slower.
  In-Reply-To: <20160319011221.1b2fbc45@engels>
  References: <20160318150818.32982178@engels> <20160318221317.GA182976@alvherre.pgsql> <20160319011221.1b2fbc45@engels>

* 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