广告
返回顶部
首页 > 资讯 > 数据库 >RAC下,alter system kill session报错ORA-00030: User session ID does not exist
  • 700
分享到

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

2024-04-02 19:04:59 700人浏览 独家记忆
摘要

在RAC环境下,KILL SESSioN时报错ORA-00030 User session ID does not exist. 问题再现: node2: [oracle@node2 ~]$

在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.

您可能感兴趣的文档:

--结束END--

本文标题: RAC下,alter system kill session报错ORA-00030: User session ID does not exist

本文链接: https://www.lsjlt.com/news/45715.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作