Gather Stats job to run on stale tables + indexes daily
19.2 RAC database.
I see that we have approximately 300+ tables with stale stats job in one of the main production schema. How would I create a "default_maintenance_plan" that would run from 6 p.m. to 11 p.m. everyday and check for stale tables + indexes for 3 schemas in the database?
FYI... I looked under Oracle EM cc 13c, administration--> Oracle scheduler -- > Automated maintenance Task --> Optimizer Statistics Gathering, I found that Oracle is running gather_database_stats (auto) but it is only running on SYS schema.
Your help is appreciated.