1

Disable SYS Auto Jobs from the Database

Disable SYS Auto Jobs from the Database

Β 

========================================

DBMS_AUTO_TASK_ADMIN.DISABLE still shows the client_name enabled in DBA_AUTOTASK_CLIENT view (Doc ID 1565768.1)

for Reference: Disable database jobs (DBMS_SCHEDULER , AUTOTASKS and DBMS_JOBS) before upgrade (Doc ID 1614385.1)

1. Check the currently scheduled auto jobs by SYS

SQL> select client_name,status from Dba_Autotask_Client;

CLIENT_NAME STATUS
—————————————————————- ——–
SQL TUNING ADVISOR ENABLED
AUTO OPTIMIZER STATS COLLECTION ENABLED
AUTO SPACE ADVISOR ENABLED

2. Execute the below commands to disable the scheduled jobs

a. exec DBMS_AUTO_TASK_ADMIN.DISABLE(‘AUTO OPTIMIZER STATS COLLECTION’,NULL, NULL);

b. exec DBMS_AUTO_TASK_ADMIN.DISABLE(‘AUTO SPACE ADVISOR’,NULL, NULL);

c. exec DBMS_AUTO_TASK_ADMIN.DISABLE(‘SQL TUNING ADVISOR’,NULL, NULL);

3. Verify

SQL> SELECT CLIENT_NAME, STATUS FROM DBA_AUTOTASK_CLIENT;

CLIENT_NAME STATUS
—————————————————————- ——–
sql tuning advisor DISABLED
auto optimizer stats collection DISABLED
auto space advisor DISABLED

Β 

    About Abdul Khalique Siddique

    In addition to my proficiency in Oracle Database, I have also specialized in Oracle E-Business Suite. I have hands-on experience in implementing, configuring, and maintaining EBS applications, enabling organizations to streamline their business processes and achieve operational efficiency. Also I have hands-on experience in Oracle Cloud Infrastructure (OCI). I have worked with OCI services such as compute, storage, networking, and database offerings, leveraging the power of the cloud to deliver scalable and cost-effective solutions. My knowledge of OCI architecture and deployment models allows me to design and implement robust and secure cloud environments for various business requirements. Furthermore, I have specialized in disaster recovery solutions for Oracle technologies. I have designed and implemented comprehensive disaster recovery strategies, including backup and recovery procedures, standby databases, and high availability configurations. My expertise in data replication, failover mechanisms, and business continuity planning ensures that organizations can quickly recover from disruptions and maintain uninterrupted operations.

    Check Also

    1

    Configuring EM Express on 19c Rac Database

    Configuring EM Express on 19c Rac Database Β  SQL> select dbms_xdb_config.getHttpPort() from dual; DBMS_XDB_CONFIG.GETHTTPPORT()—————————–0 SQL> …

    Leave a Reply