一:問題分析
有可能是因為表空間大小不夠造成在插入數據或者其他需要占用表空間大小的時候報錯。
二:
1.查看表空間大小:select tablespace_name,sum(bytes)/1024/1024 from dba_data_files group by tablespace_name;
2.查看表空間已使用大小及分配情況:
select SEGMENT_TYPE,owner,sum(bytes)/1024/1024 from dba_segments where tablespace_name='KPI_TEST'
group by segment_type,owner
3.增加表空間大小:
查看表空間路徑: select * from dba_data_files
增加表空間大小: alter tablespace KPI_TEST add datafile 'F:\PROJECT\CRAZY-JOKER\DATABASE\KPI_TEST2.DMP' size 10M