1Z0-053 争议题目解析541

考试科目:1Z0-053

题库版本:V13.02

题库中原题为:

541.If you use ALTER DISKGROUP ... ADD DISK and specify a wildcard for the discovery string, what

happens to disks that are already a part of the same or another disk group?

A. The command fails unless you specify the FORCE option.

B. The command fails unless you specify the REUSE option.

C. The command must be reissued with a more specific discovery string.

D. The other disks, already part of the disk group, are ignored.

Answer: D

争议点:

网上有人说应该选择A。

比如:

LuiseDalian的解析:http://blog.itpub.net/17013648/viewspace-1314073/

Riveore的解析:http://blog.csdn.net/rlhua/article/details/15020267

我个人实验感觉应该C选项更合适。

实验环境:11.2.0.4 ASM

当前没有11.2.0.1的环境,不确定是否小版本差异是否会影响到实验结果。

SQL> --查询磁盘组及其相关联的底层设备
SQL> set linesize 140
SQL> col path for a66
SQL> select group_number, disk_number, mount_status, name, path
2 from v$asm_disk
3 order by group_number, disk_number; GROUP_NUMBER DISK_NUMBER MOUNT_S NAME PATH
------------ ----------- ------- ------------------------------ ------------------------------------------------------------------
0 2 CLOSED /dev/mapper/ora_vg-lv_asm5
0 3 CLOSED /dev/mapper/ora_vg-lv_asm3
0 4 CLOSED /dev/mapper/ora_vg-lv_asm6
0 5 CLOSED /dev/mapper/ora_vg-lv_asm4
1 0 CACHED D1A /dev/mapper/ora_vg-lv_asm1
1 1 CACHED D1B /dev/mapper/ora_vg-lv_asm2 6 rows selected. SQL> desc v$asm_diskgroup;
Name Null? Type
----------------------------------------------------------------------------- -------- ----------------------------------------------------
GROUP_NUMBER NUMBER
NAME VARCHAR2(30)
SECTOR_SIZE NUMBER
BLOCK_SIZE NUMBER
ALLOCATION_UNIT_SIZE NUMBER
STATE VARCHAR2(11)
TYPE VARCHAR2(6)
TOTAL_MB NUMBER
FREE_MB NUMBER
HOT_USED_MB NUMBER
COLD_USED_MB NUMBER
REQUIRED_MIRROR_FREE_MB NUMBER
USABLE_FILE_MB NUMBER
OFFLINE_DISKS NUMBER
COMPATIBILITY VARCHAR2(60)
DATABASE_COMPATIBILITY VARCHAR2(60)
VOTING_FILES VARCHAR2(1) SQL> select name from v$asm_diskgroup; NAME
------------------------------
DATA1 --1.直接添加失败,并没有忽略已经在磁盘组中的磁盘
SQL> ALTER DISKGROUP DATA1 ADD DISK '/dev/mapper/ora_vg-lv_asm*';
ALTER DISKGROUP DATA1 ADD DISK '/dev/mapper/ora_vg-lv_asm*'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15029: disk '/dev/mapper/ora_vg-lv_asm1' is already mounted by this instance --2.加入FORCE也不行
SQL> ALTER DISKGROUP DATA1 ADD DISK '/dev/mapper/ora_vg-lv_asm*' FORCE;
ALTER DISKGROUP DATA1 ADD DISK '/dev/mapper/ora_vg-lv_asm*' FORCE
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15029: disk '/dev/mapper/ora_vg-lv_asm1' is already mounted by this instance --3.指定具体盘符可以
SQL> ALTER DISKGROUP DATA1 ADD DISK '/dev/mapper/ora_vg-lv_asm3'; Diskgroup altered. SQL> select group_number, disk_number, mount_status, name, path
2 from v$asm_disk
3 order by group_number, disk_number; GROUP_NUMBER DISK_NUMBER MOUNT_S NAME PATH
------------ ----------- ------- ------------------------------ ------------------------------------------------------------------
0 2 CLOSED /dev/mapper/ora_vg-lv_asm5
0 4 CLOSED /dev/mapper/ora_vg-lv_asm6
0 5 CLOSED /dev/mapper/ora_vg-lv_asm4
1 0 CACHED D1A /dev/mapper/ora_vg-lv_asm1
1 1 CACHED D1B /dev/mapper/ora_vg-lv_asm2
1 2 CACHED DATA1_0002 /dev/mapper/ora_vg-lv_asm3 6 rows selected.

初步结论:

保留争议,选择C。

1Z0-053 争议题目解析541的更多相关文章

  1. 1Z0-053 争议题目解析

    1Z0-053 争议题目解析 Summary 题目NO. 题目解析链接地址 题库答案 参考答案 考查知识点  24 http://www.cnblogs.com/jyzhao/p/5319220.ht ...

  2. 1Z0-053 争议题目解析25

    1Z0-053 争议题目解析25 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 25.You enabled Flashback Data Archive on the INVEN ...

  3. 1Z0-053 争议题目解析24

    1Z0-053 争议题目解析24 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 24.Which of the following information will be gath ...

  4. 1Z0-053 争议题目解析46

    1Z0-053 争议题目解析46 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 46.What happens when you run the SQL Tuning Adviso ...

  5. 1Z0-053 争议题目解析86

    1Z0-053 争议题目解析86 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 86.Your production database is running in archivel ...

  6. 1Z0-053 争议题目解析134

    1Z0-053 争议题目解析134 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 134.You are managing an Oracle Database 11g datab ...

  7. 1Z0-053 争议题目解析154

    1Z0-053 争议题目解析154 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 154.A database is running in ARCHIVELOG mode and ...

  8. 1Z0-053 争议题目解析175

    1Z0-053 争议题目解析175 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 175.You are peer reviewing a fellow DBAs backup p ...

  9. 1Z0-053 争议题目解析212

    1Z0-053 争议题目解析212 考试科目:1Z0-053 题库版本:V13.02 题库中原题为: 212.Note the following parameters settings in you ...

随机推荐

  1. JAligner的一个坑

    JAligner是一个集成多个罚分矩阵的蛋白质序列比对工具包,提供充足的API供开发人员调用. 但是,不可否认的是,它的结构写得不够规范.以前我是将它放在普通的Java项目里使用,没有问题.但是,今天 ...

  2. java执行linux命令

    package com.gtstar.collector; import java.io.BufferedReader;import java.io.IOException;import java.i ...

  3. socket.io安装部署

    需要node.js环境 创建package.json npm init 下载相关依赖 npm install --save express@4.10.2npm会在当前目录下载所需要的依赖到node_m ...

  4. js 预处理用户上传图片

    前几个月闲得无聊写得一段代码,没想最近刚好用上了,在硬盘里翻了半天找回来,还没好好整理直接用上了手机用户拍照上传的图片一般都在1M 到4M 之间,如果只是用作头像尺寸就可以缩小很多,1M甚至几M的图转 ...

  5. SQL Server2000清除数据库日志

    sqlserver2000压缩日志 可以将jb51.ldf文件变得很小,方便备份数据库等,在sqlserver查询分析器中执行即可.复制代码 代码如下: DUMP TRANSACTION [jb51] ...

  6. 使用java反射机制编写Student类并保存

    定义Student类 package org; public class Student { private String _name = null; ; ; public Student() { } ...

  7. 微软发布TX(LINQ To Logs And Traces)

    微软开源技术公司于发布了Tx,这是一个Apache 2协议的开源项目,可以使用日志/跟踪文件辅助调试,以及创建实时监控和告警系统. 下面是几个引人关注的功能-- 允许在原始事件源上使用LINQ 允许在 ...

  8. IIS Community Newsletter June 2013

    Announcements Windows 2012 Server R2 preview released Windows Server 2012 R2 provides a wide range o ...

  9. 从“差不多了”到 正式发布 -- 新浪微博WinPhone UWP版诞生记

    本文粗略记述了UWP团队从接手新浪微博项目到发布第一版的过程.本文不是技术贴,而是回顾“软件工程周期失控是一种怎样的体验”. 接手新项目:捡了个大便宜 2016年1月份,UWP team开始接手新浪微 ...

  10. mina框架详解

     转:http://blog.csdn.net/w13770269691/article/details/8614584 mina框架详解 分类: web2013-02-26 17:13 12651人 ...