db2常用命令大全 db2數(shù)據(jù)庫當前連接數(shù)如何查看?
db2數(shù)據(jù)庫當前連接數(shù)如何查看?1:直接命令如下:DB2 list application show detail view connectionDB2 force application(Id1,I
db2數(shù)據(jù)庫當前連接數(shù)如何查看?
1:直接命令如下:
DB2 list application show detail view connection
DB2 force application(Id1,Id2)disconnect
2:連接到數(shù)據(jù)庫后,使用get DB CFG for database查看maxappls和AVG appls的值。
使用update DB CFG for database using maxappls number使maxappls變大。
3:在控制中心,您還可以設置:列出所有應用程序以查看當前進程
步驟1:進入DB2命令窗口:db2cmd步驟2:激活DB2數(shù)據(jù)庫:db2start步驟3:連接到DB2數(shù)據(jù)庫:DB2 connect to dbname,其中dbname是數(shù)據(jù)庫實例