How To Connect Using A Sqlplus Preliminary Connection (Doc ID 986640.1)
2014-10-22 22:06
609 查看
In this Document
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 03-Nov-2011***
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.
There are two ways to connect to sqlplus using a preliminary connection.
sqlplus -prelim / as sysdba
sqlplus /nolog
set _prelim on
connect / as sysdba
For example:
SQL> set _prelim on
SQL> connect / as sysdba
Prelim connection established
NOTE:61552.1 -
Troubleshooting Oracle Database Hanging Issues for versions from 7 to 9--Exhaustive.
Goal |
Solution |
References |
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review. |
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 03-Nov-2011***
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 databasesince 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.sqlplus -prelim / as sysdba
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 -Troubleshooting Oracle Database Hanging Issues for versions from 7 to 9--Exhaustive.
相关文章推荐
- How to connect to another database using sqlplus?
- SQL: How to get a series of dates in sql using connect by
- How to copy a datafile from ASM to a file system not using RMAN (Doc ID 428893.1)
- How To Configure Client Failover For Dataguard Connections Using Database Services (Doc ID 1429223.1
- How To Collect 10046 Trace (SQL_TRACE) Diagnostics for Performance Issues (Doc ID 376442.1)
- How to Enable SQL_TRACE for Another Session or in MTS Using Oradebug(文档 ID 1058210.6)
- ConnectionStrings.com - How to connect to SQL Server 2005
- Examples of how to use Error Logging for SQL statements (Doc ID 1076042.1)
- How to Identify Resource Intensive SQL ("TOP SQL") (Doc ID 232443.1)
- How to connect SQLPlus without tnsnames.ora
- CodeSnip: How to Get Id of the Record Using ASP.NET and SQL Server 2000
- Connection to Auxilary using connect string failed with ORA-12528 [ID 419440.1]
- How to Restore the Database Using AMDU after Diskgroup Corruption (Doc ID 1597581.1)
- How to Make an HTTP Connection Using TCP/IP with RSocket
- Connection to Auxilary using connect string failed with ORA-1252: TNS:listener: all appropriate instances are blocking new conne
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- 7 Simple Steps to Connect SQL Server using WCF from SilverLight
- How To Change the Partition Column Of A Partitioned Table Using DBMS_Redefinition [ID 846405.1]
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]
- How to Change the DBID and the DBNAME by using NID [ID 224266.1]