should I reindex the table of more than 10 millions rows regularly when more data are inserted?

From: zxo102 ouyang <zxo102(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: should I reindex the table of more than 10 millions rows regularly when more data are inserted?
Date: 2010-03-07 15:39:03
Message-ID: 73ccced31003070739l3ef3db1av61c3a5c6efe44289@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi everyone,
I have a big table (more than 10 millions rows) and create an index
(three columns) ( the index is not created with creating the table). Within
one day of the index created, the performance of query searching is ok. But
with more than several thousands rows of data inserted into the table,
query searching becomes slower and slower.
Should I recreate the index regularly when more data are inserted into
the table?

Thanks for your help in advance.

ouyang

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Szymon Guz 2010-03-07 15:44:07 Re: should I reindex the table of more than 10 millions rows regularly when more data are inserted?
Previous Message Tom Lane 2010-03-07 15:34:31 Re: timestamp literal out of line