Skip site navigation (1) Skip section navigation (2)

Re: db size

From: Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Bill Moran <wmoran(at)collaborativefusion(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: db size
Date: 2008-04-17 08:43:47
Message-ID: 48070DC3.1040709@careerjunction.co.za (view raw or flat)
Thread:
Lists: pgsql-performance
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(at)careerjunction(dot)co(dot)za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842

In response to

  • Re: db size at 2008-04-17 08:15:04 from Richard Huxton

Responses

  • Re: db size at 2008-04-17 08:52:31 from Richard Huxton

pgsql-performance by date

Next:From: Richard HuxtonDate: 2008-04-17 08:52:31
Subject: Re: db size
Previous:From: Adrian MoiseyDate: 2008-04-17 08:37:25
Subject: Re: db size

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group