银行

几个基础问题

1:  load表后经常会出现表空间处于backup pending状态。除了备份表空间外有没有什么方法可以让这个表空间恢复nomal的状态!2:    db2的默认日期格式是:YYYY-MM-DD吗?能不能修改啊?如何查看我当前数据库的默认格式哪?还有时间格式是什么样子的哪?
3:  load过程都会出现什么情况,load如果中途断掉,是不是表和表空间都可能会处于不能写的状态。
4:  import和load是不是都可以从客户端操作啊?export哪?
参与12

11 同行回答

angle2005 angle2005 软件开发工程师 暴雪
回复 7# wangweilong     http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.admin.nls.doc/doc/r0004572.html显示全部
回复 7# wangweilong


   
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.admin.nls.doc/doc/r0004572.html 收起
互联网服务 · 2013-08-08
浏览1051
angle2005 angle2005 软件开发工程师 暴雪
回复 7# wangweilong     请参考IMB DB2 Infomation Centerhttp://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.cmd.doc%2Fdoc%2Fr0001935.html显示全部
互联网服务 · 2013-08-08
浏览1096
wangweilong wangweilong 数据库管理员 某大
回复 3# angle2005    db2 bind @db2ubind.lst datetime ISO blocking all grant public这种命令能不能具体解释一下意思?或者给个官方解释的地址?显示全部
回复 3# angle2005


   db2 bind @db2ubind.lst datetime ISO blocking all grant public

这种命令能不能具体解释一下意思?或者给个官方解释的地址? 收起
互联网服务 · 2013-08-08
浏览1135
angle2005 angle2005 软件开发工程师 暴雪
1.出现backup pending的话,可以通过备份表空间或者数据库消除备份暂挂。backup pending提示DBA要在load后对表空间做备份,否侧出问题无法恢复。可以选择使用LOAD的COPY YES选项2.默认日期格式2013-08-07-16.47.44,查看日期格式db2 values current date,可以通过db2 connect t...显示全部
1.出现backup pending的话,可以通过备份表空间或者数据库消除备份暂挂。backup pending提示DBA要在load后对表空间做备份,否侧出问题无法恢复。可以选择使用LOAD的COPY YES选项
2.默认日期格式2013-08-07-16.47.44,查看日期格式db2 values current date,可以通过db2 connect to SPL
db2 bind @db2ubind.lst datetime ISO blocking all grant public进行修改。
3.load过程会出现backup pending,load pengding,load in progress,unavailable等情况,load命令一旦发起,表空间立即处于backup pengding状态,即使中断,也不能脱离此状态。
4.export和import只能在服务器上操作,load既可以在服务器上操作,也可以在客户端上操作。 收起
互联网服务 · 2013-08-07
浏览1094

    提问者

    wangzk0206
    数据库管理员 scrcu
    评论991

    问题状态

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