ALTER SYSTEM CHECK DATAFILES命令的使用

ALTER SYSTEM CHECK DATAFILES 这个命令,貌似是从白鳝的书中看到的,,于是就到官方文档的-sql reference 中搜了一下,果然有这个语句的说明,摘录如下:check_datafiles_clause In a distributed database system, such as a Real Application Clusters environment, this clause updates an instance's SGA from the database control file to reflect information on all online datafiles.Specify GLOBAL to perform this synchronization for all instances that have opened the database. This is the default.Specify LOCAL to perform this synchronization only for the local instance.Your instance should have the database open.该命令一般用于rac环境中,比如说其中一个节点无法访问某一个datafile(只有这个节点无法访问,其余节点是能访问的),无法访问的这个节点上就可以使用ALTER SYSTEM CHECK DATAFILES这个命令来更新实例的sga信息,更新信息的来源 是控制文件。然后再到mos中,以’alter system check datafile’为关键字搜索,搜到如下知识点:ALTER SYSTEM CHECK DATAFILES does not check read-only files. —

总结成功的经验能够让人越来越聪明,

ALTER SYSTEM CHECK DATAFILES命令的使用

相关文章:

你感兴趣的文章:

标签云: