Re: Look at all paths?

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: "tanghy.fnst@fujitsu.com"
Дата:
Сообщение: RE: row filtering for logical replication
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Documenting when to retry on serialization failure