VACUUM and index

From: DANTE Alexandra <Alexandra(dot)Dante(at)bull(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: VACUUM and index
Date: 2006-07-19 13:03:43
Message-ID: 44BE2DAF.2000400@bull.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello List,

Sorry to send an other e-mail on this subject but it is become a little
bit vague for me.
Imagine you have a database on which a lot of transactions are done
daily : the tables will contain a lot of dead tuples and the B-tree
index too.

If I do a VACUUM on this database, will the B-tree index be scanned,
space reclaimed and made available for re-use ?
Does this action only do by a VACUUM FULL ?
Or is it necessary to do a REINDEX on the index to retrieve a
well-balanced tree ?

Thank you for your help.

Regards,
Alexandra DANTE

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-07-19 13:13:19 Re: VACUUM and index
Previous Message Volkan YAZICI 2006-07-19 12:50:15 Re: problem creating users via pythons script