Re: bloating index, pg_restore - Mailing list pgsql-general

From Sergey Konoplev
Subject Re: bloating index, pg_restore
Date
Msg-id CAL_0b1uoPduFXUM2jUsU+PCnxN-59695Uk3gkXLY=9xYzeismg@mail.gmail.com
Whole thread Raw
In response to bloating index, pg_restore  (salah jubeh <s_jubeh@yahoo.com>)
Responses Re: bloating index, pg_restore
List pgsql-general
Hello,

On Wed, Mar 27, 2013 at 9:56 AM, salah jubeh <s_jubeh@yahoo.com> wrote:
> I have a database which is bloated because of vacuum full, so you find
> indexes bigger than the table itself.

Table can not be bloated because of vacuum full, it removes bloat from
the table and its indexes. The fact that an index is larger then the
table it it built on does not say that something is bloated. Use the
pgstattuple extension to determine bloat
http://www.postgresql.org/docs/9.2/static/pgstattuple.html.

> I have dumped this database and restored it without reindixing and it was
> extremely slow. So, my question what is the relation between bloated
> database and pg_restore.
>
> Regards

--
Kind regards,
Sergey Konoplev
Database and Software Consultant

Profile: http://www.linkedin.com/in/grayhemp
Phone: USA +1 (415) 867-9984, Russia +7 (901) 903-0499, +7 (988) 888-1979
Skype: gray-hemp
Jabber: gray.ru@gmail.com


pgsql-general by date:

Previous
From: Clemens Eisserer
Date:
Subject: Re: Is there any way to listen to NOTIFY in php without polling?
Next
From: Tom Lane
Date:
Subject: Re: bloating index, pg_restore