pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexey Romanchuk <aromanchuk@swsoft.com>
To: pgsql-performance@postgresql.org
Subject: Re: Determine dead tuples size
Date: Fri, 16 Mar 2007 11:41:50 +0600
Message-ID: <17410023575.20070316114150@swsoft.com> (raw)
In-Reply-To: <20070315114508.GA12266@winnie.fuhr.org>
References: <24499713.20070315135847@swsoft.com>
	<20070315114508.GA12266@winnie.fuhr.org>

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





view thread (6+ messages)  latest in thread

Message-ID: <17410023575.20070316114150@swsoft.com>
Permalink:  ../17410023575.20070316114150@swsoft.com/
Also on:    postgresql.org/message-id/17410023575.20070316114150@swsoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: aromanchuk@swsoft.com
  Subject: Re: Determine dead tuples size
  In-Reply-To: <17410023575.20070316114150@swsoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox