ora-01654pk_sceautosm无法通过8(在表空间servicxe_main_idx扩展)
2015-10-15 19:45
501 查看
1. 检查一下表空间的占用情况
2. 检查索引扩展情况:
select s.index_name,
s.table_name,
s.tablespace_name,
s.initial_extent,
s.next_extent
from user_indexes s
where s.index_name = 'pk_sceautosm'
INDEX_NAME
TABLE_NAME
TABLESPACE_NAME
INITIAL_EXTENT
NEXT_EXTENT(为空)
两种可能,一种next_extent自动扩展导致表空间满,无法扩展
另外一种可能就是next_extent有数值,但是远大于表空间剩余的空间,因此无法扩展。
总之就是表空间空间不够了。
alter database datafile 'D:\ORACLE\ORADATA\DMSDB\DIMS_INVALID_PICTURE2.DBF' resize 1000M
或者增加数据文件
alter tablespace servicxe_main_idx add datafile 'D:\ORACLE\ORADATA\DMSDB\DIMS_INVALID_PICTURE3.DBF' size
1024M;
重建索引
alter index
pk_sceautosm rebuild tablespace servicxe_main_idx storage(initial 256K next 256K pctincrease 0):
重建索引的时候可能会报:ora-01658:无法为表空间中的段创建initial区解决办法。
基本还是表空间满的问题,增加数据文件或者resize一下大小就可以。参见上面的方法。
2. 检查索引扩展情况:
s.table_name,
s.tablespace_name,
s.initial_extent,
s.next_extent
from user_indexes s
where s.index_name = 'pk_sceautosm'
INDEX_NAME
TABLE_NAME
TABLESPACE_NAME
INITIAL_EXTENT
NEXT_EXTENT(为空)
两种可能,一种next_extent自动扩展导致表空间满,无法扩展
另外一种可能就是next_extent有数值,但是远大于表空间剩余的空间,因此无法扩展。
总之就是表空间空间不够了。
alter database datafile 'D:\ORACLE\ORADATA\DMSDB\DIMS_INVALID_PICTURE2.DBF' resize 1000M
或者增加数据文件
alter tablespace servicxe_main_idx add datafile 'D:\ORACLE\ORADATA\DMSDB\DIMS_INVALID_PICTURE3.DBF' size
1024M;
重建索引
alter index
pk_sceautosm rebuild tablespace servicxe_main_idx storage(initial 256K next 256K pctincrease 0):
重建索引的时候可能会报:ora-01658:无法为表空间中的段创建initial区解决办法。
基本还是表空间满的问题,增加数据文件或者resize一下大小就可以。参见上面的方法。
相关文章推荐
- POJ1681 Painter's Problem 高斯消元+枚举
- the working copy"" failed to commit files.
- Tair LDB基于Prefixkey中期范围内查找性能优化项目总结
- Codeforces Round #320 (Div. 2) A. Raising Bacteria
- UNIX Domain Socket-同一台主机的进程间通讯(IPC)
- C. Captain Marmot (Codeforces Round #271)
- 8.Contains Duplicate
- hdu 4251 The Famous ICPC Team Again(划分树)
- 3.1.11 WM_PAINT消息
- iphone使用keychain来存取用户名和密码
- failed to load OpenCL runtime
- Scope Chain(作用域链)
- int main(int argc, char* argv[])
- rabbitmq High Availability
- linker command failed with exit code 1 (use -v to see invocation)的异常调试
- RAID独立冗余磁盘阵列
- http://blog.csdn.net/moxiaomomo/article/details/8490917
- SSH 登陆失败: Host key verification failed
- a20_TF_Waiting for root device /dev/mmcblk1p2...
- failed: Error during WebSocket handshake: Unexpected response code: 200