ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 043-098

043-098

原创 Linux操作系统 作者:jbymy2000 时间:2012-03-07 21:40:00 0 删除 编辑
98. Consider the following scenario: You have a directory, data, unde
r the disk group tdgroupA.You want to create an alias for one of the
data files and you execute the following command:
ALTER DISKGROUP tdgroupA ADD ALIAS '+tdgroupA/data/datafile.dbf'
FOR '+tdgroupA.231.45678';
Which task would be accomplished by the command?
A. The command drops the file +tdgroupA.231.45678.
B. The command physically relocated the file to +tdgroupA/data and re
names the file to datafile.dbf.
C. The command creates a copy of the +tdgroupA.231.45678 file and pla
ces it in +tdgroupA/data after renaming the file to datafile.dbf.
D. The command creates an alias, datafile.dbf, and places it in +tdgr
oupA/data and does not remove the tdgroupA 231.45678 file.
E. The command creates a file, datafile.dbf, in +tdgroupA/data and re
moved the references for +tdgroupA.231.45678 from the data dictionary
views.
Answer: D
ALTER DISKGROUP tdgroupA ADD ALIAS '+tdgroupA/data/datafile.dbf'
FOR '+tdgroupA.231.45678'
该命令创建了一个同义词datafile.dbf 并放在+tdgroupA/data/目录下,
但不影响原来的的+tdgroupA.231.45678 文件

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

上一篇: 043-097
下一篇: 043-099
请登录后发表评论 登录
全部评论

注册时间:2012-01-10

  • 博文量
    416
  • 访问量
    214032