Skip site navigation (1) Skip section navigation (2)

dbsize patch

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Subject: dbsize patch
Date: 2005-01-25 23:49:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
The attached dbsize patch:

	+ makes relation_size(relname) include toast tables;
	+ adds aggregate_relation_size(relname) to count table data and indices;
	+ adds indices_size(relname) to report the size of indices for a relation;

I've minimally tested it against PostgreSQL 8.1devel on i686-pc-linux-gnu, 
compiled by GCC gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5).


Attachment: dbsize.diff
Description: text/x-diff (8.9 KB)


pgsql-patches by date

Next:From: Stephen FrostDate: 2005-01-26 01:52:14
Subject: Re: [PATCHES] Merge pg_shadow && pg_group -- UNTESTED
Previous:From: Tom LaneDate: 2005-01-25 21:22:25
Subject: Re: [HACKERS] userlock changes for 8.1/8.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group