And, after let's say a week, would that index still be optimal or would
it be a good idea to drop it in the weekend and recreate it.
On 21 Jun 2005, at 17:22, John A Meinel wrote:
> Yves Vindevogel wrote:
>> I have another question regarding indexes.
>> I have a table with a lot of indexes on it. Those are needed to
>> perform my searches.
>> Once a day, a bunch of records is inserted in my table.
>> Say, my table has 1.000.000 records and I add 10.000 records (1% new)
>> What would be faster.
>> 1) Dropping my indexes and recreating them after the inserts
>> 2) Just inserting it and have PG manage the indexes
>> Met vriendelijke groeten,
>> Bien à vous,
>> Kind regards,
>> *Yves Vindevogel*
> I'm guessing for 1% new that (2) would be faster.
Met vriendelijke groeten,
Bien à vous,
In response to
pgsql-performance by date
|Next:||From: Tom Lane||Date: 2005-06-21 15:30:54|
|Subject: Re: Limit clause not using index |
|Previous:||From: John A Meinel||Date: 2005-06-21 15:22:27|
|Subject: Re: Another question on indexes (drop and recreate)|