【DB 2學習】檢視一個資料庫的配置檔案

楊奇龍發表於2010-09-16

db2 => get db cfg for sample
       資料庫 sample 的資料庫配置
 資料庫配置發行版級別                                    = 0x0c00
 資料庫發行版級別                                        = 0x0c00

 資料庫地域                                              = CN
 資料庫內碼表                                            = 1208
 資料庫程式碼集                                            = UTF-8
 資料庫國家/地區程式碼                                    = 86
 資料庫整理順序                                          = IDENTITY
 備用整理順序                              (ALT_COLLATE) =
 數字相容性                                              = OFF
 Varchar2 相容性                                         = OFF
 資料庫頁大小                                            = 8192

 動態 SQL 查詢管理                      (DYN_QUERY_MGMT) = DISABLE

 對此資料庫的發現支援                      (DISCOVER_DB) = ENABLE

 限制訪問                                                = NO
 預設查詢最佳化類                           (DFT_QUERYOPT) = 5
 並行度                                     (DFT_DEGREE) = 1
 在算術異常時繼續                      (DFT_SQLMATHWARN) = NO
 預設重新整理有效期                        (DFT_REFRESH_AGE) = 0
 預設維護的選項(DFT_MTTB_TYPES)的表型別                = SYSTEM
 保留的高頻值的數目                     (NUM_FREQVALUES) = 10
 保留的分位點數目                        (NUM_QUANTILES) = 20

 十進位制浮點舍入方式                    (DECFLT_ROUNDING) = ROUND_HALF_EVEN
 備份暫掛                                                = NO
 資料庫是一致的                                          = NO
 前滾暫掛                                                = NO
 復原暫掛                                                = NO
 啟用的多頁檔案分配                                      = YES
 恢復狀態的日誌保留                                      = RECOVERY
 日誌記錄狀態的使用者出口                                  = YES
 自調整記憶體                            (SELF_TUNING_MEM) = OFF
 資料庫共享記憶體大小(4KB)             (DATABASE_MEMORY) = AUTOMATIC
 資料庫記憶體閾值                          (DB_MEM_THRESH) = 10
 鎖定列表的最大儲存量(4KB)                   (LOCKLIST) = 50
 每個應用程式的鎖定百分比列表                 (MAXLOCKS) = 22
 程式包快取記憶體大小(4KB)                  (PCKCACHESZ) = (MAXAPPLS*8)
 共享排序的排序堆域值(4KB)            (SHEAPTHRES_SHR) = 5000
 排序列表堆(4KB)                            (SORTHEAP) = 256

 資料庫堆(4KB)                                (DBHEAP) = AUTOMATIC
 目錄快取記憶體大小(4KB)               (CATALOGCACHE_SZ) = (MAXAPPLS*4)
 日誌緩衝區大小(4KB)                         (LOGBUFSZ) = 8
 實用程式堆大小(4KB)                    (UTIL_HEAP_SZ) = 5000
 緩衝池大小(頁)                             (BUFFPAGE) = 250
 SQL 語句堆(4KB)                            (STMTHEAP) = AUTOMATIC
 預設應用程式堆(4KB)                      (APPLHEAPSZ) = AUTOMATIC
 應用程式記憶體大小(4KB)                (APPL_MEMORY) = AUTOMATIC
 統計資訊堆大小(4KB)                    (STAT_HEAP_SZ) = AUTOMATIC

 檢查死鎖的時間間隔(毫秒)                  (DLCHKTIME) = 10000
 鎖定超時(秒)                             (LOCKTIMEOUT) = -1

 更改的頁閾值                           (CHNGPGS_THRESH) = 60
 非同步頁清除程式的數目                   (NUM_IOCLEANERS) = AUTOMATIC
 I/O 伺服器的數目                        (NUM_IOSERVERS) = AUTOMATIC
 索引排序標誌                                 (INDEXSORT) = YES
 順序檢測標誌                                (SEQDETECT) = YES
 預設預取大小(頁)                    (DFT_PREFETCH_SZ) = AUTOMATIC

 跟蹤修改的頁數                               (TRACKMOD) = ON

 容器的預設數目                                          = 1
 預設表空間擴充套件資料塊大小(頁)            (DFT_EXTENT_SZ) = 32

 最大活動應用程式數                           (MAXAPPLS) = AUTOMATIC
 活動應用程式的平均數目       (AVG_APPLS) = AUTOMATIC
 每個應用程式的最大開啟資料庫檔案數           (MAXFILOP) = 32768

 日誌檔案大小(4KB)                         (LOGFILSIZ) = 1000
 主日誌檔案的數目                           (LOGPRIMARY) = 3
 輔助日誌檔案的數目                          (LOGSECOND) = 2
 已更改的至日誌檔案的路徑                   (NEWLOGPATH) =
 日誌檔案路徑                                            = D:\DB2\NODE0000\SQL00
002\SQLOGDIR\
 溢位日誌路徑                          (OVERFLOWLOGPATH) =
 映象日誌路徑                            (MIRRORLOGPATH) =
 首個活動日誌檔案                                        = S0000016.LOG
 磁碟上已滿的塊日誌                    (BLK_LOG_DSK_FUL) = NO
 事務使用的最大主日誌空間的百分比        (MAX_LOG)= 0
 1 個活動 UOW 的活動日誌檔案的數目        (NUM_LOG_SPAN) = 0

 組落實計數                                  (MINCOMMIT) = 1
 軟檢查點前回收的日誌檔案的百分比              (SOFTMAX) = 100
 啟用的恢復的日誌保留                        (LOGRETAIN) = RECOVERY
 啟用的日誌記錄的使用者出口                     (USEREXIT) = ON

 HADR 資料庫角色                                          = STANDARD
 HADR 本地主機名                        (HADR_LOCAL_HOST) =
 HADR 本地服務名稱                       (HADR_LOCAL_SVC) =
 HADR 遠端主機名                       (HADR_REMOTE_HOST) =
 HADR 遠端服務名稱                      (HADR_REMOTE_SVC) =
 遠端伺服器的 HADR 例項名              (HADR_REMOTE_INST) =
 HADR 超時值                               (HADR_TIMEOUT) = 120
 HADR 日誌寫同步方式                      (HADR_SYNCMODE) = NEARSYNC
 HADR 對等視窗持續時間(秒)       (HADR_PEER_WINDOW) = 0

 第一個日誌歸檔方法                        (LOGARCHMETH1) = USEREXIT
 logarchmeth1 的選項                        (LOGARCHOPT1) =
 第二個日誌歸檔方法                        (LOGARCHMETH2) = OFF
 logarchmeth2 的選項                        (LOGARCHOPT2) =
 故障轉移日誌歸檔路徑                     (FAILARCHPATH) =
 錯誤時重試日誌歸檔次數                   (NUMARCHRETRY) = 5
 日誌歸檔重試延遲(秒)                 (ARCHRETRYDELAY) = 20
 供應商選項                                  (VENDOROPT) =

 啟用的自動重新啟動                        (AUTORESTART) = ON
 索引重新建立時間和重做索引構建               (INDEXREC) = SYSTEM (RESTART)
 在索引構建期間記錄頁                    (LOGINDEXBUILD) = OFF
 loadrec 會話的預設數目                (DFT_LOADREC_SES) = 1
 要保留的資料庫備份的數目               (NUM_DB_BACKUPS) = 12
 恢復歷史記錄保留時間(天數)          (REC_HIS_RETENTN) = 366
 自動刪除恢復物件                     (AUTO_DEL_REC_OBJ) = OFF

 TSM 管理類                              (TSM_MGMTCLASS) =
 TSM 節點名                               (TSM_NODENAME) =
 TSM 所有者                                  (TSM_OWNER) =
 TSM 密碼                                 (TSM_PASSWORD) =

 自動維護                                   (AUTO_MAINT) = ON
   自動資料庫備份                       (AUTO_DB_BACKUP) = OFF
   自動錶維護                           (AUTO_TBL_MAINT) = ON
     自動 runstats                       (AUTO_RUNSTATS) = ON
       自動語句統計資訊                  (AUTO_STMT_STATS) = OFF
     自動統計資訊概要分析              (AUTO_STATS_PROF) = OFF
       自動概要檔案更新                  (AUTO_PROF_UPD) = OFF
     自動重組                       (AUTO_REORG) = OFF
 啟用 XML 字元操作                      (ENABLE_XMLCHAR) = YES
 WLM 收集時間間隔(分鐘)              (WLM_COLLECT_INT) = 0

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-674195/,如需轉載,請註明出處,否則將追究法律責任。

相關文章