Oracle system表空间满的暂定解决方法

 

Sql代码 Oracle system表空间满的暂定解决方法 Oracle system表空间满的暂定解决方法Oracle system表空间满的暂定解决方法
  1. 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表空间另外新增一个数据文件。
  
Sql代码 Oracle system表空间满的暂定解决方法 Oracle system表空间满的暂定解决方法Oracle system表空间满的暂定解决方法
  1. 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分配空间。
  
Sql代码 Oracle system表空间满的暂定解决方法 Oracle system表空间满的暂定解决方法Oracle system表空间满的暂定解决方法
  1. alter database datafile 'D:\oracleXE\oradata\XE\system_01.dbf' autoextend on;  
  2. alter database datafile 'D:\oracleXE\oradata\XE\system_01.dbf' resize 1024M;  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
  • 2021-11-21
  • 2021-06-17
  • 2022-01-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
相关资源
相似解决方案