Re: LEFT JOINs takes forever...almost.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LEFT JOINs takes forever...almost.
Дата
Msg-id 26720.1032015575@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LEFT JOINs takes forever...almost.  ("Niclas Gustafsson" <niclas.gustafsson@codesense.com>)
Список pgsql-admin
"Niclas Gustafsson" <niclas.gustafsson@codesense.com> writes:
> Can someone please explain why the first query is 3000 times slower?
> Surely there must be a any way to speed it up?

You're forcing a poor join order.  See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/explicit-joins.html

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "shreedhar"
Дата:
Сообщение: Is it possible to get the return value of trigger function using PHP or any other method.
Следующее
От: Adam Witney
Дата:
Сообщение: Problem starting postmaster