Home > Dataroom > News Letter
 
Download
News Letter
Site Link
XpertMon ???? 47?
2007/04/05 10:45 11944


?????. DB2 ? XpertMon ??? ???!
? ????????? DB ??????.

?? ?? XpertMon ????? ????? ???? ???? ? ? ????
????? ??? ?? ??? ?? ???, ? ? ??? ?? ?????
? ? ?? ??? ???? history ??? ???? ????.
??? ???? ???? ???? ????? ??? ???? ?????? ?????.

????? db2pd ?? DB2 UDB ????? ??? ??? ???, ?? XpertMon ?
?? ?? ?????? ?????.
???? ?? ????? ???, ?? ?????? ?? ?? ???? (www.iteg.co.kr)
???? ????? ?? ? ????.
???? ?? ?? ???? ??? ??? ??? ??????. ???? ????? ?????.

The db2pd tool

db2pd ? DB2 UDB V8.2? ??? ??????, DB2 ????? ??????? ?? ???
?? ?????? ????, ???????, ??? ??, ?? SQL, ?????? ???
??? ??? ???? ??? ???.

db2pd ???? ????

1) ???? : SYSADM
2) ?? ??
? interactive mode : db2pd -interactive ???? ????, ????? db2pd> ??? ???.
?????? ???? quit ? q? ??
? 1> interactive mode?? db2pd ??

? ????? ?? ???? mode : db2pd ?? ?? ??
? 2> ????? ?? ???? mode?? db2pd ??

? ??? ??? ????? DB2PDOPT ????? ??? ???? ?? : db2pd -command file?
? 3> ??? ?? ???? db2pd ??

? 4> ???? DB2PDOPT ? ??? ???? db2pd ??


db2pd? ??? ????? XpertMon? ??? ???? ??

db2pd ???? ? ? ?? ???? ??? XpertMon ???? ??? ?????? ?????

< db2pd? ??? ???? 1 - lock ?? >
???????? lock? ???? ?? ??? ???? ?? ? ? ??? ????
?? ?? ???? ??? ? ???, ??? ?? 3?? ??? ? ? ????.
  db2pd -database sample -locks -transactions -agents -file lock.txt


  db2pd -db sample -loc -tra -age -fil lock.txt


??? lock.txt ??? ????, ?? ??? ??? ????.
< ????- lock.txt >


? -lock ???? ???? ???? ? ?? ??? share lock(Mode=S)?
    ???? ?? 3 (TranHdl=3)? ?? ????? ?? ?????.
    ??? ??? ??? ??(Sts=G) ?? ????.
? -transactions ??? ?? ???? ??? ? ?? ??? ???? ?? ?? 3?
    ?????? ?? 28?(AppHandl=28)? ??? ??? ?? ?????.
? ????? ?????? ?? ?? 28? ??? ?? ??? ??? POONS?
    ???? ? ?? ???? ?????.

????? ??? ??? ???? ?? ? -locks ???? ??(Sts)? Wating???
???? W? ????. ?? ?? ??? ??? ?? ??? ??? ???? ???
??? ? ????.

< XpertMon? ??? ???? 1- lock ?? >

???? lock wait ? ??? application ? ?? application ? ???? ?? SQL ??,
lock ? ?? ?? handle ??? ??? ?? ? ???? ??? ? ????.


lock ? ?? ?? 157? handle ? ?? ??? ? ? ????. ?? db2pd ?? ??? ???? SQL ? ?? ??? ? ? ????.





< db2pd? ??? ???? 2 - ??? Reorg ?? >
???? ???(reorg) ??? ????? ?? ? V8.2 ??? reorg ??? ????
?? GET SNAPSHOT FOR TABLES ON database ? ???? ????.
db2pd ????? ??? ?? ?? ???? ?????? reorg ??? ?? ? ????.
  db2pd -db sample -reorg file=reorg.txt


< ????- reorg.txt >

Offline reorg ????? ??? STAFF?? ???????.


?? ???? ??? ????? ???? "Started" ?? "Done"?
?? ? ???. "Done" ??? reorg ????? ????? ??
?????.

< XpertMon? ??? ???? 2- ??? reorg ?? >
???? ?? reorg ??? CFG & Snapshot ??? ??? ?????.

< db2pd? ??? ???? 3 - ??????? ?? >
V8.2??? DB2 UDB? ? ?? ???? DB2 LIST TABLESPACE SHOW DETAIL
???? ?????? ???????? ??? ??? ? ?????. V8.2?? ??
?? ??? ??? ?????? ?? ???? ??? ? ????.
  db2pd -db sample -tablespace



SAMPLE ??????? ??? ???? ???? ???????
?? 0x00000800? ?? SYSCATSPACE, USERSPACE1, SYSTOOLSPACE ?? ???
3?? ???????? ? ? ????.

db2tbst ???? ??????? ??? ???? ?? ??? ? ????.
???????? "Backup in progress" ??? ??? ?? ??? ? ?? ????.
? ??? ?? ??? ?? ? ? ????.


< XpertMon? ??? ???? 3- ??????? ?? >
XpertMon ? ???? ????? ???????? ?? ??? ?? ??? ? ? ????.

??? Total? ?? ??????? ??? ???, Exceeding Threshold ???
???? 80%? ?? ???????? ??? ????.
Abnormal ? ??????? ??? ??? ?? ???????? ??? ?????.
??? ?? ??? Quiesce ? Backup pending , Restore pending, Rollforward pending,
Offline ?? ?????.

?? ??? ???? ?? ???????? ???? ????? ? ? ????.
??? ?? ?? ???????? ??? container ??? ????, ??? ???
???????? ??? ?? ??????????.



XpertMon for DB2 UDB V2
DB ???
Tel : 02-2108-1458
Fax : 02-2108-1459
Mobile : 011-896-6545
E-mail : hjlee@iteg.co.kr
URL : http://iteg.co.kr

¡ã XpertMon ???? 48? iteg 2007-04-05 10926
- XpertMon ???? 47? iteg 2007-04-05 11944
¡å XpertMon ???? 46? iteg 2007-03-22 10695
List Write Modify