From: Josh Berkus <josh@agliodbs.com>
To: Reiner Dassing <dassing@wettzell.ifag.de>
To: pgsql-sql@postgresql.org
Subject: Re: Index of a table is not used (in any case)
Date: Mon, 22 Oct 2001 21:50:57 -0700
Message-ID: <web-490372@davinci.ethosmedia.com> (raw)
In-Reply-To: <3BD3BFE0.55FC3EC0@wettzell.ifag.de>
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@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, dassing@wettzell.ifag.de
Subject: Re: Index of a table is not used (in any case)
In-Reply-To: <web-490372@davinci.ethosmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox