Relation of indices to ANALYZE

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Relation of indices to ANALYZE
Date: 2003-07-17 14:45:35
Message-ID: 3F16B68F.7060207@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello all,

I'm putting together a database that has me wondering about the interaction of ANALYZE
with indices. I guess the basic question is: are indices affected by the results of
ANALYZE.

The particular application I've got is doing a batch insert of lots of records. For
performance, I'm dropping the indexes on the table, doing the inserts, then recreating
the indexes a then doing a VACUUM ANALYZE. Specifically, I'm wondering if I should do
the ANALYZE before or after I recreate the indexes, or whether it matters.

Any feedbackis welcome.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joe Conway 2003-07-17 14:57:53 Re: Hardware performance
Previous Message Paul Thomas 2003-07-17 14:38:25 Re: index / sequential scan problem