互联网服务数据库

db2 connect reset 与commite 、terminate的区别??

db2 connect  reset 与commite 、terminate的区别??
参与9

8同行回答

freebilefreebile数据库运维工程师金融行业
nice ,very good显示全部
nice ,very good收起
金融其它 · 2012-02-20
浏览1316
mathrmathr系统架构师IBM
学习了:)显示全部
学习了:)收起
互联网服务 · 2012-02-20
浏览1231
sgphappy2007sgphappy2007数据库管理员易宝支付
回答的挺好显示全部
回答的挺好收起
互联网服务 · 2012-02-20
浏览1281
penguinhepenguinhe数据库管理员北京
回复 3# fyhlove    best answer!显示全部
回复 3# fyhlove


   best answer!收起
金融其它 · 2011-04-24
浏览1298
stephensun123stephensun123软件开发工程师SAP China
Please note there is an implicit commit for CONNECT RESET and TERMINATE. For CLPPlus, QUIT will also issue commit by default;The DISCONNECT statement (can only be embedded within an application program) will not result in a commit operation.显示全部
Please note there is an implicit commit for CONNECT RESET and TERMINATE.
For CLPPlus, QUIT will also issue commit by default;
The DISCONNECT statement (can only be embedded within an application program) will not result in a commit operation.收起
互联网服务 · 2011-04-23
浏览1360
drdb2drdb2系统工程师se
回复 3# wangzhonnew This is the very best answer显示全部
回复 3# wangzhonnew

This is the very best answer收起
互联网服务 · 2011-04-16
浏览1229
fyhlovefyhlove数据库管理员上海诺祺科技有限公司
db2 connect  reset 的意思是连接重置db2 commit 提交当前事务db2 terminate 相当于先connect reset后quit显示全部
db2 connect  reset 的意思是连接重置
db2 commit 提交当前事务
db2 terminate 相当于先connect reset后quit收起
IT分销/经销 · 2011-04-15
浏览1425
wangzhonnewwangzhonnew软件工程师IBM Canada Ltd.
connect reset,断开连接,但是后台db2bp依然存在terminate,中断连接,干掉db2bp(taoewang@db2debug) /home/taoewang $ db2 connect to sample   Database Connection Information Database server        = DB2/AIX64 9.7.3 SQL auth...显示全部
connect reset,断开连接,但是后台db2bp依然存在
terminate,中断连接,干掉db2bp

(taoewang@db2debug) /home/taoewang $ db2 connect to sample

   Database Connection Information

Database server        = DB2/AIX64 9.7.3
SQL authorization ID   = TAOEWANG
Local database alias   = SAMPLE

(taoewang@db2debug) /home/taoewang $ ps -elf | grep -i db2bp | grep taoewang
  240001 A taoewang 16597040        1   0  60 20 12cd6b3400  3420          08:56:19      -  0:00 /home/taoewang/sqllib/bin/db2bp 16437340A21406 5 A
  200001 A taoewang 16781316 16437340   2  60 20 1001a00400   212 f10001102d102118 08:56:28  pts/4  0:00 gnugrep -i db2bp
(taoewang@db2debug) /home/taoewang $ db2 connect reset
DB20000I  The SQL command completed successfully.
(taoewang@db2debug) /home/taoewang $ ps -elf | grep -i db2bp | grep taoewang
  240001 A taoewang 16597040        1   0  60 20 12cd6b3400  3428          08:56:19      -  0:00 /home/taoewang/sqllib/bin/db2bp 16437340A21406 5 A
  200001 A taoewang 16781318 16437340   2  61 20 16dddb7400   212 f10001102b967180 08:56:34  pts/4  0:00 gnugrep -i db2bp
(taoewang@db2debug) /home/taoewang $ db2 terminate
DB20000I  The TERMINATE command completed successfully.
(taoewang@db2debug) /home/taoewang $ ps -elf | grep -i db2bp | grep taoewang
  200001 A taoewang 16785424 16437340   2  61 20 163dd8f400   212 f10001102b967180 08:56:39  pts/4  0:00 gnugrep -i db2bp
(taoewang@db2debug) /home/taoewang $收起
IT分销/经销 · 2011-04-15
浏览1435

提问者

wangqh_2008
数据库管理员科迈
擅长领域: 中间件portal

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2011-04-15
  • 关注会员:1 人
  • 问题浏览:12800
  • 最近回答:2012-02-20
  • X社区推广