For auto-analyze service, we should make sure we collect catalogs' table mutation counts from DDL statements.
Accurate stats on catalogs help query optimizer chooses optimal plan for system queries.
Issue Type
kind/new-feature
Warning: Please confirm that this issue does not contain any sensitive information
[X] I confirm this issue does not contain any sensitive information.
Currently, we collect mutations from direct DMLs on catalog tables, but not from DDLs.
For example, a simple CREATE TABLE does not increase the mutation count of pg_class.
Jira Link: DB-11037
Description
For auto-analyze service, we should make sure we collect catalogs' table mutation counts from DDL statements. Accurate stats on catalogs help query optimizer chooses optimal plan for system queries.
Issue Type
kind/new-feature
Warning: Please confirm that this issue does not contain any sensitive information