Re: frustration with database size <long>

From: Andrew Gould <andrewgould(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: frustration with database size <long>
Date: 2002-01-21 18:20:29
Message-ID: 20020121182029.72405.qmail@web13402.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks! I must have missed dropping/recreating one of
the primary key indexes. The relpages for the index
exceeded the relpages for the table.

I dropped and recreated the index, and vacuumed the
database. The overall database size is down to 11GB.
It's still large; but at least the numbers make more
sense.

Thanks again,

Andrew Gould

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Andrew Gould <andrewgould(at)yahoo(dot)com> writes:
> > The process above resulted in an **increase** in
> > database size from 12GB to 14GB.
> > I'm both surprised and stumped.
>
> Seems odd to me too. Like Einar, I am wondering
> about index sizes.
>
> An easy way to get some data is to do a VACUUM so
> that the relpages
> statistics are up to date, and then do
>
> select relname,relkind,relpages from pg_class order
> by relpages desc;
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2002-01-21 18:22:55 Re: Problem with character ' (single quote) in text fields
Previous Message Holger Krug 2002-01-21 18:16:24 Re: How does one return rows from plpgsql functions?