pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Litao Wu <litaowu@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: reltuples after vacuum and analyze
Date: Tue, 25 Jan 2005 10:41:16 -0800 (PST)
Message-ID: <20050125184116.1348.qmail@web30303.mail.mud.yahoo.com> (raw)
In-Reply-To: <5589.1106677986@sss.pgh.pa.us>

I know it is accurate.
My question is why the table takes 
2023024KB after analyzed?
And why it does not shink to 30088 after vacuumed?

I know "vacuum full verbose"
will force it shrink to
reasonable size. But I do not understand
why "analyze" bloats the table size so 
big??

Please note all above commands are done within
minutes and I truely do not believe the table
of 189165 rows takes that much space.

Furthermore, I notice last weekly "vacuum full"
even did not reclaim the space back.

Thanks,

--- Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Litao Wu <litaowu@yahoo.com> writes:
> > Then how to explain relpages 
> > (size_kb in result returned)?
> 
> relpages should be accurate in either case, since we
> get that by asking
> the kernel (lseek).
> 
> 			regards, tom lane
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (7+ messages)  latest in thread

Message-ID: <20050125184116.1348.qmail@web30303.mail.mud.yahoo.com>
Permalink:  ../20050125184116.1348.qmail@web30303.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20050125184116.1348.qmail@web30303.mail.mud.yahoo.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: litaowu@yahoo.com, tgl@sss.pgh.pa.us
  Subject: Re: reltuples after vacuum and analyze
  In-Reply-To: <20050125184116.1348.qmail@web30303.mail.mud.yahoo.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