Re: BUG #3657: Performance leaks when using between of two equal dates
В списке pgsql-bugs по дате отправления:
| От | Tiago Daniel Jacobs |
|---|---|
| Тема | Re: BUG #3657: Performance leaks when using between of two equal dates |
| Дата | |
| Msg-id | 470A87E5.2020507@mdtestudio.com.br обсуждение исходный текст |
| Ответ на | Re: BUG #3657: Performance leaks when using between of two equal dates ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
| Список | pgsql-bugs |
I`m sorry, but why work around?
The overhead of "99%" of cases is so bigger? What about an "option"
like constraint exclusion...
I've worked around also, but would like to see this topic in a TODO or
further implementation.
Thanks by patience.
Kevin Grittner escreveu:
On Sat, Oct 6, 2007 at 11:28 AM, in message <24828.1191688097@sss.pgh.pa.us>,
Tom Lane <tgl@sss.pgh.pa.us> wrote:
I've been wondering
if it would be worth the trouble to introduce scalarlesel and
scalargesel estimators ...
FWIW, this is an issue we ran into:
http://archives.postgresql.org/pgsql-performance/2006-03/msg00211.php
We worked around it in our framework by checking for a range with equal
values and converting to an equality test before presenting it to the
database.
-Kevin
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера