ALTER SYSTEM CHECK DATAFILES命令的使用,alterdatafiles

來源:互聯網
上載者:User

ALTER SYSTEM CHECK DATAFILES命令的使用,alterdatafiles

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. ---Master Note: Overview of Oracle Tablespace Management (文檔 ID 1493350.1)另外如下的文章也有一定的學習價值:ALTER SYSTEM CHECK DATAFILES DOES NOT WORK AS EXPECTED (文檔 ID 1071756.6)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.