Re: How to fast the REINDEX - Mailing list pgsql-performance

From Greg Smith
Subject Re: How to fast the REINDEX
Date
Msg-id 4BB48556.2030406@2ndquadrant.com
Whole thread Raw
In response to How to fast the REINDEX  (raghavendra t <raagavendra.rao@gmail.com>)
List pgsql-performance
raghavendra t wrote:
> 1. What are the parameters will effect, when issuing the REINDEX command
> 2. Best possible way to increase the spead of the REINDEX

If you haven't done the usual general tuning on your server, that might
help.  http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server is
an introduction.  If increasing maintainance_work_mem alone doesn't
help, I'd try increases to checkpoint_segments and then shared_buffers
next.  Those are the three parameters mostly likely to speed that up.

The things already suggested in this thread are still valid though.
Needing to REINDEX suggests there may be a problem with your database
better addressed by running autovacuum more regularly.

--
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


pgsql-performance by date:

Previous
From: Steve Clark
Date:
Subject: Re: How to fast the REINDEX
Next
From: Faheem Mitha
Date:
Subject: Re: experiments in query optimization