Oracle Database runs the predefined Automatic Optimizer Statistics Collection, Automatic Segment Advisor, and Automatic SQL Tuning Advisor during maintenance windows intended for periods of low system load. When a maintenance window opens, Oracle creates an Oracle Scheduler job for every maintenance task scheduled in that window. The automated-task repository is in the SYSAUX tablespace, and a maintenance window has a defined duration rather than automatically extending until tasks complete.
Community Discussion