postgres=# select * from sessions where video_id = 'k4A9-WZET_4';
Include ANALYZE steps in all dumps, part 2
Continue design and patch work on dump-time analysis.
session summary
Part two implemented the pg_dump side of per-object ANALYZE. The group modeled ANALYZE as a new dumpable archive object, dependent on its table and emitted in the post-data section after data and indexes. They limited the first prototype to ordinary tables and materialized views, excluding sequences, views, and foreign tables. The code compiled, but no ANALYZE appeared in output because the new object was not reached or enabled correctly; print debugging exposed control-flow problems, and they deferred completion.
timecodes
- Resuming from pg_dump archive entries
- Creating a dumpable ANALYZE object
- Tables, partitions, foreign tables, and sequences
- Object IDs and table dependencies
- Choosing an ArchiveEntry implementation
- Building the ANALYZE command in post-data
- Enabling ANALYZE and considering opt-out
- Compilation succeeds, output debugging begins