DBMS/Oracle
[에러/ORA-01000] ORA-01000: 최대 열기 커서 수를 초과했습니다
천일몽
2021. 11. 16. 15:13
ORA-01000: maximum open cursors exceeded
ORA-01000: 최대 열기 커서 수를 초과했습니다
--sys나 system 유저로 접속하여 현재 설정된 커서 개수를 확인 한다.
show parameter open_cursors
--현재 사용중인 섹션의 커서 (100개 초과) 확인
select a.sid, s.process, s.machine, s.module, s.action, count(*) as cnt
from V$OPEN_CURSOR a, V$SESSION s
where s.sid = a.sid
group by a.sid, s.process, s.machine, s.module, s.action
having count(*) > 100
order by count(*) desc;
--특정 SID 기준 조회
select * from V$OPEN_CURSOR where sid = 4;
--커서 개수 재설정
alter system set open_cursors = 4000 scope=both;
출처 : https://jack-of-all-trades.tistory.com/398
오라클 에러 정보 (ORA-01000) - maximum open cursors exceeded.pdf
0.11MB