数据库表空间可扩充

数据库表空间可扩展数据抛 error : ORA-01653: unable to extend table temptable by 64 in tablespace MY

数据库表空间可扩展
数据抛 error : ORA-01653: unable to extend table temptable by 64 in tablespace MY_TBS.

原因:
遇到这种错误一般两个情况,表空间不足:空间的自动扩展功能没有开,或者空间已经达到了自动扩展的上限.

solution:
先查询表空间的数据文件使用情况:

alter tablespace TOOLS add datafile '/opt/oracle/ORACLEDATA/my_tbs_dat_2.dbf' size 100m autoextend on next 100m maxsize 2000m;