distinguish index cost component from table component

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: pgsql-performance@postgresql.org
Date: 2020-01-03T14:14:27Z
Lists: pgsql-hackers, pgsql-performance
Is it possible to tell what component of the cost estimate of an index scan is
from the index reads vs heap ?

It would help to be able to set enable_bitmapscan=FORCE (to make all index
scans go through a bitmap).  Adding OR conditions can sometimes do this.  That
includes cost of bitmap manipulation, but it's good enough for me.

Or maybe explain should report it.



Commits

  1. Doc: Fix list of storage parameters available for ALTER TABLE

  2. Enhance docs for ALTER TABLE lock levels of storage parms

  3. Reduce lock levels for table storage params related to planning

  4. Reduce lock levels for ALTER TABLE SET autovacuum storage options

  5. Reduce lock levels of some ALTER TABLE cmds

  6. Reduce lock levels of CREATE TRIGGER and some ALTER TABLE, CREATE RULE actions.

  7. Support ALTER TABLESPACE name SET/RESET ( tablespace_options ).