Re: insane index scan times

From: "hubert depesz lubaczewski" <depesz(at)gmail(dot)com>
To: "Sergei Shelukhin" <realgeek(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: insane index scan times
Date: 2007-06-09 19:27:00
Message-ID: 9e4684ce0706091227u34fa4a0fy4e5a7c94afbb7926@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/7/07, Sergei Shelukhin <realgeek(at)gmail(dot)com> wrote:
>
> Version is 8.1
> The query I originally ran returned ~4-5 rows and had a lot of other
> joins and filtering conditions prior to the join with the big table.
> Is there any way to instruct postgres to do joins in the specific
> order or smth?
>

make explain analyze of original query (notice *explain analyze* and not
*explain*), and post this to list. otherwise - you can't really hope someone
will tell you what's wrong.

depesz

--
http://www.depesz.com/ - nowy, lepszy depesz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ABHANG RANE 2007-06-09 23:40:05 gist index on cube column
Previous Message Joshua D. Drake 2007-06-09 15:42:05 Re: pg_hba.conf - md5