How To Connect Using A Sqlplus Preliminary Connect

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How To Connect Using A Sqlplus Preliminary Connect相关的知识,希望对你有一定的参考价值。


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


以上是关于How To Connect Using A Sqlplus Preliminary Connect的主要内容,如果未能解决你的问题,请参考以下文章

How to Add Linux Host to Nagios Monitoring Server Using NRPE Plugin

How to untar a TAR file using Apache Commons

How to Solve Vxdiag benz c6 doip multiplexer Can’t connect to WiFi

How to copy a datafile from ASM to a file system not using RMAN

How do I connect to a local elevation server?

How To Convert A Partitioned Table To A Non-Partitioned Table Using DataPump In 11g (Doc ID 1276049.