亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

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

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

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

宣威市| 安远县| 鱼台县| 潞城市| 肇州县| 牙克石市| 渝中区| 许昌市| 平顶山市| 嘉兴市| 白沙| 咸宁市| 陵川县| 吴旗县| 内黄县| 博爱县| 商洛市| 垫江县| 新昌县| 班戈县| 同江市| 云安县| 民勤县| 威宁| 辽阳市| 达州市| 蛟河市| 秭归县| 靖边县| 济宁市| 浪卡子县| 米泉市| 宕昌县| 含山县| 黑龙江省| 龙江县| 呼伦贝尔市| 庆云县| 巨鹿县| 河北区| 司法|