pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Michael Lewis <mlewis@entrata.com>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Kristjan Mustkivi <sonicmonkey@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: Postgres chooses slow query plan from time to time
Date: Mon, 13 Sep 2021 09:22:49 -0500
Message-ID: <20210913142249.GP26465@telsasoft.com> (raw)
In-Reply-To: <CAHOFxGp3+81AOQ6FjD9n+YNGHz2nYWF+QTdz1t_exVzvo6_EJA@mail.gmail.com>
References: <CAOQPKavhdTrgQo8Uss0M+K0Du+_WYmdoGyMpC0hJQkKM+-X25Q@mail.gmail.com>
	<31c01752-c4d6-7751-9d25-b1fac8f3a7aa@enterprisedb.com>
	<CAHOFxGp3+81AOQ6FjD9n+YNGHz2nYWF+QTdz1t_exVzvo6_EJA@mail.gmail.com>

On Mon, Sep 13, 2021 at 08:19:40AM -0600, Michael Lewis wrote:
> Autovacuum will only run for freezing, right? Insert only tables don't get
> autovacuumed/analyzed until PG13 if I remember right.

Tomas is talking about autovacuum running *analyze*, not vacuum.

It runs for analyze, except on partitioned tables and (empty) inheritence
parents.

-- 
Justin





view thread (19+ messages)  latest in thread

Message-ID: <20210913142249.GP26465@telsasoft.com>
Permalink:  ../20210913142249.GP26465@telsasoft.com/
Also on:    postgresql.org/message-id/20210913142249.GP26465@telsasoft.com

 · 

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-performance@postgresql.org
  Cc: pryzby@telsasoft.com, mlewis@entrata.com, tomas.vondra@enterprisedb.com, sonicmonkey@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: Postgres chooses slow query plan from time to time
  In-Reply-To: <20210913142249.GP26465@telsasoft.com>

* 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