国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 網(wǎng)站 > 建站經(jīng)驗(yàn) > 正文

Orac,leDataGuard_主庫(kù)添加或刪除在線重做日志文件

2019-11-02 15:31:05
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

   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

月球未解之謎[www.9-39.com/html/mystery/]
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ù)庫(kù)。你可以在主庫(kù)添加或刪除在線重做日志組或者日志成員而不影響備庫(kù)。同樣的,你可以在主庫(kù)刪除日志文件組或成員而不影響你的備庫(kù)。但是,這邊變化在普通切換后會(huì)影響備庫(kù)的性能。

  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. 無(wú)論何時(shí),你在主庫(kù)添加在線重做日志文件,你應(yīng)該在備庫(kù)添加相應(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.

  例如,如果主庫(kù)有10個(gè)在線重做日志,備庫(kù)有2個(gè),那么你切換到備庫(kù)時(shí),變?yōu)橹鲙?kù),新的主庫(kù)比原來(lái)的主庫(kù)會(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)你在主庫(kù)添加或者刪除在線重做日志時(shí),按照如下步驟將這些變化同步到備庫(kù)是很重要的,

  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)用。

  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。

  Add or drop an online redo log file:

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

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

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

  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語(yǔ)句:

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

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

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

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

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 海晏县| 黎平县| 巫山县| 龙岩市| 雅安市| 成武县| 新巴尔虎左旗| 理塘县| 吴川市| 庆城县| 新宾| 北宁市| 阿克苏市| 连江县| 安徽省| 上高县| 六盘水市| 英吉沙县| 临湘市| 建平县| 桂平市| 昌图县| 宁明县| 乃东县| 竹北市| 龙海市| 博爱县| 自贡市| 衡东县| 米易县| 鸡东县| 乌海市| 额济纳旗| 普陀区| 海口市| 前郭尔| 贺兰县| 洛浦县| 新源县| 杨浦区| 东乡族自治县|