pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Moisey <adrian@careerjunction.co.za>
To: Richard Huxton <dev@archonet.com>
Cc: Bill Moran <wmoran@collaborativefusion.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: db size
Date: Thu, 17 Apr 2008 10:43:47 +0200
Message-ID: <48070DC3.1040709@careerjunction.co.za> (raw)
In-Reply-To: <48070708.4060605@archonet.com>
References: <4802F9E4.3000704@careerjunction.co.za>
	<op.t9lf4tvrcigqcu@apollo13.peufeu.com>
	<48032237.4040604@careerjunction.co.za>
	<op.t9lgusticigqcu@apollo13.peufeu.com>
	<4803276C.2090901@careerjunction.co.za>
	<op.t9lh5em8cigqcu@apollo13.peufeu.com>
	<48045A32.3010607@careerjunction.co.za>
	<20080415071222.36b2e8eb.wmoran@collaborativefusion.com>
	<4806EE1A.8010400@careerjunction.co.za>
	<48070708.4060605@archonet.com>

Hi

>> INFO:  "blahxxx": scanned 27 of 27 pages, containing 1272 live rows 
>> and 0 dead rows; 1272 rows in sample, 1272 estimated total rows
> 
> This is a small table that takes up 27 pages and it scanned all of them. 
> You have 1272 rows in it and none of them are dead (i.e. deleted/updated 
> but still taking up space).

I had a look through a few other tables...:

INFO:  "table1": scanned 22988 of 22988 pages, containing 2713446 live 
rows and 895662 dead rows; 45000 rows in sample, 2713446 estimate
d total rows

INFO:  "table2": scanned 24600 of 24600 pages, containing 270585 live 
rows and 65524 dead rows; 45000 rows in sample, 270585 estimated total rows

Is that dead rows an issue?  Should I try clean it out?  Will it improve 
performance ?


-- 
Adrian Moisey
Systems Administrator | CareerJunction | Your Future Starts Here.
Web: www.careerjunction.co.za | Email: adrian@careerjunction.co.za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842



view thread (17+ messages)  latest in thread

Message-ID: <48070DC3.1040709@careerjunction.co.za>
Permalink:  ../48070DC3.1040709@careerjunction.co.za/
Also on:    postgresql.org/message-id/48070DC3.1040709@careerjunction.co.za

 · 

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: adrian@careerjunction.co.za, dev@archonet.com, wmoran@collaborativefusion.com
  Subject: Re: db size
  In-Reply-To: <48070DC3.1040709@careerjunction.co.za>

* 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