database:数据库,一组相关的物理文件,比如数据文件、日志文件和控制文件等等,是物理上实实在在存在的,即使关闭数据库仍然存在。
instance:实例。内存和一些进程,比如SGA、后台进程(windows系统是线程),当关闭数据库后实例消失。
两者是相辅相成的,经常在一起使用。我们以常见的数据库启动和关闭举例如下:
1、启动,先启动实例,在mount数据库,直至open数据库
2、关闭,先close数据库,在nomount数据库,直至关闭实例
实例服务:以windows为例,就是一个windows服务,比如OracleService<sid>,它对应着一个进程,可以说这个服务是最基础的,如果这个服务没有启动,何谈启动实例和数据库;另外可以启动多个实例服务,但是不能启动多个实例(可以在一种特殊方式下实现)
备注:关于启动和关闭具体细节详见eygle所著作品《DBA入门、进阶与诊断案例》
举个例子,实例好比一座通往数据库的桥梁,而数据库就是一个岛屿。出入岛屿的交通流量都必须通过桥,如果桥关闭了,岛屿虽然仍然存在,但我们却无法出入岛屿。对应到oracle术语来说,如果实例正在运行,那么数据就可以出入数据库。同时,数据库的物流状态也改变。如果实例挂起,虽然数据库仍然确实存在,用户却无法对他进行访问。此时的数据库是静态的,其数据不会改变。当实例重新服务时,数据库中的数据则随时做好准备,即可以对它进行访问。---《oracle精髓》
分享到:
相关推荐
Oracle 9i database:advanced instance tuning student guide(PDF)
Create your IBM Cloud account and Provision your Database instance
数据库实例DATA_FILE_SUCCESS代码Database instance DATA_FILE_SUCCESS code
数据库的应用如果想实现,数据库和数据库Instance是缺一不可的, 如果只有数据库的那些文件,那么,只能代表数据在这个文件中,但是我们无法直接进行操作。而如果只有数据库Instance,那么我们虽然可以急性操作, ...
matlab数据库基本操作速成实例access-databaseinstance.m 私人学习总结 质量不高 欢迎来喷
数据库的应用如果想实现,数据库和数据库Instance是缺一不可的, 如果只有数据库的那些文件,那么,只能代表数据在这个文件中,但是我们无法直接进行操作。而如果只有数据库Instance,那么我们虽然可以急性操作, ...
structures, and processes that comprise an Oracle database and instance. I then move on to discuss important database topics such as locking, concurrency controls, how transactions work, and redo and ...
Database Quick Installation Guide.pdf
4 Managing the Database instance 5 Managing the ASM Instance 6 Configuring the Oracle Network Environment 7 Managing Database Storage Structures 8 Administering User Security 9 Managing Data ...
4 Managing the Database instance 5 Managing the ASM Instance 6 Configuring the Oracle Network Environment 7 Managing Database Storage Structures 8 Administering User Security 9 Managing Data ...
一般在初始化数据时,我们在用navicate录入excel到mysql,形成具体的表的时候,会报各种错误,只需要安装该软件即可解决问题。
3)instance: an instance access a database 4)oracle memory: sga + pga 5)instance:sga + backgroud process 1.1.2 系统全局区SGA: 1)在一个instance只有一个sga 2)sga为所有session共享,随着...
1234 SolutionRecommendations for protecting against this vulnerability can be found at:My Oracle Support Note 1340831.1 for Oracle Database deployments that use Oracle Real Application Clusters (RAC)....
relationship between the database and the instance. • Oracle RAC environments have a one-to-many relationship between the database and instances. – An Oracle RAC database can have up to 100 ...
4 Managing the Database instance 5 Managing the ASM Instance 6 Configuring the Oracle Network Environment 7 Managing Database Storage Structures 8 Administering User Security 9 Managing Data ...
and even across storage environments such as when duplicating from a RAC/ASM environment to a single-node instance using regular file system storage. Oracle RMAN Database Duplication is your thorough...
RAC 是一个软件可以使你...的,并且每个 Instance 看到的信息和数据镜像都是一致的。 通过 RAC 结构,可以获得冗余,从而使得即使在一个系统 crash 或是不可访 问时,应用程序也可通过其他 Instance 访问 Database。
4 Managing the Database instance 5 Managing the ASM Instance 6 Configuring the Oracle Network Environment 7 Managing Database Storage Structures 8 Administering User Security 9 Managing Data ...
4 Managing the Database instance 5 Managing the ASM Instance 6 Configuring the Oracle Network Environment 7 Managing Database Storage Structures 8 Administering User Security 9 Managing Data ...