From: Juris <juris@rfb.lv>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] performance problems of a complex query with 2 subselects
Date: Fri, 05 Feb 1999 18:24:14 +0200
Message-ID: <36BB1B2E.FBB15AFC@rfb.lv> (raw)
References: <19990205162258.18987.qmail@desertmoon.com>
> You need to 'vacuum analyze <table>' for each table that you have created
> AFTER you've created the indexes for them before the sql optimizer will
> use the indexes. This should solve most of your speed issues. I also believe
> that this is in the FAQ.
I forgot to tell you, but I did do
vacuum;
vacuum analyze;
It seemed to process all tables, so I thought there was no need to
vacuum analyze individual tables.
I'll try that, thanks.
Juris.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: juris@rfb.lv
Subject: Re: [SQL] performance problems of a complex query with 2 subselects
In-Reply-To: <36BB1B2E.FBB15AFC@rfb.lv>
References: <19990205162258.18987.qmail@desertmoon.com> <36BB1B2E.FBB15AFC@rfb.lv>
* 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