AnalyzeTablesCommand Logical Command¶
AnalyzeTablesCommand
is a LeafRunnableCommand that represents ANALYZE TABLES COMPUTE STATISTICS
SQL statement (AnalyzeTables
logical command) at query execution.
Creating Instance¶
AnalyzeTablesCommand
takes the following to be created:
- Database Name
-
noScan
flag
AnalyzeTablesCommand
is created when:
- ResolveSessionCatalog analysis rule is executed (and resolves an
AnalyzeTables
logical command forANALYZE TABLES COMPUTE STATISTICS
SQL statement)