Oracle登录时提示错误,导致用户无法登录
Oracle登录时提示错误,导致用户无法登录,错误如下
-------------------------------------------------------------------------
ORA-00604:递归SQL级别1出现错误
ORA-01653表SYS.AUD$无法通过1024(在表空间SYSTEM中扩展)
ORA-02002:写入审计线索时出错
ORA-01653表SYS.AUD$无法通过1024(在表空间SYSTEM中扩展)
-------------------------------------------------------------------------
解决方案之一:扩展.AUD$所在表空间的大小(用DBA登录oracle)
--查询表空间的剩余大小 freespace
select tablespace_name,count(*) as extends,round(sum(bytes)/1024/1024,2) as MB,sum(blocks) as blocks
from dba_free_space where tablespace_name = 'AUDTBS'
group by tablespace_name
--查询表空间的总大小 tablespace
select tablespace_name,sum(bytes)/1024/1024 as MB
from dba_data_files where tablespace_name = 'AUDTBS'
group by tablespace_name
--查询表空间所在地址
select * from dba_data_files where tablespace_name = 'AUDTBS'
--改变表空间大小
alter database datafile'D:\App\ADMINISTRATOR\ORADATA\ORCL\AUDTBS_01.DBF' resize 5524M
完成,重新登录即可。