pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Miller <joe.d.miller@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Auto ANALYZE criteria
Date: Tue, 21 Sep 2010 16:44:20 -0400
Message-ID: <8963.1285101860@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTim9VeQUSm8WXVryZkRRvsncWWs+yzK4uOzibGy4@mail.gmail.com>
References: <AANLkTi=W02Lcn63qqxoP9jjQ0CJ8wZfCJkKV7fry7CP=@mail.gmail.com>
	<21216.1285035151@sss.pgh.pa.us>
	<AANLkTim9VeQUSm8WXVryZkRRvsncWWs+yzK4uOzibGy4@mail.gmail.com>

Joe Miller <joe.d.miller@gmail.com> writes:
> I was looking at the autovacuum documentation:
> http://www.postgresql.org/docs/9.0/interactive/routine-vacuuming.html#AUTOVACUUM

>    For analyze, a similar condition is used: the threshold, defined as:
>    analyze threshold = analyze base threshold + analyze scale factor *
> number of tuples
>    is compared to the total number of tuples inserted or updated since
> the last ANALYZE.

> I guess that should be updated to read "insert, updated or deleted".

Mph.  We caught the other places where the docs explain what the analyze
threshold is, but missed that one.  Fixed, thanks for pointing it out.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <8963.1285101860@sss.pgh.pa.us>
Permalink:  ../8963.1285101860@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8963.1285101860@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, joe.d.miller@gmail.com
  Subject: Re: Auto ANALYZE criteria
  In-Reply-To: <8963.1285101860@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