Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1
Дата
Msg-id 20051230225525.GA14981@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: broken 'SHOW TABLE'-like query works in 8, not 8.1.1  (Sebastian <buddhahead@gmail.com>)
Список pgsql-hackers
On Fri, Dec 30, 2005 at 11:02:20AM -0700, Michael Fuhr wrote:
> On Fri, Dec 30, 2005 at 03:15:03AM -0500, Sebastian wrote:
> > Any ideas for a temporary work around?
> 
> You could try querying the system catalogs directly instead of using
> the information_schema views;

You could also set enable_nestloop to off for your original query.
Now that EXPLAIN is fixed it looks like 8.1.1 is choosing a nested
loop where a hash join is actually much faster.

-- 
Michael Fuhr


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Следующее
От: Greg Stark
Дата:
Сообщение: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and