Terminating the Session with ALTER SYSTEM
1544 단어 session
channel ch1: sid=15 devtype=SBT_TAPE
The
sid
and devtype
are displayed for each allocated channel. Note that the Oracle sid
is different from the operating system process ID. You can kill the session by specifying the sid
in a SQL statement, but the commands are not the same as the operating system process kill
commands. You can specify the
sid
in the SQL statement ALTER
SYSTEM
KILL
SESSION
command. It takes two arguments (the sid
printed in the RMAN message and a serial number), both of which can be obtained by querying V$SESSION
. For example, run the following statement, where sid_in_rman_output
is the number from the RMAN message: SELECT SERIAL# FROM V$SESSION WHERE SID=sid_in_rman_output
;
Then, run the following statement, substituting the
sid_in_rman_output
and serial number obtained from the query: ALTER SYSTEM KILL SESSION 'sid_in_rman_output
,serial#
';
Note that this is no more effective than killing at the operating system level if the process is hung in the media manager.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
JWT로 세션을 관리하지 마십시오.세상에는 JWT(JOSE/JWS/JWE)로 세션 관리를 해서는 안 된다는 기사가 2017년부터 산 정도 있는데 왠지 JWT에서 세션 관리를 하려고 하는 사람이 있다. 번역 기사이거나 암호의 설명이 너무 길거나 해서,...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.