Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 12c turn off statistics collection and enable statistics collection

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Oracle 12c turn off statistics collection and enable statistics collection-- turn off statistics col client_name for a60select client_name,status from DBA_AUTOTASK_CLIENT CLIENT_NAME STATUS----auto optimizer stats collection ENABLEDauto space advisor ENABLEDsql tuning advisor ENABLEDbeginDBMS_AUTO_TASK_ADMIN.DISABLE (client_name = > 'auto optimizer stats collection' Operation = > NULL,window_name = > NULL) End;/PL/SQL procedure successfully completed.-- enables statistics collection select client_name,status from DBA_AUTOTASK_CLIENT CLIENT_NAME STATUS----auto optimizer stats collection DISABLEDauto space advisor ENABLEDsql tuning advisor ENABLEDSQL > beginDBMS_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 ENABLEDauto space advisor ENABLEDsql tuning advisor ENABLEDSQL >

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report