Re: Another optimizer question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Another optimizer question
Дата
Msg-id 8401.979917882@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Another optimizer question  ("Gordan Bobic" <gordan@freeuk.com>)
Список pgsql-general
"Gordan Bobic" <gordan@freeuk.com> writes:
> If I do a view that produces the data I want through joins, it takes hours,
> even with all fields indexed, and after VACUUM ANALYZE. Doing SET ENABLE
> SEQ_SCAN = OFF doesn't seem to make any difference. The query plan changes,
> but select times are still roughly the same... Doing the separate
> subqueries on each table and joining data manualy in the application code
> takes literaly seconds.

Um, have you updated since I changed the subselect-restriction
processing two days ago?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: .so functions and SQL queries
Следующее
От: Tony Grant
Дата:
Сообщение: Re: initdb doesn not create template1 database