免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 25556 | 回复: 19
打印 上一主题 下一主题

继续请教,关于"Table space access is not allowed."(已解决了,谢谢) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-28 11:48 |只看该作者 |倒序浏览
在table 中插入一个数据,返回以下出错,请问应该怎样解决?

SQL0290N  Table space access is not allowed.

备份后,解决问题了,赫赫,谢谢各位

[ 本帖最后由 smallpig815 于 2007-12-3 10:21 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-09-28 12:03 |只看该作者
SQL0290N  Table space access is not allowed.  SQLSTATE=55039

SQL0290N  Table space access is not allowed.

Explanation:

A process attempted to access a table space which is in an
invalid state for which the intended access is not allowed.  

o   If the table space is in a quiesced state, only processes     
    which also hold the table space in a quiesced state are      
    allowed access to the table space.  

o   If the table space is in any other state, only the process   
    which is performing the action specified is allowed access to
    the table space.  

o   A system or user temporary table space cannot be dropped      
    which contains active system or declared temporary tables.  

o   The SET CONTAINER api cannot be used to set the container     
    list unless the table space is in a "restore pending"
    state.  



User Response:

Possible actions include:

o   If the table space is in a quiesced state, attempt to acquire
    a quiesced share or quiesced update state on the table space.
    Or, attempt to quiesce reset the table space.  

o   If the table space is in any other state, wait until the      
    table space has returned to normal state before attempting to
    access the table space.  



Refer to the Administration Guide for further information about
the table space states.  

sqlcode :   -290

sqlstate :  55039

论坛徽章:
0
3 [报告]
发表于 2007-09-28 13:09 |只看该作者
注意tablespace包含的容器是否赋予了用户的访问权限

论坛徽章:
0
4 [报告]
发表于 2007-09-28 13:48 |只看该作者
一直都是用那一个用户进行insert的,访问权限应该没有问题吧

论坛徽章:
0
5 [报告]
发表于 2007-09-28 16:07 |只看该作者
db2 list tablespaces show detail 看看表空间的state

论坛徽章:
0
6 [报告]
发表于 2007-09-28 16:23 |只看该作者
Tablespace ID                        = 2
Name                                 = USERSPACE1
Type                                 = System managed space
Contents                             = Any data
State                                = 0x0020
Detailed explanation:
   Backup pending


出来了..应该就是Backup pending 的问题

论坛徽章:
0
7 [报告]
发表于 2007-09-28 18:40 |只看该作者
那就backup database就ok了

论坛徽章:
0
8 [报告]
发表于 2007-09-28 19:24 |只看该作者
请问怎样才能防止以后发生类似的情况呢

剧了解,应该没有做过LOAD或者修改DB的配置的

论坛徽章:
0
9 [报告]
发表于 2007-09-29 12:04 |只看该作者
归档的数据库做过load,我想可能有人做过,或者改了参数重新启动了db

论坛徽章:
0
10 [报告]
发表于 2007-09-29 14:03 |只看该作者
A process attempted to access a table space which is in an
invalid state for which the intended access is not allowed
错误代码的解释很清楚。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP