pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Benjamin Minshall <minshall@intellicon.biz>
Cc: pgsql-performance@postgresql.org
Subject: Re: stats collector process high CPU utilization
Date: Thu, 08 Feb 2007 21:04:32 -0500
Message-ID: <7959.1170986672@sss.pgh.pa.us> (raw)
In-Reply-To: <45CBA443.9090101@intellicon.biz>
References: <45CB5441.1040707@intellicon.biz>
	<21013.1170955076@sss.pgh.pa.us>
	<45CB5D06.7090004@intellicon.biz>
	<7994.1170960391@sss.pgh.pa.us>
	<45CB9330.3000603@intellicon.biz>
	<19935.1170969862@sss.pgh.pa.us>
	<45CB9C4D.30902@intellicon.biz>
	<20601.1170972476@sss.pgh.pa.us>
	<45CBA443.9090101@intellicon.biz>

Benjamin Minshall <minshall@intellicon.biz> writes:
> Tom Lane wrote:
>> How many tables are visible in the pg_stats views?

> There are about 15 databases in the cluster each with around 90 tables. 
>   A count of pg_stats yields between 500 and 800 rows in each database.

Sorry, I was imprecise.  The view "pg_stats" doesn't have anything to do
with the stats collector; what I was interested in was the contents of
the "pg_stat_xxx" and "pg_statio_xxx" views.  It'd be enough to check
pg_stat_all_indexes and pg_stat_all_tables, probably.  Also, do you have
the 8.1 installation still available to get the comparable counts there?

			regards, tom lane



view thread (27+ messages)  latest in thread

Message-ID: <7959.1170986672@sss.pgh.pa.us>
Permalink:  ../7959.1170986672@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7959.1170986672@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, minshall@intellicon.biz
  Subject: Re: stats collector process high CPU utilization
  In-Reply-To: <7959.1170986672@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