91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

11g 自動收集統計信息

發布時間:2020-06-30 01:38:44 來源:網絡 閱讀:383 作者:xychong123 欄目:關系型數據庫

13Automatic Optimizer Statistics Collection


打開:

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

關閉:

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

數據庫監視這每個表的變化信息,當變化超過10%就自動收集統計信息:

(查詢統計信息是否過期?DBA_TAB_STATISTICS

Monitoring tracks the approximate number of INSERTs, UPDATEs, and DELETEs for that table and whether the table has been truncated since the last time statistics were gathered. You can access information about changes of tables in the USER_TAB_MODIFICATIONS view. Following a data-modification, there may be a few minutes delay while Oracle Database propagates the information to this view. Use the DBMS_STATS.FLUSH_DATABASE_MONITORING_INFO procedure to immediately reflect the outstanding monitored information kept in the memory.

The GATHER_DATABASE_STATS or GATHER_SCHEMA_STATS procedures gather new statistics for tables with stale statistics when the OPTIONS parameter is set to GATHER STALE orGATHER AUTO. If a monitored table has been modified more than 10%, then these statistics are considered stale and gathered again.

When to Use Manual Statistics?
  • Volatile tables that are deleted or truncated and rebuilt during the course of the day.

  • Objects that are the target of large bulk loads which add 10% or more to the object's total size.

 


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

兴义市| 喀喇沁旗| 白河县| 吉木乃县| 南岸区| 皋兰县| 靖边县| 遂平县| 安溪县| 米泉市| 阳朔县| 磐石市| 扶绥县| 罗山县| 汪清县| 潞城市| 泸定县| 霍山县| 博兴县| 堆龙德庆县| 张家界市| 佛学| 伊金霍洛旗| 宿迁市| 临汾市| 保德县| 静乐县| 公主岭市| 南昌县| 建湖县| 灵丘县| 固原市| 连南| 建水县| 安义县| 晋中市| 米易县| 邵武市| 汉中市| 明溪县| 阿瓦提县|