The upgrade to Automation Analytics & Intelligence (AAI) version 24.4.1 introduces critical schema changes designed to reduce application startup time and improve overall performance. This is achieved by creating new SQL indexes on two of the largest tables in the AAI database: RecentStateType and JobRun.
Because these tables are typically very large, the indexing process requires careful pre-upgrade planning to avoid timeouts or performance degradation during the upgrade script execution.
XIE9JOBRUN instead of XIE14JOBRUN).QueryTimingService warnings in jaws.log showing elapsed times significantly higher than expected (e.g., 90+ seconds for standard queries).AAI Upgrades to 24.4.0-1 and later
Ensure that database statistics are current. Stale metadata can cause the optimizer to choose slow indexing methods. Run the following PL/SQL block as the AAI schema owner:
Index creation requires significant physical and temporary space. Verify these requirements with your DBA:
JobRun table size.JobRun table.JobRun table are utilizing the new composite indexes for optimal performance.