Re: Determine dead tuples size

From: Alexey Romanchuk <aromanchuk(at)swsoft(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Determine dead tuples size
Date: 2007-03-16 05:41:50
Message-ID: 17410023575.20070316114150@swsoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Heikki Linnakangas 2007-03-16 09:35:20 Re: Determine dead tuples size
Previous Message Tom Lane 2007-03-16 02:15:39 Re: Postgres batch write very slow - what to do