亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

RAC下,alter system kill session報錯ORA-00030: User session ID does not exist

發布時間:2020-08-06 18:39:07 來源:ITPUB博客 閱讀:346 作者:bob_oracle 欄目:關系型數據庫
在RAC環境下,KILL SESSION時報錯ORA-00030 User session ID does not exist.

問題再現:

NODE2:

[oracle@node2 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sun Feb 11 21:27:08 2018
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> conn sh/sh
Connected.
SQL> show parameter instance_number
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
instance_number     integer 2
SQL> select sid ,serial# from v$session where sid=userenv('sid');
       SID    SERIAL#
---------- ----------
       136    5
SQL> create table test as select a.* from all_objects a,all_objects b,all_objects c;

NODE1:

[oracle@node1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sun Feb 11 21:25:53 2018
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> show parameter instance_number;   
NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
instance_number     integer 1
SQL> alter system kill session '136,5';
alter system kill session '136,5'
*
ERROR at line 1:
ORA-00030: User session ID does not exist.

node2:

SQL> alter system kill session '136,5,@2';
System altered.
node1:

SQL> create table test as select a.* from all_objects a,all_objects b,all_objects c;
create table test as select a.* from all_objects a,all_objects b,all_objects c
                                     *
ERROR at line 1:
ORA-00028: your session has been killed
ORA-00028: your session has been killed

小結:對于RAC環境下的跨實例殺會話,alter system kill session 需要增加 @instance_number。其中,instance_number可通過show parameter instance_number來獲取。




向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

正定县| 新闻| 济源市| 敖汉旗| 剑阁县| 香港| 土默特右旗| 门源| 武平县| 鹰潭市| 逊克县| 行唐县| 马山县| 沅陵县| 新巴尔虎右旗| 贵溪市| 白沙| 福贡县| 饶河县| 武汉市| 翁牛特旗| 庆元县| 清涧县| 通化市| 霍山县| 浦县| 麻城市| 丽江市| 遵化市| 环江| 西充县| 台北县| 纳雍县| 永宁县| 曲水县| 孟州市| 丽水市| 昌吉市| 五华县| 宜春市| 祥云县|