- select username,default_tablespace,temporary_tablespace from dba_users where username='YXL';
select username,default_tablespace,temporary_tablespace from dba_users where username='YXL';执行结果:YXL USERS TEMP
未指定默认表空间而创建用户,则系统应该是指定其默认为system表空间的,这里不太清楚为什么USERS成了yxl的默认表空间。
最后,我找到system表空间满的暂定解决方法如下:
一、为system表空间另外新增一个数据文件。
- alter tablespace system add datafile 'D:\oracleXE\oradata\XE\system_01.dbf' resize 1024M;
alter tablespace system add datafile 'D:\oracleXE\oradata\XE\system_01.dbf' resize 1024M;
二、更改system表空间的数据文件SYSTEM.dbf分配空间。
- alter database datafile 'D:\oracleXE\oradata\XE\system_01.dbf' autoextend on;
- alter database datafile 'D:\oracleXE\oradata\XE\system_01.dbf' resize 1024M;