Re: inconsistent/weird index usage

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: inconsistent/weird index usage
Дата
Msg-id 200410010929.36026.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: inconsistent/weird index usage  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: inconsistent/weird index usage
Список pgsql-performance
Tom,

> Most of the problem here comes from the fact that "current_date - 7"
> isn't reducible to a constant and so the planner is making bad guesses
> about how much of each table will be scanned.

I thought this was fixed in 7.4.  No?

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: "Matt Clark"
Дата:
Сообщение: Re: Caching of Queries
Следующее
От: Tom Lane
Дата:
Сообщение: Re: inconsistent/weird index usage