oracle database and instance and oracle SID

本文详细解释了Oracle数据库中的三个核心概念:数据库、实例和Oracle SID。数据库是一组物理文件或磁盘的集合;实例则指一系列后台进程及共享内存区域,负责处理临时且非持久性的数据;Oracle SID作为站点标识符,用于区分不同数据库实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

Database:
A collection of physical operating system files or disks, When using Oracle Automatic Storage Management or RAW patitions, the database
may not appear individual, separate files in the operating system, but the definition remains the same

 

Instance:
A set of Oracle background processes or theads and a shared memory area, which is memory that is shared across those threads or processes running on a single computer.This is the place for volatile, nonpersistent stuf,some of which gets flushed to disk, A database instance can exist without any disk storage whatsover.It might not be the most useful thing in the world, but thinking about it that way definitely helps draw the line between the instance and the database;The two terms are sometimes used interchangeably,but they embrace very different comncepts. The relationship between them is that a database may be mounted and opened by many instances.an instance may mount and open just a single database at any point in time

 

Oracle SID:

The SID is a site identifier. It and ORACLE_HOME are hashed together in unix to create a unique key name for creating or attaching a Shared GLobal Area memory region. If your ORACLE_SID or ORACLE_HOME is not set correctly,you will get the ORACLE NOT AVALABLE error, since you can not 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 on unix,but the SID is still important. you can have more than one database under the same ORACLE_HOME, so you need a way to uniquely identify the instance associated with each one, along with their configuration files

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值