pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: veem v <veema0000@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: When manual analyze is needed
Date: Sun, 03 Mar 2024 23:31:11 -0500
Message-ID: <3494986.1709526671@sss.pgh.pa.us> (raw)
In-Reply-To: <b7aeea8a2f84a11b330137bf8849a0fc1e88ffee.camel@cybertec.at>
References: <CAB+=1TWsJHEfZmfUp_7KSt04dTJhAf4A3m9moiaJrS-hwCyq8Q@mail.gmail.com>
	<b7aeea8a2f84a11b330137bf8849a0fc1e88ffee.camel@cybertec.at>

Laurenz Albe <laurenz.albe@cybertec.at> writes:
> The only things that require manual ANALYZE are
> ...

You missed one important exception: autovacuum/autoanalyze cannot
process temporary tables, because those are not accessible outside
the owning session.  So you need to do those manually if it's
important for performance.

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <3494986.1709526671@sss.pgh.pa.us>
Permalink:  ../3494986.1709526671@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3494986.1709526671@sss.pgh.pa.us

 · 

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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at, veema0000@gmail.com
  Subject: Re: When manual analyze is needed
  In-Reply-To: <3494986.1709526671@sss.pgh.pa.us>
  References: <CAB+=1TWsJHEfZmfUp_7KSt04dTJhAf4A3m9moiaJrS-hwCyq8Q@mail.gmail.com> <b7aeea8a2f84a11b330137bf8849a0fc1e88ffee.camel@cybertec.at> <3494986.1709526671@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