From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: psuderevsky@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14863: wrong reltuples statistics after vacuum without analyze
Date: Fri, 20 Oct 2017 01:58:52 +0200
Message-ID: <20171019235852.wp46idtnulgh5bx2@alvherre.pgsql> (raw)
In-Reply-To: <20171019231424.1471.72772@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
psuderevsky@gmail.com wrote:
> I've faced strange behaviour of statistics state after (auto)VACUUM
> execution without ANALYZE. While ANALYZE operation makes statistics good,
> VACUUM breaks it to inconsistent state.
This may or may not be the same issue Tomas Vondra reported recently; see
https://www.postgresql.org/message-id/94f58897-861b-accf-a9f1-af4be816c0d3@2ndquadrant.com
where he posted a patch to fix the problem. Would you test that and see
if it solves the problem for you?
--
Álvaro Herrera https://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
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@alvh.no-ip.org, psuderevsky@gmail.com
Subject: Re: BUG #14863: wrong reltuples statistics after vacuum without analyze
In-Reply-To: <20171019235852.wp46idtnulgh5bx2@alvherre.pgsql>
References: <20171019231424.1471.72772@wrigleys.postgresql.org> <20171019235852.wp46idtnulgh5bx2@alvherre.pgsql>
* 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