数据库和实例的概念

一、引言
  学习使用了 oracle这几年,现在用起来,有时候仍然感觉到没有熟灿于心,运用起来不能够收发自如。因此下定决心,从头来过,梳毛篦虱,进行一次oracle的基础夯实工程,力争能达到运用自如。
二、数据库的概念
  在oracle的官方文档中是这样描述oracle database。
  An Oracle database is a collection of data treated as a unit. The purpose of a database is to store and retrieve related information. A database server is the key to solving the problems of information management. In general, a server reliably manages a large amount of data in a multiuser environment so that many users can concurrently access the same data. All this is accomplished while delivering high performance. A database server also prevents unauthorized access and provides efficient solutions for failure recovery.
  The database has logical structures and physical structures. Because the physical and logical structures are separate, the physical storage of data can be managed without affecting the access to logical storage structures.
  数据库实质上就是一个数据集合,它为用记提供了一种并发访问数据的途径。从物理上看,它是一组存放在磁盘上的操作系统文件。
二、实例的概念
  实例是由分配给oracle的内存区域及其一组相关的后台进程的集合。实例是用户访问数据库的唯一途径和接口。
三、数据库和实例的关系
数据库文件存于磁盘,而实例信息存在于内存。数据库 服务器关机后,只要磁盘不损坏,则数据库依然存在,只不过此时处于静态而已,而实例则不复存在了。没有实例的数据库是没用的数据库,就像是没有发动机的汽车,就是一堆废铁。实例是灵魂,而数据库是肉体。实例可以先于数据库而存在(比如用ORADIM单独定义实例,,但是就是孤魂野鬼。所以实例和数据库是互为存在,才能有用的。一个实例只能访问一个数据库,一个数据库可由多个实例访问(比如 RAC环境)。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23947808/viewspace-663468/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23947808/viewspace-663468/

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值