2天DBA-5 Managing the Oracle Instance
一、实例和实例管理 Overview of the Oracle Instance and Instance Management
Oracle DataBase System由database和Oracle instance组成。
Database—A database consists of a set of disk files that store user data and metadata. Metadata, or "data about the data," consists of structural, configuration, and control information about the database.
Oracle instance—An Oracle instance (also known as a database instance) contains the set of Oracle Database background processes that operate on the stored data and the shared allocated memory that those processes use to do their work.
The properties of an Oracle instance are specified using instance initialization parameters. When the instance is started, an initialization parameter file is read, and the instance is configured accordingly.
Accordingly 因而、因此
1、关于初始化参数 About Initialization Parameters
The Oracle instance reads initialization parameters from a file at startup.
修改初始化参数的两种方法:
You can make these changes using the Initialization Parameter page in Oracle Enterprise Manager Database Control (Database Control), or by using one of the advisors provided by Oracle
Database, such as the Memory Advisor. See "Using the Memory Advisors" for more information.
Advisor 以前没接触过,有必要研究一下!
初始化参数读取之后,就retain到了memory里面,有两种文件类型存放参数,使用哪种,取决于是否需要不重启oracle就修改初始化参数。
Server parameter file:
The server parameter file is the preferred form of initialization parameter file, and is a binary file that can be written to and read by the database. It must not be edited manually. It is stored on the host computer on which Oracle Database is running. 需要重新启动oracle。
Text initialization parameter file
This type of initialization parameter file can be read by the Oracle instance, but it is not written to by the instance. You can change a text initialization parameter file with a text editor, but changes do not take effect until you shut down and restart the Oracle instance。
You can change a text initialization parameter file with a text editor, but changes do not take effect until you shut down and restart the Oracle instance.
When you start the instance with this type of file, you can still change many initialization parameters dynamically with Database Control, but only for the current instance. Unless you also edit the text initialization parameter file and make the same change, the change is lost when you shut down and restart the database.
用DBCA创建数据库时,会创建 server parameter file:
When you create the database with DBCA (as described in "Creating and Managing a Database with DBCA"), a server parameter file is created. This file is then used each time the database is started.
2、关于后台进程 About Background Processes
The background processes of the Oracle instance manage memory structures, asynchrony perform I/O to write data to a file on a disk, and perform general maintenance tasks. The background processes consolidate functions that would otherwise be handled by multiple Oracle Database programs running for each user process. They monitor other Oracle Database processes to provide increased parallelism for better performance and reliability.
Asynchrony异步的
Consolidate巩固
Otherwise 否则,另外,其他的
Parallelism 平行、对应
Reliability 可靠性
>> 最重要的后台进程:
The system monitor performs instance recovery when a failed instance is restarted.
This process performs various management-related background tasks, for example:
· Issuing alerts whenever a given metric violates its threshold value
· Taking snapshots by spawning additional processes
· Capturing statistical values for SQL objects that have been recently modified
3、关于Server and Client Processes
这种模式适合 long-running queries and administrative tasks。
4、关于实例的内存结构 About Instance Memory Structure
内存结构的大小可以由数据库自动管理、或手动管理,如果选择手动管理,oracle会提供 advisor 帮你决定内存参数的取值,无论哪种方式,oracle都会给发alerts以识别内存大小是否有问题。
A Program Global Area (PGA) is a memory area used by a single Oracle Database server process
The total memory used by all individual PGAs is known as the total instance PGA memory, and the collection of individual PGAs is referred to as the total instance PGA, or just instance PGA. With Oracle Enterprise Manager Database Control, you set the size of the instance PGA, not individual PGAs.
About Administration Privileges for Startup and Shutdown
二、Shutting Down and Starting Up the Oracle Instance
三、Viewing and Modifying Initialization Parameters
五、Instances: Oracle By Example Series
2天DBA-5 Managing the Oracle Instance相关推荐
- 系统管理Lesson 04. Managing the Database Instance
系统管理Lesson 04. Managing the Database Instance 1. 服务器参数文件和文本参数文件的区别在哪?参数文件保存在哪个目录? 4-3 2. 请说明 CONTROL ...
- 视频教程-Oracle12数据库管理/DBA/数据库工程师培训-Oracle
Oracle12数据库管理/DBA/数据库工程师培训 郑老师拥有超过二十年的IT行业经验,技术总监/培训师/系统工程师/项目经理.精通系统工程的很多领域:数据库(Oracle).操作系统Unix(So ...
- oracle 280000,续-实例恢复- ORACLE instance shut down
System altered. SQL> startup force; ORACLE instance started. INST 2: SQL> shutdown abort ORACL ...
- oracle 僵死的进程,Oracle Instance僵死导致不能正常恢复
Oracle Instance僵死导致不能正常恢复 --同构System Copy异常之一 感谢我的OCP老师 [异常现象]: svr:oraqas> brrestore -b bejrhdub ...
- oracle:instance与database,启动过程
oracle server主要由两个部分组成:instance和database. instance是指一组后台进程(在windows上是一组线程)和一块共享内存区域.database是指存储在磁盘上 ...
- oracle dba开头的表,oracle中以dba_、user_、v$_、all_、session_、index_开头的常用表和视图...
oracle中以dba_.user_.v$_.all_.session_.index_开头的常用表和视图 ----------------------------------------------- ...
- oracle Instance status: READY–lsnrctl status|start|stop
监听器启动,并不一定会认识数据库实例,启动监听器,请判别相关实例是否 READY [oracle@redhat4 ~]$ lsnrctl status LSNRCTL for Linux: Versi ...
- Oracle Instance
曾经也学习过oracle 逻辑结构的知识.但用的不多好多都是有点概念,近期做到一个跨instance工作流.全部抽点时间温习了一下相关知识.把网上看到的感觉讲的还比較明了.全面的文章汇总一下 inst ...
- oracle dba要学多久,Oracle DBA速成法的潜规则
如果你想成为一个合格的Oracle DBA,那么你除了要努力的学习其相关方面的知识,那么你还需要些什么呢?想了解在其方面的一些规律的话,相信以下的文章会给你在相关的学习中提供相关的建议. 1.快速有多 ...
最新文章
- sql server 内存初探
- Socket SSL通讯
- React学习(6)—— 高阶应用:非受控组件
- linux 字符串string操作(截取、提取、长度计算等)
- jQuery EasyUI API 中文文档 - 进度条
- Nest Secure智能保全系统内建麦克风 引发用户反弹
- git设置mergetool可视化工具
- enableEventValidation错误原因分析以及解决办法
- PHP PDO连接PostgreSQL报错 SCRAM authentication requires libpq version 10 or above in解决
- 车站广播系统采用计算机,公共广播系统
- CSS:实现跳动小球蒙版效果
- 搜狗浏览器显示无法解析服务器的DNS,Win10专业版下搜狗浏览器DNS解析失败
- 【Mongodb】常用的一些功能
- 加了索引,mysql查询就一定会用吗?
- 如何给PDF中的内容添加下划线
- 电路中各种地的区别及处理
- NRZ、RZ信号的时频域区别及它们的谱效率
- 10岁男童高考获566分或被大学破格录取(图)
- 关于FusionChartsFree y轴不显示中文 的解决办法
- 如何批量增加视频的音量(ffmpeg)