Selecting an Instance with Environment Variables (18)
Before you attempt to use SQL*Plus to connect locally to an Oracle instance, you must
ensure that environment variables are set properly. When multiple database instances
exist on one server, or when an Automatic Storage Management (ASM) instance exists
on the same server as one or more database instances, the environment variables
determine which instance SQL*Plus connects to. (This is also true when there is only
one Oracle instance on a server.)
For example, each Oracle instance (database or ASM) has a unique system identifier
(SID). To connect to an instance, you must at a minimum set the ORACLE_SID
environment variable to the SID of that instance. Depending on the operating system,
you may need to set other environment variables to properly change from one instance
to another.
Refer to the Oracle Database Installation Guide or administration guide for your
operating system for details on environment variables and for information on
switching instances.
使用環境變數選擇例項
1. 環境變數決定了sqlplus連線哪個例項
2. 設定 ORACLE_SID 後環境變數後 , 相當於指向了那個例項(SID)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-994012/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Selecting an Instance with Environment Variables : Solaris Example (19)
- Selecting an Instance with Environment Variables : Windows Example (20)Windows
- [Bash] Environment variables
- 17-Containers-Container Environment VariablesAI
- Top 5 Database and/or Instance Performance Issues in RAC EnvironmentDatabaseORM
- FastAPI(64)- Settings and Environment Variables 配置項和環境變數ASTAPI變數
- Helper Devise: could not find the `Warden::Proxy` instance on request environmentdev
- Database and/or Instance Performance Issues in RAC Environment_1373500.1DatabaseORM
- ORA_NLS (ORA_NLS33, ORA_NLS10) Environment Variables explainedS3AI
- Materialized Views in data warehouse environment (185)ZedView
- Materialized Views in data distributed environment (186)ZedView
- Materialized Views in mobile computing environment (187)ZedView
- Clouse Variables as Inputs
- [轉]Updating Session Variables from Dashboards using Presentation VariablesSession
- Angular 18+ 高階教程 – Component 元件 の @let Template Local VariablesAngular元件
- Variables in Java 變數Java變數
- activiti變數variables變數
- SQL*Plus Substitution VariablesSQL
- Oracle environment variableOracle
- MYSQL SHOW VARIABLES簡介MySql
- Type-Checking Variables
- Selecting a RAID level and tuning performanceAIORM
- Get Oracle Environment InformaticaOracleORM
- Microsoft IT Environment Health ScannerROS
- The DB2 environmentDB2
- MyBatis-03-environmentMyBatis
- proxysql global_variables 翻譯SQL
- Using Multiple Variables with the Same Name
- Spark Extracting,transforming,selecting featuresSparkORM
- [20210218]Select vs Assign – How To Assign PLSQL Variables.txtSQL
- Spring系列.Environment介面Spring
- Setup python virtual environmentPython
- Quickly setup a stream environment.UI
- set up the appropriate environmentAPP
- error: externally-managed-environmentError
- swiftUI-@Environment的作用SwiftUI
- Rich Internet Applications and AJAX - Selecting the best productAPP
- variables_order引數詳解