ORACLE AUTOMATIC STORAGE MANAGEMENT翻译-第二章 ASM instance(1)
ASM的类型,例如可以:
|
alter diskgroup data mount restricted;
select name,state from v$asm_diskgroup;
NAME STATE
---------------------- -------------------
DATA RESTRICTED
|
| ARBx These are the slave processes that do the rebalance activity (where x is a number). CKPTThe CKPTprocess manages cross-instance calls (in RAC). DBWR This process manages the SGA buffer cache in the ASM instance. DBW Rwrites out dirty buffers (changed metadata buffers) from the ASM buffer cache to disk. GMON This process is responsible for managing the disk-level activities (drop/offline) and advancing diskgroup compatibility. KATE The Konductor or ASM Temporary Errands (KATE) process is used to process disks online. This process runs in the ASM instance and is started only when an offlined disk is onlined. LGWRThe LGWRprocess maintains the ASM Active Change Directory (ACD) buffers from the ASM instance and flushes ACD change records to disk. MARK The Mark Allocation Unit (AU) for Resync Koordinator (MARK) process coordinates the updates to the Staleness Registry when the disks go offline. This process runs in the RDBMS instance and is started only when disks go offline in ASM redundancy diskgroups. PINGThe PINGprocess measures network latency and has the same functionality in RDBMS instances. PMON This manages processes and process death in the ASM instance. PSP0 This process spawner process is responsible for creating and managing other Oracle processes. PZ9x These processes are parallel slave processes (where xis a number), used in fetching data on behalf of GV$queries. RBAL This opens all device files as part of discovery and coordinates the rebalance activity. SMON This process is the system monitor and also acts as a liaison to the Cluster Synchronization Services (CSS) process (in Oracle Clusterware) for node monitoring. VKTM This process is used to maintain the fast timer and has the same functionality in the RDBMS instances. |
| *.instance_type=asm *.asm_diskgroups=DATA,FLASH *.processes=100 **** Note that asm_diskstring is site-specific and platform specific *.asm_diskstring='/dev/rdsk/c3t19d*s4' --注意假设手动加入asm 磁盘组别忘记更新这个參数不然重新启动后缺少的盘组无法自己主动带起来 *.remote_login_passwordfile='SHARED' ****** **For 11g use only the diagnostics directory. *.diagnostic_dest='/opt/app/admin/+ASM/diag' --11g的diagnostic_dest代替了10g的bdump,cdump,udump显然简单介绍多了 ******* **For 10g use the standard dump locations *.background_dump_dest='/opt/app/admin/+ASM/bdump' *.core_dump_dest='/opt/app/admin/+ASM/cdump' *.user_dump_dest='/opt/app/admin/+ASM/udump' ******* |
假设diagnostic_dest没有配置,默认位置为$ORACLE_BASE/diag
| SQL> SELECT NAME, VALUE FROM V$DIAG_INFO NAME VALUE ---------- --------------- Diag Enabled TRUE ADR Base /u01/app/oracle ADR Home /u01/app/oracle /diag/asm/+asm/+ASM1 Diag Trace /u01/app/oracle/diag/asm/+asm/+ASM1/trace Diag Alert /u01/app/oracle/diag/asm/+asm/+ASM1/alert Diag Incident /u01/app/oracle /diag/asm/+asm/+ASM1/incident Diag Cdump /u01/app/oracle/diag/asm/+asm/+ASM1/cdump Health Monitor /u01/app/oracle/diag/asm/+asm/+ASM1/hm Default Trace File |
| 11g中ASM能够使用AMM特性在init.ora中配置MEMORY_TARGET和MEMORY_MAX_TARGET,与rdbms一样这两个參数能够实现内存自己主动管理。 然而,因为asm内存使用率很平稳。ORACLE最佳实践是不设置这两个參数,默认使用256M,这个配置符合大多数的环境。 译者注:在生产环境中ASM使用默认參数可能会引发ASM实例级别的4031错误,依据MOS文档建议内存至少分配1G,这与最佳实践又是矛盾的, 可见ORACLE的最佳实践不一定靠谱。但可作为參考了。 |
| DB_CACHE_SIZE This value determines the size of the buffer cache, which is used to cache ASM metadata blocks. The DB_CACHE_SIZEis based on a metadata block size of 4K. This block size is the buffer page size of the cached metadata and has no bearing or impact on the database block size. db_cache_size用于缓存metadata block,它是基于metadata block size 及4K。 不受db block size的影响。 SHARED_POOL This is used for standard memory usage (control structures and so on) to manage the instance. The value is also used to store open file extent maps. shared_pool用于存储管理实例用的数据结构。假设控制结构等。同一时候也存储 extent maps等。 LARGE_POOLThe LARGE_POOLvalue is used for large page allocations. PROCESSES This ASM init.ora parameter limits the number of processes that can start in ASM instance. You may need to modify this parameter from its default setting for Oracle Database 10gASM instances. The following recommendation pertains to Oracle Database 10.1.0.3 through 10.2.xand will work for RAC and non-RAC systems: Processes = 25 + (10 + [max number of concurrent database file creations, and file extend operations possible])*n PROCESSES配置能够基于如上公式计算。 公式说明: max number of concurrent database file creations:
能够是create tablespace并发数。创建分区表涉及的表空间数,rman备份分配的通道数,并发创建归档数
|
| SHARED_POOL_SIZE: 128MB LARGE_POOL: 12MB DB_CACHE_SIZE: 64MB |
NAME TYPE VALUE
------------------------------ ----------- ------------------------------control_files string /opt/oracle/app/product/10gr2/
dbs/cntrl+ASM.dbf
假设这个文件被移除,健康
-----------------------------------------------------------------------------------------------------------------
本站注明原创和翻译的均为原创文章。文章同意转载。但必须以链接方式注明源地址,
否则追究法律责任!文章中难免有疏漏欢迎网友批评指正。
QQ: 173386747
Email: hailong.sun1982@gmail.com
Blog: http://blog.csdn.net/card_2005
ORACLE AUTOMATIC STORAGE MANAGEMENT翻译-第二章 ASM instance(1)的更多相关文章
- ORACLE AUTOMATIC STORAGE MANAGEMENT翻译-第二章ASM Instance(4)完
ASM安全 这个小节主要描写叙述与ASM相关的各种安全配置话题,像 配置ASM须要的userids.groupids:ASM权限如 SYSOPER,SYSDBA和新的SYSASM权限,最后还有ASM ...
- Gradle2.0用户指南翻译——第二章. 概述
翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2 ...
- Learning Scrapy 中文版翻译 第二章
为了从网页中提取信息,你有必要对网页的结构做一些了解.我们将快速学习HMTL,HTML数状结构以及用XPath在网页上提取信息 HTML, DOM树结构以及XPath 让我们花一点时间来了解当用户在浏 ...
- Scyther-Semantics and verification of Security Protocol 翻译 (第二章 2.2.2----2.3)
2.2.2 事件顺序 协议中的每个角色对应于事件列表,换句话说, 在属于角色 R 的协议事件集上施加结构,总的排序表示为 $ \prec $ , 如此任何角色 R∈Role 和 $\varepsil ...
- brent ozar的sqlserver dba训练课程翻译——第二章:手动恢复数据库
备份的唯一原因 备份的唯一原因是我们可以还原 当我第一次成为sqlserver数据库管理员,只要备份工作都能成功运行,我就会觉得一切都很好.我会查看sqlserver代理,保证那些作业都在运行,然 ...
- 《Oracle Database 12c DBA指南》第二章 - 安装Oracle和创建数据库(2.1 安装Oracle数据库软件和创建数据库概览)
当前关于12c的中文资料比较少,本人将关于DBA的一部分官方文档翻译为中文,很多地方为了帮助中国网友看懂文章,没有按照原文句式翻译,翻译不足之处难免,望多多指正. 2.1 安装Oracle数据库软件和 ...
- 【书评:Oracle查询优化改写】第二章
[书评:Oracle查询优化改写]第二章 BLOG文档结构图 在上一篇中http://blog.itpub.net/26736162/viewspace-1652985/,我们主要分析了一些单表查询的 ...
- 《Oracle Database 12c DBA指南》第二章 - 安装Oracle和创建数据库(2.2 安装数据库软件)
当前关于12c的中文资料比较少,本人将关于DBA的一部分官方文档翻译为中文,很多地方为了帮助中国网友看懂文章,没有按照原文句式翻译,翻译不足之处难免,望多多指正. 2.2 安装数据库软件 这部分简短讲 ...
- 《Django By Example》第二章 中文 翻译 (个人学习,渣翻)
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:翻译完第一章后,发现翻译第二章的速 ...
随机推荐
- apache FtpServer整合spring逻辑处理
上面我们的部署工作完成了,那么文件上传下载后,ftpserver会自动相应我们的上传下载操作,也就是说ftpServer服务器会得到触发,那么我们如果要得到文件的一些信息,比如说文件的路径.大小.类型 ...
- java学习笔记day01
1.Java JDK:简称为java开发工具集 2.下载JDK后安装,可以下载绿色版本,即不用安装,直接将其放在磁盘根目录 如:C:\Java\jdk1.6.0_10 3.在任意磁盘路径下都可以编译 ...
- 有关docker新版的icc、iptables的一个巨坑
之前玩过docker的icc=false.iptables=true 按照这两个参数配置之后,想指定两个特定的容器通讯,直接用--link即可. 但最近我在下载了1.12新版的docker,这个不奏效 ...
- 【计算几何初步:多边形中心】【HDU1115】Lifting the Stone
一.质点系重心公式 x=(x1*m1+x2*m2+x3*m3.....xn*mn)/M (M=m1+m2+m3+m4...+mn) 二.三角形重心 可直接求得,但在多边形剖分中 各三角形的质点的质量 ...
- javascript模式——Decorator
Decorator 模式是一种结构型模式,他意在促进代码的复用,是塑造子类的一个方式. 这种想法是基于,新增的属性,对于对象来说不是必须的基本功能.我们为特殊的对象添加自己的方法,而不是重新创建一个类 ...
- Json.Net介绍及实例
本系列教程假设读者已经对Json有一定的了解,关于Json在这里不多说.本系列教程希望能对读者开发涉及到Json的.Net项目有一定的帮助.本系列教程是根据官方文档资料和自己项目应用汇总而成.如果觉得 ...
- 输出jq对象
console.log($()); 效果截图:
- LINQ 操作符(二)
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T ...
- php zendstudio 常用的一些自定义模板标签
<?php /** * xxx.php * ============================================== * Copy right 2013-2016 http: ...
- stringstream函数(i o)
stringstream函数 头文件 #include<sstream> stringstream是字符串流,被用来切分数据或转化类型 样例一(摘) 输入n,代表接下来输入n行资料,每行 ...