Oracle 12cR2
創新互聯公司專注為客戶提供全方位的互聯網綜合服務,包含不限于網站制作、成都網站建設、弓長嶺網絡推廣、成都小程序開發、弓長嶺網絡營銷、弓長嶺企業策劃、弓長嶺品牌公關、搜索引擎seo、人物專訪、企業宣傳片、企業代運營等,從售前售中售后,我們都將竭誠為您服務,您的肯定,是我們最大的嘉獎;創新互聯公司為所有大學生創業者提供弓長嶺建站搭建服務,24小時服務熱線:13518219792,官方網址:vcdvsql.cn
性能優化文檔。
https://docs.oracle.com/database/122/TDPPT/oracle-database-performance-method.htm#TDPPT007
Database statistics provide information about the type of load on the database and the internal and external resources used by the database. To accurately diagnose performance problems with the database using ADDM, statistics must be available.
A cumulative statistic is a count such as the number of block reads. Oracle Database generates many types of cumulative statistics for the system, sessions, and individual SQL statements. Oracle Database also tracks cumulative statistics about segments and services. Automatic Workload Repository (AWR) automates database statistics gathering by collecting, processing, and maintaining performance statistics for database problem detection and self-tuning purposes.
By default, the database gathers statistics every hour and creates an AWR snapshot, which is a set of data for a specific time that is used for performance comparisons. The delta values captured by the snapshot represent the changes for each statistic over the time period. Statistics gathered by AWR are queried from memory. The gathered data can be displayed in both reports and views.
--每小時收集一次AWR快照
The following initialization parameters are relevant for AWR:
--下面是兩個和AWR相關的參數。
STATISTICS_LEVEL
Set this parameter to TYPICAL (default) or ALL to enable statistics gathering by AWR. Setting STATISTICS_LEVEL to BASIC disables many database features, including AWR, and is not recommended.
--設置以上參數為basic會禁用掉很多數據庫特性,包括AWR,不建議設置basic
CONTROL_MANAGEMENT_PACK_ACCESS
Set to DIAGNOSTIC+TUNING (default) or DIAGNOSTIC to enable automatic database diagnostic monitoring. Setting CONTROL_MANAGEMENT_PACK_ACCESS to NONE disables many database features, including ADDM, and is strongly discouraged.
--關閉此參數會禁用掉很多數據庫的特性,包括ADDM,不建議關閉。
SQL> show parameter statistics_level --默認值不需要修改
NAME TYPE VALUE
------------------------ ----------- ------------------------------
statistics_level string TYPICAL
SQL> show parameter control_management --默認值不需要修改
NAME TYPE VALUE
-------------------------------------- ----------- ------------------------------
control_management_pack_access string DIAGNOSTIC+TUNING
SQL>
以上大家知道我們收集到AWR信息是和那些參數有關,默認設置即可,不需要修改。
建議大家看英文官方文檔,學英語學技術,哦也!
當前題目:12cR2_AWR相關參數設置
文章路徑:http://vcdvsql.cn/article12/iipogc.html
成都網站建設公司_創新互聯,為您提供網站維護、ChatGPT、定制開發、定制網站、企業網站制作、網站導航
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯