加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

How To Connect Using A Sqlplus Preliminary Connect

发布时间:2020-12-12 13:57:22 所属栏目:百科 来源:网络整理
导读:APPLIES TO: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.2 [Release 10.2 to 12.1] Information in this document applies to any platform. ***Checked for relevance on 21-Jul-2017*** GOAL Show a way to connect to a databas


APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.2 [Release 10.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 21-Jul-2017***


GOAL

Show a way to connect to a database through Sqlplus when all other connection methods are hanging. Using a Sqlplus preliminary connection you will be able to connect to the database since no session is actually created,but you will have limited access to the SGA. This will help in capturing diagnostic information like a systemstate dump to aid in problem resolution.


SOLUTION

There are two ways to connect to sqlplus using a preliminary connection.

  1. sqlplus -prelim / as sysdba

  2. sqlplus /nolog
    set _prelim on
    connect / as sysdba

For example:

SQL> set _prelim on
SQL> connect / as sysdba
Prelim connection established

REFERENCES

NOTE:61552.1- Oracle 9i and Below: Exhaustive Troubleshooting Steps for Oracle Database Hanging Issues

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读