From: | Andrew - Supernews <andrew+nonews(at)supernews(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Server instrumentation for 8.1 |
Date: | 2005-05-11 21:53:35 |
Message-ID: | slrnd84vmv.1c8o.andrew+nonews@trinity.supernews.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2005-05-11, "Jim C. Nasby" <decibel(at)decibel(dot)org> wrote:
> On Wed, May 11, 2005 at 04:44:21PM +0000, Andreas Pflug wrote:
>> There's still a lengthy discussion going on whether it's a good idea to
>> add a forth way to read pgsql's schema (pg_* tables, pg_* views,
>> information_schema, did I miss one?), but I'd like to see helper
>> functions for issues *not* covered in the core package.
>>
>> - dbsize has been in contrib for a long time, though it appears to me as
>> quite a basic functionality to find out about storage needs.
>
> FWIW, I believe the new system views cover all the dbsize cases.
dbsize looks at the actual size of files on disk; newsysviews does not,
it shows estimated sizes as taken from relpages. newsysviews doesn't
allow you to see size info for databases you're not connected to.
However, newsysviews knows about toast tables, and gives a breakdown of
table size by main storage, toast and index.
--
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2005-05-11 21:55:46 | Re: New Contrib Build? |
Previous Message | Joshua D. Drake | 2005-05-11 21:52:44 | Re: New Contrib Build? |