From: David B <postgresql@thegatelys.com>
To: pgsql-sql@postgresql.org
Subject: Row counts/data changes. Any catalog table that has this info?
Date: Thu, 19 Feb 2004 18:35:43 -0800
Message-ID: <GOEGKICPFOPNLIEIHGFJEEOPCHAA.postgresql@thegatelys.com> (raw)
Folks,
Is there a catalog table or location where I can go to find data counts for
tables?
It would be nice if I could do a query which returned something like:
table_name #Rows
cust 1000
order 5000
order_detail 9500
without having to have the overhead of querying each table in turn.
If there is such a source then is it accurate as of now or last vacuum or
???
On a related note...any location where I can see the most recent date a
table was changed (insert/update/delete).
Tx in advance...
D
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
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-sql@postgresql.org
Cc: postgresql@thegatelys.com
Subject: Re: Row counts/data changes. Any catalog table that has this info?
In-Reply-To: <GOEGKICPFOPNLIEIHGFJEEOPCHAA.postgresql@thegatelys.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