ORACLE12CDG下redo迁移

SQL> SELECT * FROM v$logfile;

灵丘网站制作公司哪家好,找成都创新互联公司!从网页设计、网站建设、微信开发、APP开发、响应式网站建设等网站项目制作,到程序开发,运营维护。成都创新互联公司从2013年创立到现在10年的时间,我们拥有了丰富的建站经验和运维经验,来保证我们的工作的顺利进行。专注于网站建设就选成都创新互联公司

GROUP# STATUS  TYPE

MEMBER

IS_ CON_ID


 3     ONLINE

+DATA/JY/ONLINELOG/group_3.264.968770057
NO 0

 2     ONLINE

+DATA/JY/ONLINELOG/group_2.263.968770045
NO 0

GROUP# STATUS  TYPE

MEMBER

IS_ CON_ID


 1     ONLINE

+DATA/JY/ONLINELOG/group_1.262.968770045
NO 0

SQL> select group#,status from v$log;

GROUP# STATUS

 1 INACTIVE
 2 INACTIVE
 3 CURRENT

SQL> alter database add logfile member '+REDO','+ARCH' to group 1;

Database altered.

SQL> alter database add logfile member '+REDO','+ARCH' to group 2;

Database altered.

SQL> alter database add logfile member '+REDO','+ARCH' to group 3;

Database altered.

SQL> select group#,status from v$log;

GROUP# STATUS

 1 INACTIVE
 2 INACTIVE
 3 CURRENT

SQL> alter system switch logfile;

System altered.

SQL> alter database drop logfile member '+DATA/JY/ONLINELOG/group_1.262.968770045';

Database altered.

SQL> alter system switch logfile;

System altered.

SQL> alter database drop logfile member '+DATA/JY/ONLINELOG/group_2.263.968770045';

Database altered.

SQL> alter system switch logfile;

System altered.
SQL> alter database drop logfile member '+DATA/JY/ONLINELOG/group_3.264.968770057';

Database altered.

SQL> select a.group#,a.bytes/1024/1024 mb,b.member from v$log a,v$logfile b where a.group#=b.group#;

GROUP#     MB

MEMBER

 1    200

+REDO/JY/ONLINELOG/group_1.256.968854893

 1    200

+ARCH/JY/ONLINELOG/group_1.256.968854895

 2    200

+REDO/JY/ONLINELOG/group_2.257.968854901

GROUP#     MB

MEMBER

 2    200

+ARCH/JY/ONLINELOG/group_2.257.968854903

 3    200

+REDO/JY/ONLINELOG/group_3.258.968854907

 3    200

+ARCH/JY/ONLINELOG/group_3.258.968854909

6 rows selected.

分享题目:ORACLE12CDG下redo迁移
网页链接:https://www.cdcxhl.com/article42/gpijec.html

成都网站建设公司_创新互联,为您提供品牌网站设计App设计外贸建站营销型网站建设网站内链外贸网站建设

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都网页设计公司