标题: Oracle自动统计任务的关闭与启用 [打印本页] 作者: 王亮 时间: 2021-2-28 20:00 标题: Oracle自动统计任务的关闭与启用 --查看统计信息的状态
col client_name for a60
select client_name,status from DBA_AUTOTASK_CLIENT;
CLIENT_NAME STATUS
------------------------------------------------------------ ----------------
auto optimizer stats collection ENABLED
auto space advisor ENABLED
sql tuning advisor ENABLED
--检查统计信息的状态
select client_name,status from DBA_AUTOTASK_CLIENT;
CLIENT_NAME STATUS
------------------------------------------------------------ ----------------
auto optimizer stats collection DISABLED
auto space advisor ENABLED
sql tuning advisor ENABLED
--检查统计信息的状态
select client_name,status from DBA_AUTOTASK_CLIENT;
CLIENT_NAME STATUS
------------------------------------------------------------ ----------------
auto optimizer stats collection ENABLED
auto space advisor ENABLED
sql tuning advisor ENABLED