Re: [SQL] performance problems of a complex query with 2 subselects - Mailing list pgsql-sql

From Juris
Subject Re: [SQL] performance problems of a complex query with 2 subselects
Date
Msg-id 36BB1B2E.FBB15AFC@rfb.lv
Whole thread Raw
In response to Re: [SQL] performance problems of a complex query with 2 subselects  (pierre@desertmoon.com)
List 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.

pgsql-sql by date:

Previous
From: pierre@desertmoon.com
Date:
Subject: Re: [SQL] performance problems of a complex query with 2 subselects
Next
From: "Jackson, DeJuan"
Date:
Subject: RE: [SQL] Function returning multiple rows?