Re: Help writing a query to predict auto analyze - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Help writing a query to predict auto analyze
Date
Msg-id 1274286200-sup-5365@alvh.no-ip.org
Whole thread Raw
In response to Help writing a query to predict auto analyze  (Gordon Shannon <gordo169@gmail.com>)
Responses Re: Help writing a query to predict auto analyze  (Gordon Shannon <gordo169@gmail.com>)
List pgsql-general
Excerpts from Gordon Shannon's message of mié may 19 11:49:45 -0400 2010:

> at: last analysis tuples = pg_class.reltuples ????
>
> I'm the least confident about the last one -- tuples as of last analyze.
> Can anyone confirm or correct these?

In 8.4 it's number of dead + lives tuples that there were in the previous
analyze.  See pgstat_recv_analyze in src/backend/postmaster/pgstat.c.
(In 9.0 it's been reworked a bit.)
--

pgsql-general by date:

Previous
From: Gordon Shannon
Date:
Subject: Help writing a query to predict auto analyze
Next
From: "Scot Kreienkamp"
Date:
Subject: CIDR data type query help