Search notes:

Oracle: DBMS_AUTO_TASK_ADMIN - ENABLE / DISABLE

Enable or disable automated statistic collection

dbms_auto_task_admin allows to enable or disable automatic optimizer statistics collection.
begin
  dbms_auto_task_admin.enable (  
    client_name  => 'auto optimizer stats collection',
    operation    =>  null,
    window_name  =>  null
);
end;
/
begin
  dbms_auto_task_admin.disable (  
    client_name  => 'auto optimizer stats collection',
    operation    =>  null,
    window_name  =>  null
);
end;
/

See also

Clients that can be enabled or disabled are found in the dba_autotask_client view.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199275, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/packages/dbms/auto_task_admin/api/enable-disable/index(59): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78