ORA-01654 索引index_name无法通过92169 (在表空间PK_DW_MAADMINISTRATION中)扩展”

  • A+
所属分类:Oracle 编程开发

"ORA-01654: 索引DIMS.IDX_INVALID_PICNAME无法通过92169(在表空间PK_DW_MAADMINISTRATION中)扩展"

ORA-01654  索引index_name无法通过92169 (在表空间PK_DW_MAADMINISTRATION中)扩展

1.有可能是索引表空间不够

select sum(bytes/1024/1024) sizeMB from dba_free_space z where z.tablespace_name='PK_DW_MAADMINISTRATION'

但是通过查询发现是

select s.index_name,
s.table_name,
s.tablespace_name,
s.initial_extent,
s.next_extent
from user_indexes s
where s.index_name = 'IDX_INVALID_PICNAME'

select file_name,tablespace_name,bytes/1024/1024 from dba_data_files where tablespace_name='PK_DW_MAADMINISTRATION'

select sum(bytes/1024/1024) sizeMB from dba_free_space z where z.tablespace_name='PK_DW_MAADMINISTRATION'

加大数据文件

alter database datafile 'D:\ORACLE\ORADATA\DMSDB\tsp_index1.DBF' resize 1000M

2 这种问题存在不合理的设计 明显要杜绝

重建该索引

alter index index_name rebuild;

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: