ITPub博客

首页 > 数据库 > Oracle > ASM条带细粒度管理

ASM条带细粒度管理

原创 Oracle 作者:pxbibm 时间:2014-06-16 22:26:38 0 删除 编辑
1.创建DiskGroup
create diskgroup dg1 external redundancy disk '/dev/sdd','/dev/sde' attribute 'compatible.asm'='11.2','AU_SIZE'='2M';
2.定义条带宽度,条带大小:
alter system set "_asm_stripewidth"=2;--条带宽度
alter system set "_asm_stripesize"=262144;--条带大小
3.添加细粒度模板
alter diskgroup dg1 add template stp_fine1 attributes (unprotected fine);
细粒度条带管理
4.创建使用细粒度条带的表空间
create tablespace tbs_test04 datafile '+dg1(stp_fine1)/test01.dbf' size 100m reuse uniform size 4m;
此表空间的数据文件,将会按照256k的条带大小,条带宽度为2的方式存储在dg1的所有磁盘中。
-----------------------------------------------------------------------------------------------------------------------
pxboracle@live.com
2014.06.16 22:24
share you knowledge with the world.

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

下一篇: RMAN 使用catalog
请登录后发表评论 登录
全部评论
Oracle ACE。ACOUG核心成员,Oracle用户组年轻专家。熟悉Oracle的体系结构,擅长Oracle数据库架构规划、SQL优化、OWI方面性能的优化。曾服务于航天、航空、机车、大型制造行业数据库的维护以及系统开发工作,开发过基于Oracle数据库的大型ERP系统。
  • 博文量
    345
  • 访问量
    2477681