1. 增加空间
SELECT * FROM dba_data_files
找到tablespace_name对应的文件路径
alter database datafile ‘文件路径’ resize 1024M;
2.重建索引
select 'alter index '||owner||'.'||index_name||' rebuild;' from dba_indexes where STATUS = 'UNUSABLE';
执行上面语句的输出,如: alter index SMS.MSGSMS_PK rebuild;