- 最后登录
- 2015-4-22
- 在线时间
- 122 小时
- 威望
- 133
- 金钱
- 1304
- 注册时间
- 2012-2-22
- 阅读权限
- 50
- 帖子
- 144
- 精华
- 1
- 积分
- 133
- UID
- 254
|
1#
发表于 2012-5-28 15:33:42
|
查看: 5616 |
回复: 5
- create undo tablespace UNDOTBS1 DATAFILE '/u02/oradata/SID/undotbs01.dbf' SIZE 1G REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED;
- alter system set undo_tablespace=UNDOTBS1 scope=both;
- select usn,xacts,status,rssize/1024/1024/1024,hwmsize/1024/1024/1024,shrinks from v$rollstat order by rssize;
- drop tablespace UNDOTBS2 including contents and datafiles;
- 空间并没有释放
- $ /usr/sbin/lsof | grep undotbs02 其他的spid已经查询,不是后台进程,也不是active进程现在有一个进程为后台进程不能kill,怎么办:$ /usr/sbin/lsof | grep undotbs02
- oracle 9684 oracle 19u REG 104,6 24589115392 12730369 /u02/oradata/SID/undotbs02.dbf (deleted)
- $ ps -ef | grep 9684
- oracle 8752 28709 0 15:33 pts/8 00:00:00 grep 9684oracle 9684 1 0 2011 ? 00:01:51 ora_q002_SID
复制代码
[ 本帖最后由 saup007 于 2012-5-28 18:16 编辑 ] |
|