Re: On disable_cost
Alena Rybakina <a.rybakina@postgrespro.ru>
From: Alena Rybakina <a.rybakina@postgrespro.ru>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>,
Robert Haas <robertmhaas@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>,
Heikki Linnakangas <hlinnaka@iki.fi>, Peter Geoghegan <pg@bowt.ie>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-10-03T17:35:48Z
Lists: pgsql-hackers
Attachments
- 0001-Documentation-about-Disabled-nodes.-We-need-to-descr.patch (text/x-patch) patch 0001
>> Overall, I think we need to do something here. There's no >> documentation about what Disabled Nodes means so we either need to >> make it easier to understand without documenting it or add something >> to the documents about it. If Laurenz, who has a huge amount of >> PostgreSQL experience didn't catch it, then what hope is there for the >> average user? > > I think you are right, most users will perceive this parameter as the > number of rejected paths, and not in any other way. > To be honest, I don't have much experience writing documentation, but I think we should add a little more information to doc/src/sgml/perform.sgml. It contains a description about "explain queries", so the description of "Disabled nodes" is available there. I prepared a patch that includes the information we can add. -- Regards, Alena Rybakina Postgres Professional
Commits
-
Doc: add detail about EXPLAIN's "Disabled" property
- 84b8fccbe5c2 18.0 landed
-
Adjust EXPLAIN's output for disabled nodes
- 161320b4b960 18.0 landed
-
Fix order of parameters in a cost_sort call
- 87b6c3c0b703 18.0 landed
-
Show number of disabled nodes in EXPLAIN ANALYZE output.
- c01743aa4866 18.0 landed
-
Treat number of disabled nodes in a path as a separate cost metric.
- e22253467942 18.0 landed
-
Remove grotty use of disable_cost for TID scan plans.
- e4326fbc60c4 18.0 landed