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

Re: reltuples after vacuum and analyze

From: Litao Wu <litaowu(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: reltuples after vacuum and analyze
Date: 2005-01-25 18:41:16
Message-ID: (view raw or whole thread)
Lists: 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 

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.


--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Litao Wu <litaowu(at)yahoo(dot)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 

In response to


pgsql-performance by date

Next:From: Tom LaneDate: 2005-01-25 18:43:51
Subject: Re: reltuples after vacuum and analyze
Previous:From: Tom LaneDate: 2005-01-25 18:33:06
Subject: Re: reltuples after vacuum and analyze

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