TNS:no appropriate service handler found 에러 해결법
SELECT
s.status "Status", si.sid, s.serial# "Serial#", s.TYPE "Type",
s.username "DB User", s.osuser "Client User", s.server "Server",
s.machine "Machine", s.module "Module", s.client_info "Client Info",
s.terminal "Terminal", s.program "Program", p.program "O.S. Program",
s.logon_time "Connect Time", lockwait "Lock Wait",
si.physical_reads "Physical Reads", si.block_gets "Block Gets",
si.consistent_gets "Consistent Gets",
si.block_changes "Block Changes",
si.consistent_changes "Consistent Changes", s.process "Process",
p.spid, p.pid, s.audsid, s.sql_address "Address",
s.sql_hash_value "Sql Hash", s.action
FROM v$session s, v$process p, sys.v_$sess_io si
WHERE s.paddr = p.addr(+)
AND si.sid(+) = s.sid
AND (s.username IS NOT NULL)
AND (NVL (s.osuser, 'x') <> 'SYSTEM')
AND (s.TYPE <> 'BACKGROUND')
-- AND s.status <> 'KILLED'
ORDER BY s.logon_time, s.username;
alter system kill session '144, 3931';
alter system kill session '65, 3786';
alter system kill session '95, 1807';
alter system kill session '143, 15654';
alter system kill session '63, 7924';
alter system kill session '31, 326';
또는
s.status "Status", si.sid, s.serial# "Serial#", s.TYPE "Type",
s.username "DB User", s.osuser "Client User", s.server "Server",
s.machine "Machine", s.module "Module", s.client_info "Client Info",
s.terminal "Terminal", s.program "Program", p.program "O.S. Program",
s.logon_time "Connect Time", lockwait "Lock Wait",
si.physical_reads "Physical Reads", si.block_gets "Block Gets",
si.consistent_gets "Consistent Gets",
si.block_changes "Block Changes",
si.consistent_changes "Consistent Changes", s.process "Process",
p.spid, p.pid, s.audsid, s.sql_address "Address",
s.sql_hash_value "Sql Hash", s.action
FROM v$session s, v$process p, sys.v_$sess_io si
WHERE s.paddr = p.addr(+)
AND si.sid(+) = s.sid
AND (s.username IS NOT NULL)
AND (NVL (s.osuser, 'x') <> 'SYSTEM')
AND (s.TYPE <> 'BACKGROUND')
-- AND s.status <> 'KILLED'
ORDER BY s.logon_time, s.username;
alter system kill session '144, 3931';
alter system kill session '65, 3786';
alter system kill session '95, 1807';
alter system kill session '143, 15654';
alter system kill session '63, 7924';
alter system kill session '31, 326';
또는
SQL-PLUS로 시스템 로그인 한 후
SQL> alter system set processes=500 scope=spfile;
SQL> alter system register;
SQL> shutdown immediate
SQL> startup
스트레스 테스트 중 동접이 늘어나서 변경하니 에러가 사라짐...
SQL> alter system set processes=500 scope=spfile;
SQL> alter system register;
SQL> shutdown immediate
SQL> startup
스트레스 테스트 중 동접이 늘어나서 변경하니 에러가 사라짐...
댓글
댓글 쓰기