Re: reltuples after vacuum and analyze - Mailing list pgsql-performance

From Litao Wu
Subject Re: reltuples after vacuum and analyze
Date
Msg-id 20050125184116.1348.qmail@web30303.mail.mud.yahoo.com
Whole thread Raw
In response to Re: reltuples after vacuum and analyze  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: reltuples after vacuum and analyze
Next
From: Litao Wu
Date:
Subject: Re: reltuples after vacuum and analyze