中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

USING CURRENT LOGFILE has been

發布時間:2020-02-14 11:09:44 來源:網絡 閱讀:393 作者:roidba 欄目:關系型數據庫

一、Oracle 19c 告警日志

2020-01-19 20:40:26.193000 +08:00
Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.
Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.
alter database recover managed standby database using current logfile disconnect from session

告警提示USING CURRENT LOGFILE 已經廢棄掉了。還好Oracle得很多命令是向后兼容得,按照原有得執行方式也不會有問題。

二、官方文檔得使用方法

To start apply services on a physical standby database, ensure the physical standby database is started and mounted and then start Redo Apply.

Start apply services on a physical standby database as follows:

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
This also automatically enables real-time apply provided the standby database is configured with a standby redo log and is in ARCHIVELOG mode.
--在Oracle 12c以后自動啟動實時應用,備庫需要配置standby redo log和打開歸檔日志。

Redo Apply can be run either as a foreground session or as a background process. To start Redo Apply in the foreground, issue the following SQL statement:

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
If you start a foreground session, control is not returned to the command prompt until recovery is canceled by another session.

To start Redo Apply in the background, include the DISCONNECT keyword on the SQL statement. For example:

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
--以后使用以上命令啟動實時應用進程,還可以少敲一些命令,挺好挺好。
or

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING ARCHIVED LOGFILE DISCONNECT;
This statement starts a detached server process and immediately returns control to the user. While the managed recovery process is performing recovery in the background, the foreground process that issued the RECOVER statement can continue performing other tasks. This command does not disconnect the current SQL session.

三、小結
1、不太忙得時候多看看數據庫得告警日志,總會有新得發現。
2、每天看半個小時得官方文檔,尤其是新版本得文檔,還可以多學習學習英文,還是不錯得。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

福贡县| 芦溪县| 和田市| 南阳市| 富平县| 辽中县| 南澳县| 灵台县| 临泽县| 临漳县| 张家港市| 响水县| 潍坊市| 湘乡市| 平昌县| 布拖县| 怀集县| 石首市| 绍兴县| 潍坊市| 北票市| 河北省| 屯昌县| 芦山县| 康乐县| 永年县| 罗田县| 平凉市| 静乐县| 武冈市| 丘北县| 马关县| 鲜城| 河西区| 本溪市| 长汀县| 新丰县| 封丘县| 太仓市| 无为县| 凌海市|