oracle database and instance and oracle SID

 

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值