DB2實用命令記錄

quiesce tablespacehtml

quiesce tablespaces for table <table_name> share;node

Monitor Switchesapp

details on http://publib.boulder.ibm.com/infocenter/db2luw/v10r1/topic/com.ibm.db2.luw.admin.mon.doc/doc/c0005719.htmlui


update monitor switches on instance level - With the IBM client on the server machine(it would not take affect with client not on the server)spa

DB2 UPDATE DBM CFG USING DFT_MON_BUFPOOL ONserver

DB2 UPDATE DBM CFG USING DFT_MON_LOCK ONhtm

DB2 UPDATE DBM CFG USING DFT_MON_SORT ONget

DB2 UPDATE DBM CFG USING DFT_MON_STMT ONcmd

DB2 UPDATE DBM CFG USING DFT_MON_TABLE ONit

DB2 UPDATE DBM CFG USING DFT_MON_TIMESTAMP OFF

DB2 UPDATE DBM CFG USING DFT_MON_UOW ON


Update monitor switches on application level

db2 update monitor switches using BUFFERPOOL off global

Reset monitor switches

DB2 Reset DBM CFG

see details on http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.cmd.doc/doc/r0001970.html

Check the DB2 server version

SELECT SERVICE_LEVEL FROM SYSIBMADM.ENV_INST_INFO FOR FETCH ONLY WITH UR

Config Server with command

DB2 CATALOG TCPIP NODE [nodename] REMOTE [IP] SERVER [Port]
     DB2 CATALOG DATABASE [dbname] AS [dbalias] AT NODE [nodename]

DB2 UNCATALOG NODE [nodename]

相關文章
相關標籤/搜索