Re: Another question on indexes (drop and recreate) - Mailing list pgsql-performance

From John A Meinel
Subject Re: Another question on indexes (drop and recreate)
Date
Msg-id 42B830B3.6060902@arbash-meinel.com
Whole thread Raw
In response to Another question on indexes (drop and recreate)  (Yves Vindevogel <yves.vindevogel@implements.be>)
Responses Re: Another question on indexes (drop and recreate)
List pgsql-performance
Yves Vindevogel wrote:

> Hi,
>
> 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*
> *Implements*


I'm guessing for 1% new that (2) would be faster.
John
=:->



Attachment

pgsql-performance by date:

Previous
From: John A Meinel
Date:
Subject: Re: slow growing table
Next
From: Tom Lane
Date:
Subject: Re: Limit clause not using index