国产99久久精品_欧美日本韩国一区二区_激情小说综合网_欧美一级二级视频_午夜av电影_日本久久精品视频

最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
當(dāng)前位置: 首頁 - 科技 - 知識(shí)百科 - 正文

OracleDataGuard_主庫添加或刪除在線重做日志文件

來源:懂視網(wǎng) 責(zé)編:小采 時(shí)間:2020-11-09 12:44:11
文檔

OracleDataGuard_主庫添加或刪除在線重做日志文件

OracleDataGuard_主庫添加或刪除在線重做日志文件:改變?cè)诰€重做日志文件大小和數(shù)量有時(shí)是優(yōu)化數(shù)據(jù)庫。你可以在主庫添加或刪除在線重做日志組或者日志成員而不影響備庫。同樣的,你 8.3.5 Adding or Dropping Online Redo Log Files 8.3.5 添加或刪除現(xiàn)在重做日志文件 Changing the size
推薦度:
導(dǎo)讀OracleDataGuard_主庫添加或刪除在線重做日志文件:改變?cè)诰€重做日志文件大小和數(shù)量有時(shí)是優(yōu)化數(shù)據(jù)庫。你可以在主庫添加或刪除在線重做日志組或者日志成員而不影響備庫。同樣的,你 8.3.5 Adding or Dropping Online Redo Log Files 8.3.5 添加或刪除現(xiàn)在重做日志文件 Changing the size

改變?cè)诰€重做日志文件大小和數(shù)量有時(shí)是優(yōu)化數(shù)據(jù)庫。你可以在主庫添加或刪除在線重做日志組或者日志成員而不影響備庫。同樣的,你

8.3.5 Adding or Dropping Online Redo Log Files

8.3.5 添加或刪除現(xiàn)在重做日志文件

Changing the size and number of the online redo log files is sometimes done to tune the database. You can add or drop online redo log file groups or members to the primary database without affecting the standby database. Similarly, you can drop log file groups or members from the primary database without affecting your standby database. However, these changes do affect the performance of the standby database after switchover.

改變?cè)诰€重做日志文件大小和數(shù)量有時(shí)是優(yōu)化數(shù)據(jù)庫。你可以在主庫添加或刪除在線重做日志組或者日志成員而不影響備庫。同樣的,,你可以在主庫刪除日志文件組或成員而不影響你的備庫。但是,這邊變化在普通切換后會(huì)影響備庫的性能。

Caution:

注意:

Whenever you add an online redo log file to the primary database, you should add corresponding online and standby redo log files to the standby database.

無論何時(shí),你在主庫添加在線重做日志文件,你應(yīng)該在備庫添加相應(yīng)的在線重做日志和備用重做日志文件。

For example, if the primary database has 10 online redo log files and the standby database has 2, and then you switch over to the standby database so that it functions as the new primary database, the new primary database is forced to archive more frequently than the original primary database.

例如,如果主庫有10個(gè)在線重做日志,備庫有2個(gè),那么你切換到備庫時(shí),變?yōu)橹鲙欤碌闹鲙毂仍瓉淼闹鲙鞎?huì)強(qiáng)制頻繁的歸檔。

Consequently, when you add or drop an online redo log file at the primary site, it is important that you synchronize the changes in the standby database by following these steps:

因此,當(dāng)你在主庫添加或者刪除在線重做日志時(shí),按照如下步驟將這些變化同步到備庫是很重要的,

1.

If Redo Apply is running, you must cancel Redo Apply before you can change the log files.

1.如果重做應(yīng)用正在運(yùn)行,你必須在你改變?nèi)罩疚募X取消重做應(yīng)用。

2.

If the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO, change the value to MANUAL.

如果STANDBY_FILE_MANAGEMENT初始化參數(shù)設(shè)置為AUTO,將它改變?yōu)镸ANUAL。

3.

Add or drop an online redo log file:

3.添加或刪除在線重做日志文件:

To add an online redo log file, use a SQL statement such as this:

添加在線重做日志文件,使用如下SQL語句:

SQL> ALTER DATABASE ADD LOGFILE '/disk1/Oracle/oradata/payroll/prmy3.log' SIZE 100M;

To drop an online redo log file, use a SQL statement such as this:

刪除在線重做日志文件,使用如下SQL語句:

SQL> ALTER DATABASE DROP LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log';

4.

Repeat the statement you used in Step 3 on each standby database.

在每個(gè)備庫上重復(fù)操作步驟3。

5.

Restore the STANDBY_FILE_MANAGEMENT initialization parameter and the Redo Apply options to their original states.

還原STANDBY_FILE_MANAGEMENT初始化參數(shù)為AUTO,然后重做應(yīng)用還原為原來的狀態(tài)。

相關(guān)參考:

Oracle Data Guard 重要配置參數(shù)

基于同一主機(jī)配置 Oracle 11g Data Guard

探索Oracle之11g DataGuard

Oracle Data Guard (RAC+DG) 歸檔刪除策略及腳本

Oracle Data Guard 的角色轉(zhuǎn)換

Oracle Data Guard的日志FAL gap問題

Oracle 11g Data Guard Error 16143 Heartbeat failed to connect to standby 處理方法

linux

聲明:本網(wǎng)頁內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文檔

OracleDataGuard_主庫添加或刪除在線重做日志文件

OracleDataGuard_主庫添加或刪除在線重做日志文件:改變?cè)诰€重做日志文件大小和數(shù)量有時(shí)是優(yōu)化數(shù)據(jù)庫。你可以在主庫添加或刪除在線重做日志組或者日志成員而不影響備庫。同樣的,你 8.3.5 Adding or Dropping Online Redo Log Files 8.3.5 添加或刪除現(xiàn)在重做日志文件 Changing the size
推薦度:
標(biāo)簽: 刪除 添加 文件
  • 熱門焦點(diǎn)

最新推薦

猜你喜歡

熱門推薦

專題
Top
主站蜘蛛池模板: 日本免费黄色网址 | 亚洲国产精久久久久久久 | 久久精品国产亚洲a不卡 | 日韩亚洲欧美一区 | 国产成人麻豆精品video | 91久久精品国产性色也91久久 | 一区在线观看 | 久久91精品久久91综合 | 亚洲国产精品一区二区久久 | 另类欧美日韩 | 亚洲最新在线 | 国产一区二区在线看 | a黄毛片| 欧美日韩一本 | 亚洲一区二区免费看 | 91岛国| 日韩专区欧美 | 久久99国产精品成人欧美 | 国内精品99| 欧美精品日韩一区二区三区 | 添逼动态图 | 国内精品视频 | 国产成人欧美一区二区三区的 | 国模冰冰炮交图150 国模吧国模吧一二区 | 广东东莞一级毛片免费 | 中文亚洲欧美日韩无线码 | 最新大黄网站免费 | 欧美日韩亚洲无线码在线观看 | 日本韩国一区 | 亚洲欧洲精品成人久久曰 | 在线免费观看亚洲视频 | 欧美另类第一页 | 亚洲国产成人精品一区二区三区 | 欧美中文娱乐网 | 国产精选一区二区 | 成人国产一区二区 | 久久精品综合国产二区 | 精品偷自拍另类在线观看 | 亚洲一区二区在线 | 欧美三级在线看 | 欧美日韩亚洲综合另类ac |