pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Bryce Nesbitt <bryce2@obviously.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats
Date: Fri, 6 Mar 2015 11:19:34 -0300
Message-ID: <20150306141934.GX3291@alvh.no-ip.org> (raw)
In-Reply-To: <CAC9LFPer9Nr3LOX4XtT3mSsSuGti90oHBaDLeV9dxo-HFguojA@mail.gmail.com>
References: <20150305181432.2529.76377@wrigleys.postgresql.org>
	<28362.1425579781@sss.pgh.pa.us>
	<CAC9LFPenveGXu7YhOv6L6fmmhN6NFq3L23aQsts+JKLbsaDvkQ@mail.gmail.com>
	<20150305194457.GU3291@alvh.no-ip.org>
	<CAC9LFPer9Nr3LOX4XtT3mSsSuGti90oHBaDLeV9dxo-HFguojA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Bryce Nesbitt wrote:

> That all sounded really reasonable.    So I checked into turning off vac
> for this particular laptop
> and discovered:
> 
> /etc/postgresql/9.3/main/postgresql.conf
> #autovacuum = on
> #autovacuum_naptime = 1min
> 
> (At Ubuntu's default).

You need to uncomment and set off.

> So autovacuum is *not the droid we're looking for...*

Use "SHOW autovacuum" in psql to avoid being confounded by
mind-controlling superpowers.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
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 (12+ messages)  latest in thread

Message-ID: <20150306141934.GX3291@alvh.no-ip.org>
Permalink:  ../20150306141934.GX3291@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20150306141934.GX3291@alvh.no-ip.org

 · 

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: alvherre@2ndquadrant.com, bryce2@obviously.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #12834: Avoiding Disk Control Writes for better Laptop / SSD compatibility. pgstats
  In-Reply-To: <20150306141934.GX3291@alvh.no-ip.org>
  References: <20150305181432.2529.76377@wrigleys.postgresql.org> <28362.1425579781@sss.pgh.pa.us> <CAC9LFPenveGXu7YhOv6L6fmmhN6NFq3L23aQsts+JKLbsaDvkQ@mail.gmail.com> <20150305194457.GU3291@alvh.no-ip.org> <CAC9LFPer9Nr3LOX4XtT3mSsSuGti90oHBaDLeV9dxo-HFguojA@mail.gmail.com> <20150306141934.GX3291@alvh.no-ip.org>

* 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