Re: Index of a table is not used (in any case)

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Reiner Dassing <dassing(at)wettzell(dot)ifag(dot)de>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Index of a table is not used (in any case)
Date: 2001-10-23 04:50:57
Message-ID: web-490372@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Reinier,

For future notice, [SQL] is the correct list for this kind of inquiry.
Please do not post it to [HACKERS]. And please don't cross-post ... it
results in a lot of needless duplication of effort.

> I have defined a table and the necessary indices.

> Is the order of index creation relevant? I.e., should I create the
> indices before inserting
> entries or the other way around?

Ummm ... not to be obvious, or anything, but did you VACCUUM ANALYZE
after populating your table?

There's also some special steps to take if you are regularly deleting
large numbers of records.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Ford 2001-10-23 05:07:23 Re: [GENERAL] To Postgres Devs : Wouldn't changing the selectlimit
Previous Message Stephan Szabo 2001-10-23 04:27:07 Re: Index of a table is not used (in any case)

Browse pgsql-sql by date

  From Date Subject
Next Message Reiner Dassing 2001-10-23 07:01:04 Re: Index of a table is not used (in any case)
Previous Message Stephan Szabo 2001-10-23 04:27:07 Re: Index of a table is not used (in any case)