Configuring Automated Maintenance Tasks

简介: Configuring Automated Maintenance Tasks

To enable or disable specific maintenance tasks in any subset of maintenance windows, you can use the DBMS_AUTO_TASK_ADMIN PL/SQL package.


EXECUTE DBMS_AUTO_TASK_ADMIN.DISABLE;

EXECUTE DBMS_AUTO_TASK_ADMIN.ENABLE;

exec dbms_auto_task_admin.enable(client_name=>'auto space advisor',operation=> NULL,window_name=>NULL);



col window_name for a20

select window_name,autotask_status from dba_autotask_window_clients;


col last_change for a40

select client_name,status,last_change from dba_autotask_client;

sql tuning advisor       ENABLED

auto optimizer stats collection      ENABLED

auto space advisor       ENABLED


select autotask_status, optimizer_stats, segment_advisor, sql_tune_advisor

from dba_autotask_window_clients where window_name='MONDAY_WINDOW';

相关文章
|
2月前
|
SQL Oracle 关系型数据库
oracle Automated Maintenance Tasks
#Automated Maintenance Tasks
15 0
|
分布式计算 Spark
《OPTIMIZING SPARK DEPLOYMENTS FOR CONTAINERS ISOLATION,SAFETY,AND PERFORMANCE》电子版地址
OPTIMIZING SPARK DEPLOYMENTS FOR CONTAINERS: ISOLATION,SAFETY,AND PERFORMANCE
59 0
《OPTIMIZING SPARK DEPLOYMENTS FOR CONTAINERS ISOLATION,SAFETY,AND PERFORMANCE》电子版地址
|
JavaScript 前端开发
Guidelines for Function Compute Development - Troubleshoot Timeout Issues
Endless codes and endless bugs When you write code, you may inadvertently introduce some hidden bugs, even if you test a large proportion of the codes to the maximum extent possible.
1599 0
Uptime And Monitoring Strategies For Cloud-Based E-Commerce Applications/Websites
In order to keep your e-commerce site functioning properly, you need to take positive steps to monitor both its performance and functionality.
1484 0
|
开发工具