Cannot drop the Space,怎么解决?
$ onspaces -d testdbsWARNING: Dropping a DBspace.
Do you really want to continue? (y/n)y
Cannot drop the Space.
ISAM error: DBspace is not empty oncheck -pe dbspacename
to check if any data in the dbspace,if have, delete them before drop dbspace. 有没有更好的办法,每次查找好多表,都要drop太麻烦了,有没有更好办法,感觉不如oracle方便,可以直接drop 表空间
回复 #3 wysfenghuo007 的帖子
dbspace -> database -> 表你要刪 dbspace , 要先刪 database, 表就跟著消失了, 不用一個一個表刪除吧? 我database中可能有好几个dbspaces,那我要drop database,那别的dbspaces中的数据不是也丢了吗?
回复 #5 wysfenghuo007 的帖子
dbspace 和 database 我們可能看法不同我以為
oracle: tablespace = informix:dbspace
oracle:database = informix:database
dbspace > database
informix:dbdpace 空間可以放置許多 database, database 內有很多table(表)
你一開始 onspaces -d testdbs 要刪除 testdbs, 但是回應其上還有database, 所以要先刪除 dbspace 下的database, 才能 drop testdbs
若是錯了, 再請網兄補充. 可能咱两个人对dbspace理解不同,我有可能受oracle数据库的影响。
我的操作:
$ onspaces -d geo3d_data2
WARNING: Dropping a DBspace.
Do you really want to continue? (y/n)y
Cannot drop the Space.
ISAM error: DBspace is not empty
$ onspaces -d geo3d_dbs
WARNING: Dropping a DBspace.
Do you really want to continue? (y/n)y
Cannot drop the Space.
ISAM error: DBspace is not empty
事实上我的数据库是geo3d,创建在dbspace是geo3d_dbs,但是我数据库geod中的有些表是建在geo3d_data2的dbspaces中,但是我删除dbspaces时,并没有提醒我删除database。
呵呵,不过,我是新手,刚开始学习informix,有些概念不太理解。能否留个qq,互相交流学习以下,
多谢。
我的qq:342234876
页:
[1]