Skip site navigation (1) Skip section navigation (2)

Re: Another question on indexes (drop and recreate)

From: John A Meinel <john(at)arbash-meinel(dot)com>
To: Yves Vindevogel <yves(dot)vindevogel(at)implements(dot)be>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Another question on indexes (drop and recreate)
Date: 2005-06-21 15:22:27
Message-ID: 42B830B3.6060902@arbash-meinel.com (view raw or flat)
Thread:
Lists: 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
=:->


In response to

Responses

pgsql-performance by date

Next:From: Yves VindevogelDate: 2005-06-21 15:28:20
Subject: Re: Another question on indexes (drop and recreate)
Previous:From: John A MeinelDate: 2005-06-21 15:19:49
Subject: Re: slow growing table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group