Re: [SQL] performance problems of a complex query with 2 subselects

From: Juris <juris(at)rfb(dot)lv>
To: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] performance problems of a complex query with 2 subselects
Date: 1999-02-05 16:24:14
Message-ID: 36BB1B2E.FBB15AFC@rfb.lv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> 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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jackson, DeJuan 1999-02-05 17:26:25 RE: [SQL] Function returning multiple rows?
Previous Message pierre 1999-02-05 16:22:58 Re: [SQL] performance problems of a complex query with 2 subselects