六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 67|回复: 0

db2 instance

[复制链接]

升级  60.33%

117

主题

117

主题

117

主题

举人

Rank: 3Rank: 3

积分
381
 楼主| 发表于 2013-1-13 18:36:18 | 显示全部楼层 |阅读模式
Instance:
Creating / updating / dropping the instance (be careful)
db2icrt  <instance_owner_id>
db2icrt -u <fenced_user_id> <instance_owner_id>
db2iupdt <instance_owner_id>
db2idrop <instance_owner_id>
db2ilist  - list all instances on the machine

creating an instance of DAS (db admin server) on Windows:
db2admin create /user:<name> /password:<password>
db2admin
db2admin start
db2admin stop
db2admin drop
dasidrop <das_instance_owner_id>


configuring the instance:
db2 get dbm cfg
db2 get database manager configuration

db2 update dbm cfg using diaglevel 4
db2 update database manager configuration using <param_name> <new_value>

restart the instance:
db2stop
db2start
db2 reset dbm cfg

instance config commands:
db2 get admin cfg
db2 update admin cfg using <param_name> <new_value>
db2 reset admin cfg
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表