oracle环境变量详解
共享存储文件系统(NFS)
通常情况下,ORACLE_SID这个环境变量全称Oracle System Identifier
,,用于在一台服务器上标识不同的实例,默认情况下,实例名就是ORACLE_SID的值(即INSTANCE_NAME=$ORACLE_SID。当然实例名也可以不同于ORACLE_SID这个环境变量,只要在初始化参数文件里显示指定INSTANCE_NAME参数值不同于ORACLE_SID环境变量的值即可)。在UNIX/Linux平台下,该环境变量主要作用是同ORACLE_HOME这个环境变量做hash运算,得到一个唯一值,用来标识共享内存段,及SGA。下面,摘录一段TOM大师光辉著作《Expert Oracle Database Architecture 》的原文:
If you’re unfamiliar with the term SID or ORACLE_SID, a full definition is called for. The SID is a site identifier . It and ORACLE_HOME (where the Oracle software is installed) are hashed together in UNIX to create a unique key name for attaching an SGA. If your ORACLE_SIDor ORACLE_HOME is not set correctly, you’ll get the ORACLE NOT AVAILABLE error, since you can’t attach to a shared memory segment that is identified by this unique key. On Windows, shared memory isn’t used in the same fashion as UNIX, but the SID is still important. You can have more than one database on the same ORACLE_HOME, so you need a way to uniquely identify each one, along with their configuration files.
ORACLE_HOME环境变量是Oracle软件的安装路径,顺带ORACLE_BASE环境变量是Oracle软件安装的基目录。
相关文章
- oracle中imp命令详解 .
- 为什么说JAVA中要慎重使用继承 C# 语言历史版本特性(C# 1.0到C# 8.0汇总) SQL Server事务 事务日志 SQL Server 锁详解 软件架构之 23种设计模式 Oracle与Sqlserver:Order by NULL值介绍 asp.net MVC漏油配置总结
- oracle分析函数技术详解(配上开窗函数over())
- In Memory—Oracle 12C重要新特性IMO详解
- [转]详解Oracle高级分组函数(ROLLUP, CUBE, GROUPING SETS)
- 【转】jdbc:oracle:thin:@192.168.3.98:1521:orcl(详解)
- oracle set命令详解
- 从Oracle迁移到Mysql之前必须知道的50件事
- CSDN学霸课表——全球最佳数据库Oracle
- [Oracle]Oracle之Chr函数返回
- Oracle字符串连接的方法
- 《Oracle性能优化与诊断案例精选》——第1章 三十八载,Oracle伴我同行 1.1 缘起边陲,恰同学风华正茂
- 关于Oracle Sharding,你想知道的都在这里
- oracle,mybatis主键自增长
- ipcs命令以及oracle内存段
- Oracle数据库 | SQL语句执行计划、语句跟踪与优化实例
- Oracle静态监听注册详解
- Oracle 基础系列之1.3 用户管理
- Oracle Oracle数据库 迁移到 SQL Server上