pgsql: Add cost estimation of range @> and <@ operators.
В списке pgsql-committers по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | pgsql: Add cost estimation of range @> and <@ operators. |
| Дата | |
| Msg-id | E1UG8LV-0002JQ-6E@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Add cost estimation of range @> and <@ operators. The estimates are based on the existing lower bound histogram, and a new histogram of range lengths. Bump catversion, because the range length histogram now needs to be present in statistic slot kind 6, or you get an error on @> and <@ queries. (A re-ANALYZE would be enough to fix that, though) Alexander Korotkov, with some refactoring by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/59d0bf9dca58b237902c2fd1507e8bc5d54d4a63 Modified Files -------------- src/backend/utils/adt/rangetypes_selfuncs.c | 541 ++++++++++++++++++++++++- src/backend/utils/adt/rangetypes_typanalyze.c | 125 ++++++- src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_operator.h | 1 + src/include/catalog/pg_statistic.h | 12 +- 5 files changed, 667 insertions(+), 14 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера