41 . You decided to change the location of the flash recovery area. Y
ou executed the following command:
ALTER SYSTEM SET DB_RECOVERY_FILE_DEST='+disk1' SCOPE=BOTH SID='*';
Which statement is true?
A. The location can be changed only if the flash recovery area is emp
ty.
B. After executing the command, all new flash recovery area files wil
l be created in the new location.
C. The command will generate an error because you cannot change the f
lash recovery area while the database is open.
D. All the existing files in the flash recovery area will be moved to
the new location and all new Flash Recovery Area files will be creat
ed in the new location.
Answer: B
Oracle 里面有个叫做spfile的东西,就是动态参数文件,里面设置了Oracle 的各种参数。所谓的动态,就是说你可以在不关闭数据库的情况下,更改数据库参数,记录在spfile里面。更改参数的时候,有4种scope选项。scope就是范围
++ scope=spfile 仅仅更改spfile里面的记载,不更改内存,也就是不立即生效,而是等下次数据库启动生效。有一些参数只允许用这种方法更改
++ scope=memory 仅仅更改内存,不改spfile。也就是下次启动就失效了
++ scope=both 内存和spfile都更改
++ 不指定scope参数,等同于scope=both.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11312660/viewspace-717711/
,如需转载,请注明出处,否则将追究法律责任。