oracle数据库设置sid,Oracle数据库系统中实例名(即是SID)和ORACLE_SID的区别

Oracle SID是数据库实例的唯一标识,用于区分不同实例。ORACLE_SID是注册表中的参数,指定了系统默认连接的数据库实例。当创建新数据库并希望设为默认时,需更新ORACLE_SID。

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

首先介绍几个关于Oracle的基本概念:instance、SID和ORACLE_SID。

instance(Oracle官方给出的定义)

Every running Oracle database is associated with

an Oracle instance. When a database is started on a database server

(regardless of the type of computer), Oracle allocates a memory

area called the System Global Area

(SGA) and starts an Oracle process. This

combination of the SGA and an Oracle process is called an instance.

The memory and the process of an instance manage the associated

database's data efficiently and serve the one or more users of the

database.

system identifier (SID)(同样是Oracle官方给出的定义)

A unique name for an

Oracleinstance.(前面的一句是重点,后面的以我们现在讨论的话题没有直接的关系)

To switch between Oracle

databases, users must specify the desired SID. The SID is included

in theCONNECT DATA

ORACLE_SID (同样是Oracle官方给出的定义)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值