真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

oracle12c關(guān)閉統(tǒng)計(jì)信息收集和啟用統(tǒng)計(jì)信息收集

oracle 12c 關(guān)閉統(tǒng)計(jì)信息收集和啟用統(tǒng)計(jì)信息收集

--關(guān)閉統(tǒng)計(jì)信息
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

begin
DBMS_AUTO_TASK_ADMIN.DISABLE(client_name => 'auto optimizer stats collection',
operation => NULL,
window_name => NULL);
end;
/

PL/SQL procedure successfully completed.

--啟用統(tǒng)計(jì)信息收集
select client_name,status from DBA_AUTOTASK_CLIENT;

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

SQL> 

begin
DBMS_AUTO_TASK_ADMIN.ENABLE(client_name => 'auto optimizer stats collection',
operation => NULL,
window_name => NULL);
end;
/

PL/SQL procedure successfully completed.

select client_name,status from DBA_AUTOTASK_CLIENT;

CLIENT_NAME                                                  STATUS
------------------------------------------------------------ ----------------
auto optimizer stats collection                              ENABLED
auto space advisor                                           ENABLED
sql tuning advisor                                           ENABLED

SQL> 

本文名稱:oracle12c關(guān)閉統(tǒng)計(jì)信息收集和啟用統(tǒng)計(jì)信息收集
標(biāo)題URL:http://weahome.cn/article/pcjdod.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部