Skip to content

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 for ANALYZE TABLES COMPUTE STATISTICS SQL statement)