Re: Determine dead tuples size - Mailing list pgsql-performance

From Alexey Romanchuk
Subject Re: Determine dead tuples size
Date
Msg-id 17410023575.20070316114150@swsoft.com
Whole thread Raw
In response to Re: Determine dead tuples size  (Michael Fuhr <mike@fuhr.org>)
Responses Re: Determine dead tuples size
Re: Determine dead tuples size
List pgsql-performance
Hello, Michael.

> On Thu, Mar 15, 2007 at 01:58:47PM +0600, Alexey Romanchuk wrote:
>> is it possible to determine dead tuples size for table?

> See contrib/pgstattuple.

thanks, i install contribs and try to analyze result of pgstattuple
function and found it strange.

Here it is output:
                             pgstattuple
----------------------------------------------------------------------
 (233242624,1186804,206555428,88.56,20707,3380295,1.45,13896816,5.96)

When i try to sum all size (live, dead and free) the sum is not equal
total size. For this table 206555428 + 3380295 + 13896816 = 223832539.
The difference between total and sum is 9410085. It is near 5%.

Is it ok?

--
Alexey Romanchuk



pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres batch write very slow - what to do
Next
From: Heikki Linnakangas
Date:
Subject: Re: Determine dead tuples size