db2 get dbm cfg show detail一定要手工连接实例的吗

db2start后
用db2inst1用户登录
db2 get dbm cfg show detail
结果出来:
SQL1427n  An instance attachement does not exist的事。

而使用db2 get dbm cfg 是正常的.


查了一下:SQL1427N

实例连接不存在。

说明

应用程序没有与实例相连。除非有现有的实例连接,否则不能执行尝试的命令/API。


用户响应

如果与实例断开连接时发生错误,那么继续处理。如果执行其他任何命令期间出错,那么连接一个实例并重新发出失败的命令。


一定要通过db2 attach to db2inst1后才能使用show detail吗?

参与3

2同行回答

懂了,应该说一下是静态的,一个是动态的显示全部
懂了,应该说一下是静态的,一个是动态的收起
2011-07-23
浏览1283
wangzhonnewwangzhonnew软件工程师IBM Canada Ltd.
for "show detail" option, you need to attach to instance in order to get "in-memory" value...Without "show detail", it just read db2systm file to get "on-disk" value显示全部
for "show detail" option, you need to attach to instance in order to get "in-memory" value...

Without "show detail", it just read db2systm file to get "on-disk" value收起
IT分销/经销 · 2011-07-23
浏览1250

提问者

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2011-07-23
  • 关注会员:1 人
  • 问题浏览:5149
  • 最近回答:2011-07-23
  • X社区推广