Importance of re-index - Mailing list pgsql-general

From John Sidney-Woollett
Subject Importance of re-index
Date
Msg-id 44D27C57.6000206@wardbrook.com
Whole thread Raw
Responses Re: Importance of re-index
List pgsql-general
In addition to making sure databases are vacuumed regularly, it is worth
running REINDEX on tables that see a lot of updates (or insert/deletes).

Running REINDEX on a regular basis will keep the indexes compacted and
can noticeably improve the database performance.

The other benefit is that the disk space taken by your database can be
significantly reduced.

This is barely mentioned in the 7.4 docs, and alluded to in the 8.1 docs.

FWIW, in my experience it is DEFINITELY worth reindexing regularly.

John

pgsql-general by date:

Previous
From: "Nikolay Samokhvalov"
Date:
Subject: Re: CREATE DATABASE
Next
From: Scott Marlowe
Date:
Subject: Re: Importance of re-index