From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: raghavendra t <raagavendra.rao@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: How to fast the REINDEX
Date: Wed, 31 Mar 2010 16:02:55 -0500
Message-ID: <4BB3722F02000025000302BF@gw.wicourts.gov> (raw)
In-Reply-To: <p2ubc7de5a31003311351p83987eedpbb86727ab9fa9ca3@mail.gmail.com>
References: <p2ubc7de5a31003311351p83987eedpbb86727ab9fa9ca3@mail.gmail.com>
raghavendra t <raagavendra.rao@gmail.com> wrote:
> I have a table with 40GB size, it has few indexes on it.
What does the table look like? What indexes are there?
> When i try to REINDEX on the table,
Why are you doing that?
> its take a long time.
How long?
> I tried increasing the maintenance_work_mem, but still i havnt
> find a satisfying result.
What run time are you expecting?
> Questions
> =======
> 1. What are the parameters will effect, when issuing the REINDEX
> command
> 2. Best possible way to increase the spead of the REINDEX
It's hard to answer that without more information, like PostgreSQL
version and configuration, for starters. See:
http://wiki.postgresql.org/wiki/SlowQueryQuestions
My best guess is that you can make them instantaneous by not running
them. A good VACUUM policy should make such runs unnecessary in
most cases -- at least on recent PostgreSQL versions.
-Kevin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, raagavendra.rao@gmail.com
Subject: Re: How to fast the REINDEX
In-Reply-To: <4BB3722F02000025000302BF@gw.wicourts.gov>
References: <p2ubc7de5a31003311351p83987eedpbb86727ab9fa9ca3@mail.gmail.com> <4BB3722F02000025000302BF@gw.wicourts.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox