Re: dbsize patch - Mailing list pgsql-patches

From Ed L.
Subject Re: dbsize patch
Date
Msg-id 200502030923.37827.pgsql@bluepolka.net
Whole thread Raw
In response to Re: dbsize patch  (Ed Loehr <ed@LoehrTech.com>)
Responses Re: dbsize patch
List pgsql-patches
Neil, do you have a verdict on this patch?

On Friday January 28 2005 10:30, Ed L. wrote:
> If the C code for the prior dbsize patch is not acceptable for
> whatever reason, here's a SQL-based patch to replace it.  It's
> not a drop-in for 7.3/7.4 as I'd hoped, only an 8.1 patch.  I
> believe it is functionally equivalent to the C patch, but
> simpler, shorter, and probably a tad slower. I also removed
> the README section on how to aggregate since it was
> incomplete/incorrect (it didn't count toasted indices) and
> added a SQL function that itemizes the size for a relation's
> table and index data (helpful to us in identifying bloat,
> measuring performance, capacity estimation, etc).
>
> Ed


pgsql-patches by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Refactoring lock.c
Next
From: Tom Lane
Date:
Subject: buffer manager refactoring to isolate ARC algorithm