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

溫馨提示×

溫馨提示×

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

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

12c rac開閃回

發布時間:2020-07-20 16:42:28 來源:網絡 閱讀:507 作者:roidba 欄目:關系型數據庫

一、步驟
1.關閉節點二
2.配置相關參數
3.關閉節點1
4.啟用閃回
5.打開節點二

二、操作過程

[root@rac01 ~]# su - oracle
Last login: Thu Jan  4 10:33:31 CST 2018 on pts/2
<rac01:orcl1:/home/oracle>$sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Fri Jan 5 18:52:55 2018

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Advanced Analytics and Real Application Testing options

SYS@orcl1> 
SYS@orcl1> 
SYS@orcl1> 
SYS@orcl1> show parameter recovery

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string
db_recovery_file_dest_size           big integer 0
recovery_parallelism                 integer     0
SYS@orcl1> show parameter flashback

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_flashback_retention_target        integer     1440
SYS@orcl1> alter system set db_recovery_file_dest_size=1g;

System altered.

SYS@orcl1> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            +DATADG
Oldest online log sequence     121
Next log sequence to archive   122
Current log sequence           122
SYS@orcl1> alter system set db_recovery_file_dest='+datadg';

System altered.

SYS@orcl1> alter system set db_flashback_retention_target=2880;

System altered.

SYS@orcl1> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@orcl1> startup mount;
ORACLE instance started.

Total System Global Area 1241513984 bytes
Fixed Size                  2923872 bytes
Variable Size             620757664 bytes
Database Buffers          603979776 bytes
Redo Buffers               13852672 bytes
Database mounted.
SYS@orcl1> alter database flashback on;

Database altered.

SYS@orcl1> alter database open;

Database altered.

SYS@orcl1> select flashback_on from v$database;

FLASHBACK_ON
------------------
YES

SYS@orcl1> show parameter recovery

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      +datadg
db_recovery_file_dest_size           big integer 1G
recovery_parallelism                 integer     0
SYS@orcl1> show parameter flashback

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_flashback_retention_target        integer     2880
SYS@orcl1> 

小結:
生產環境ADG備庫開閃回解決邏輯錯誤。未來再添加一個備庫,做災備,一主兩備哈

向AI問一下細節

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

AI

博湖县| 阿克苏市| 溧水县| 浑源县| 佳木斯市| 南开区| 虹口区| 三明市| 博白县| 富平县| 汉沽区| 陵川县| 桑日县| 郯城县| 贵溪市| 昌江| 武夷山市| 高雄县| 新野县| 洛浦县| 兖州市| 安达市| 阿拉尔市| 包头市| 滦平县| 东山县| 巴中市| 江华| 昔阳县| 南昌市| 绍兴县| 诸暨市| 舒兰市| 宝应县| 石台县| 来安县| 锡林郭勒盟| 宁津县| 抚宁县| 犍为县| 普陀区|