| От | Andrei Lepikhov |
|---|---|
| Тема | Re: planner chooses incremental but not the best one |
| Дата | |
| Msg-id | c6cf3fe8-8179-4b2e-9163-68941de0ed0a@postgrespro.ru обсуждение |
| Ответ на | Re: planner chooses incremental but not the best one (Richard Guo <guofenglinux@gmail.com>) |
| Список | pgsql-hackers |
On 15/12/2023 15:58, Richard Guo wrote: > With the patch the estimate for the number of distinct 'b' values is > more accurate. +1 to commit this patch. It looks good and resolves kind of a bug in the code. > > BTW, this patch does not change any existing regression test results. I > attempted to devise a regression test that shows how this change can > improve query plans, but failed. Should I try harder to find such a > test case? The test that was changed refers to different features. Its behaviour can be changed in. the future, and mask testing of this code. IMO, you should add a test directly checking appendrel->tuples correction. -- regards, Andrei Lepikhov Postgres Professional
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера