| От | Andrey V. Lepikhov |
|---|---|
| Тема | Re: Look at all paths? |
| Дата | |
| Msg-id | 4c162daf-4dab-5bd6-6cff-9a8512446219@postgrespro.ru обсуждение исходный текст |
| Ответ на | Look at all paths? (Chris Cleveland <ccleve+github@dieselpoint.com>) |
| Список | pgsql-hackers |
On 12/29/21 5:07 AM, Chris Cleveland wrote: > I'm developing a new index access method. Sometimes the planner uses it > and sometimes it doesn't. I'm trying to debug the process to understand > why the index does or doesn't get picked up. > > Is there a way to dump all of the query plans that the planner > considered, along with information on why they were rejected? EXPLAIN > only gives info on the plan that was actually selected. You can enable OPTIMIZER_DEBUG option. Also the gdbpg code [1] makes our work much easier, sometimes. [1] https://github.com/tvondra/gdbpg -- regards, Andrey Lepikhov Postgres Professional
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера