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é (译者注:翻译完第一章后,发现翻译第二章的速 ...
随机推荐
- Mac 下纯lua(二)
Lua库 基本函数 assert(v,[,message]) 当v时false时,返回message assert(money >0,"error -1001"); coll ...
- Oracle游标动态赋值
1. oracle游标动态赋值的小例子 -- 实现1:动态给游标赋值 -- 实现2:游标用表的rowtype声明,但数据却只配置表一行的某些字段时,遍历游标时需fetch into到精确字段 CREA ...
- Hibernate绑定参数
使用绑定参数的优势: 我们为什么要使用绑定命名参数?任何一个事物的存在都是有其价值的,具体到绑定参数对于HQL查询来说,主要有以下两个主要优势:①. 可以利用数据库实施性能优化 因为对Hibernat ...
- android createbitmap函数内存溢出,求解怎样进行处理out of memory溢出问题
android createbitmap函数内存溢出,求解怎样进行处理out of memory溢出问题 android createbitmap函数内存溢出,求解怎样进行处理out of memor ...
- Winpcap网络编程九之Winpcap实战,ARP协议获得MAC表及主机通信
大家好,本次我们须要完毕的任务是: 完毕两台主机之间的数据通信(数据链路层) 仿真ARP协议获得网段内主机的MAC表 使用帧完毕两台主机的通信(Hello! I'm -) 声明:本文章的目的是为大家的 ...
- jdk7 中Collections.sort 异常
Collections.sort 异常 java.lang.IllegalArgumentException: Comparison method violates its general contr ...
- ios应用view之间数据传递的方式
对于不同的viewcontroller之间数据的共享和处理 采用代理的方式,子viewcontroller设计代理协议,并定义协议接口,父viewcontroller实现协议接口,实现子视图控制器退出 ...
- C# Socket学习笔记二
小记:昨天咱们已经了解了Socket的通信原理,可是点对点的一次通信并不是我们想要的,那么今天那我们就继续学习异步通信,简单来说就是服务器端和客户端可以进行多次 互发信息的通信而不用担心通道会关闭.在 ...
- [转]C# 中的.pdb/ .vshost.exe/ .vshost.exe.manifest文件讨论
原文出处:http://blog.163.com/chwei_sunshine/blog/static/19412628320125893656652/ pdb文件: 英文全称:Program Dat ...
- excel笔记
提取单元格中的数字部分 =MID(LOOKUP(1,-(1&MID(A1,MIN(FIND({0;1;2;3;4;5;6;7;8;9},A1&1/17)),ROW($1:$15)))) ...