新聞中心
DB2快照監(jiān)控可能對于很多剛接觸DB2數(shù)據(jù)庫的新人來說還比較陌生,下面就為你介紹DB2快照監(jiān)控的項等知識,供您參考學習之用。

創(chuàng)新互聯(lián)公司網(wǎng)站建設公司一直秉承“誠信做人,踏實做事”的原則,不欺瞞客戶,是我們最起碼的底線! 以服務為基礎,以質(zhì)量求生存,以技術求發(fā)展,成交一個客戶多一個朋友!專注中小微企業(yè)官網(wǎng)定制,成都網(wǎng)站設計、做網(wǎng)站,塑造企業(yè)網(wǎng)絡形象打造互聯(lián)網(wǎng)企業(yè)效應。
DB2快照監(jiān)控的項:
Sorts: Number of heaps used, overflows, sorts performance, 【SORT】【 DFT_MON_SORT】
Locks: Number of locks held, number of deadlocks,【 LOCK】【 DFT_MON_LOCK】
Tables: Measure activity (rows read, rows written),【 TABLE】【 DFT_MON_TABLE】
Bufferpools: Number of reads and writes, time taken,【 BUFFERPOOL】【 DFT_MON_BUFPOOL】
Unit of work: Start times, end times, completion status,【 UOW】【 DFT_MON_UOW】
SQL statements: Start time, stop time, statement identification,【 STATEMENT】【DFT_MON_STMT】
Timestamps: Monitors timestamp,【 TIMESTAMP】【 DFT_MON_TIMESTAMP】
通過下面兩個命令都可以打開監(jiān)控項:
UPDATE DBM CONFIGURATION USING DFT_MON_STMT ON
修改該參數(shù)不需要重啟實例將起作用,它將作用于該實例中的每個數(shù)據(jù)庫(除過這幾個監(jiān)控參數(shù)外,其它對實例參數(shù)的修改需要重啟實例方生效)。
UPDATE MONITOR SWITCHES USING STATEMENT ON
該命令使該選項只在該會話中起作用,斷開后將失效。
獲取監(jiān)控項快照的可用級別:
Database manager - Captures information for an active instance
Database - Captures database(s) information
Application - Captures application(s) information
Bufferpools - Captures buffer pool activity information
Table space - Captures information for table spaces within a database
Table - Captures information for tables within a database
Lock - Captures information for locks held by applications against a database
Dynamic SQL cache - Captures point-in-time statement information from the SQL statement cache for the database
查看監(jiān)控開關:
GET MONITOR SWITCHES--查看當前會話的監(jiān)控設置
【編輯推薦】
教您如何實現(xiàn)DB2在線導入
db2存儲過程常用語句
DB2 CREATE SERVER語句的用法
DB2 Merge語句的用法
DB2流程控制子句一覽
文章標題:帶您了解DB2快照監(jiān)控
本文網(wǎng)址:http://m.fisionsoft.com.cn/article/coehhdc.html


咨詢
建站咨詢
