Re: SQL Function Performance

Поиск
Список
Период
Сортировка
От andrew@pillette.com
Тема Re: SQL Function Performance
Дата
Msg-id 200602130105.k1D15R726930@pillette.com
обсуждение исходный текст
Ответ на SQL Function Performance  ("Adnan DURSUN" <a_dursun@hotmail.com>)
Список pgsql-performance
If you have only recently analyzed the tables in the query, close your psql session (if that's what you were using) and
thenrestart it. I've gotten burned by asking a query using the function, which I believe is when PG creates the plan
forthe function, and then making significant changes to the tables behind it (new index, bulk insert, etc.). By
startinga new session, the function will be re-planned according to up to date statistics or using newly created
indices.

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

Предыдущее
От: "Adnan DURSUN"
Дата:
Сообщение: SQL Function Performance
Следующее
От: Markus Schaber
Дата:
Сообщение: Re: 10+hrs vs 15min because of just one index