Re: Problem with an Identical Query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with an Identical Query
Дата
Msg-id 24439.1172763361@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problem with an Identical Query  (Rob Schall <rschall@callone.net>)
Список pgsql-bugs
Rob Schall <rschall@callone.net> writes:
> I have to queries. One runs in about 2 seconds. The other takes upwards
> of 2 minutes. I have a temp table that is created with 2 columns. This
> table is joined with the larger database of call detail records.
> However, these 2 queries are handled very differently.

This is not a bug.

You might have better results if you ANALYZE the temp table before
trying to join it with the bigger table.  Otherwise, post EXPLAIN
ANALYZE (not just EXPLAIN) results in pgsql-performance, and perhaps
someone can help you.

            regards, tom lane

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

Предыдущее
От: Rob Schall
Дата:
Сообщение: Problem with an Identical Query
Следующее
От: "Akio Iwaasa"
Дата:
Сообщение: BUG #3086: DBMirror's error (SERIAL attribute)