Oracle DBMS_AUTO_TASK_IMMEDIATE
Version 23c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
Purpose Zero delay initiation of optimizer stats gathering
AUTHID DEFINER
Dependencies
DBMS_AUTOTASK_PRVT DBMS_LOCK DBMS_SCHEDULER
Documented No
First Available 11.1
Pragmas PRAGMA SUPPLEMENTAL_LOG_DATA(default, UNSUPPORTED);
Security Model Owned by SYS with EXECUTE granted to the DBA role
Source $ORACLE_HOME/rdbms/admin/dbmsatsk.sql
 
GATHER_OPTIMIZER_STATS
Immediately gathers optimizer statistics dbms_auto_task_immediate.gather_optimizer_stats;
exec dbms_auto_task_immediate.gather_optimizer_stats;

Related Topics
Built-in Functions
Built-in Packages
DBMS_AUTOTASK_PRVT
DBMS_AUTO_TASK
DBMS_AUTO_TASK_ADMIN
DBMS_AUTO_TASK_EXPORT
What's New In 21c
What's New In 23c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx