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

溫馨提示×

溫馨提示×

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

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

愛數(Version: 6.0.17.0.1704)oracle rac下異機單節點恢復

發布時間:2020-05-23 10:08:55 來源:網絡 閱讀:369 作者:敏而所學 欄目:關系型數據庫

1、恢復參數文件--任意可讀寫路徑/u01/oracle/recoverydata(數據庫需在nomount或mount狀態)
2、修改參數文件---pfile_dmsdb.ora
#plusdb.db_cache_size=11408506880
#plusdb.
java_pool_size=939524096
#plusdb.large_pool_size=805306368
plusdb.
oracle_base='/u01/orabase'#ORACLE_BASE set from environment
#plusdb.pga_aggregate_target=34225520640
#plusdb.
sga_target=19864223744
#plusdb.__shared_io_pool_size=268435456
#plusdb.shared_pool_size=6174015488
plusdb.
streams_pool_size=0
.audit_file_dest='/u01/oracle/admin/plusdb/adump'
#
.background_dump_dest='/u01/oracle/diag/rdbms/plusdb'
.compatible='11.2.0.4.0'
.control_files='/u01/oracle/oradata/plusdb/controlfile/current.256.952221069'
.core_dump_dest='/u01/oracle/diag/rdbms/plusdb'
.db_block_size=8192
.db_create_file_dest=''
.db_domain=''
.db_name='plusdb'
.db_recovery_file_dest='/u01/oracle/fast_recovery_area'
.db_recovery_file_dest_size=4282368
.diagnostic_dest='/u01/oracle'
.dispatchers='(PROTOCOL=TCP) (SERVICE=plusdbXDB)'
.log_archiveformat='%t%s_%r.dbf'
.memory_target=12884901888
.open_cursors=300
.processes=1500
.remote_login_passwordfile='exclusive'
.sessions=1655
plusdb.thread=1
plusdb.undo_tablespace='UNDOTBS1'
#
.user_dump_dest='/u01/oracle/diag/rdbms/plusdb'
*.diagnostic_dest='/u01/oracle'
3、根據恢復的參數文件創建spfile啟動Oracle實例到STARTED
3.1、關閉數據庫
shutdown abort;
3.2、根據恢復的參數文件創建spfile文件
create spfile from pfile='/u01/oracle/recoverydata/pfile_dmsdb.ora';
3.3、開啟數據庫至nomount狀態
startup nomount;
3.3、查看數據庫狀態 狀態應為STARTED
select status from v$instance;4、恢復日志文件,控制文件和數據文件并重定向--任意可讀寫路徑/u01/oracle/recoverydata
5、重命名在線日志文件@/home/oracle/test.sql
br/>4、恢復日志文件,控制文件和數據文件并重定向--任意可讀寫路徑/u01/oracle/recoverydata
5、重命名在線日志文件@/home/oracle/test.sql
alter database rename file '+FRA/mhdb/onlinelog/group_1.438.982084575' to '/oradata/oracle/oradata/mhdb/redo01_2.log';
alter database rename file '+DATA/mhdb/onlinelog/group_2.262.982084577' to '/oradata/oracle/oradata/mhdb/redo02_1.log';
alter database rename file '+FRA/mhdb/onlinelog/group_2.260.982084577' to '/oradata/oracle/oradata/mhdb/redo02_2.log';
alter database rename file '+DATA/mhdb/onlinelog/group_3.266.982084577' to '/oradata/oracle/oradata/mhdb/redo03_1.log';
alter database rename file '+FRA/mhdb/onlinelog/group_3.259.982084579' to '/oradata/oracle/oradata/mhdb/redo03_2.log';
alter database rename file '+DATA/mhdb/onlinelog/group_4.261.982086153' to '/oradata/oracle/oradata/mhdb/redo04_1.log';
alter database rename file '+FRA/mhdb/onlinelog/group_4.258.982086153' to '/oradata/oracle/oradata/mhdb/redo04_2.log';
alter database rename file '+DATA/mhdb/onlinelog/group_5.260.982086155' to '/oradata/oracle/oradata/mhdb/redo05_1.log';
alter database rename file '+FRA/mhdb/onlinelog/group_5.257.982086155' to '/oradata/oracle/oradata/mhdb/redo05_2.log';
alter database rename file '+DATA/mhdb/onlinelog/group_6.259.982086155' to '/oradata/oracle/oradata/mhdb/redo06_1.log';
alter database rename file '+FRA/mhdb/onlinelog/group_6.408.982086157' to '/oradata/oracle/oradata/mhdb/redo06_2.log';
6.啟動數據庫
alter database open resetlogs;

select name from v$datafile查詢oracle數據文件位置
select member from v$logfile; 查看redo路徑

愛數操作:
#ps -ef | grep esf
#cd /etc/init.d
#./AnyBac status
#./AnyBac stop
#su - oracle

向AI問一下細節

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

AI

惠来县| 仪陇县| 晋城| 南投县| 吕梁市| 聂拉木县| 石河子市| 陆丰市| 玉屏| 邵阳县| 北川| 安庆市| 黔西| 竹北市| 枣强县| 白玉县| 凤城市| 洱源县| 广饶县| 河源市| 南雄市| 德昌县| 屏山县| 淅川县| 山东省| 高淳县| 西青区| 青河县| 娄底市| 瑞昌市| 石景山区| 岳普湖县| 监利县| 普兰店市| 海淀区| 湘乡市| 壶关县| 申扎县| 海伦市| 达孜县| 会宁县|