温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

闪回点需要注意的问题

发布时间:2020-07-20 21:34:01 来源:网络 阅读:680 作者:whshurk 栏目:关系型数据库

sys@newtestCDB> select * from v$recovery_file_dest;

NAME

SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES CON_ID


C:\app\Administrator\virtual\FlashRecovery
3145728000 3133800448 0 35 0

Elapsed: 00:00:00.06
sys@newtestCDB> SELECT * FROM V$RMAN_STATUS where STATUS LIKE 'RUNNING%'
2 ;

   SID      RECID      STAMP PARENT_RECID PARENT_STAMP SESSION_RECID SESSION_STAMP  ROW_LEVEL

ROW_TYPE COMMAND_ID OPERATION


STATUS MBYTES_PROCESSED START_TIME END_TIME INPUT_BYTES


OUTPUT_BYTES OPT OBJECT_TYPE OUTPUT_DEVICE_TYP OSB CON_ID


    26         49  966690363           48    966690330            48     966690330          1

COMMAND 2018-01-29T13:05:29 BACKUP
RUNNING 0 2018-01-29 13:06:03 2018-01-29 13:13:44 0
0 NO DB FULL NO 0

   SID      RECID      STAMP PARENT_RECID PARENT_STAMP SESSION_RECID SESSION_STAMP  ROW_LEVEL

ROW_TYPE COMMAND_ID OPERATION


STATUS MBYTES_PROCESSED START_TIME END_TIME INPUT_BYTES


OUTPUT_BYTES OPT OBJECT_TYPE OUTPUT_DEVICE_TYP OSB CON_ID


    76         47  966689991           46    966689985            46     966689985          1

COMMAND 2018-01-29T12:59:30 BACKUP
RUNNING 0 2018-01-29 12:59:51 2018-01-29 13:13:44 0
0 NO DB FULL NO 0

   SID      RECID      STAMP PARENT_RECID PARENT_STAMP SESSION_RECID SESSION_STAMP  ROW_LEVEL

ROW_TYPE COMMAND_ID OPERATION


STATUS MBYTES_PROCESSED START_TIME END_TIME INPUT_BYTES


OUTPUT_BYTES OPT OBJECT_TYPE OUTPUT_DEVICE_TYP OSB CON_ID


    76         46  966689985                                      46     966689985          0

SESSION 2018-01-29T12:59:30 RMAN
RUNNING 0 2018-01-29 12:59:45 2018-01-29 13:13:44 0
0 NO NO 0

   SID      RECID      STAMP PARENT_RECID PARENT_STAMP SESSION_RECID SESSION_STAMP  ROW_LEVEL

ROW_TYPE COMMAND_ID OPERATION


STATUS MBYTES_PROCESSED START_TIME END_TIME INPUT_BYTES


OUTPUT_BYTES OPT OBJECT_TYPE OUTPUT_DEVICE_TYP OSB CON_ID


    26         48  966690330                                      48     966690330          0

SESSION 2018-01-29T13:05:29 RMAN
RUNNING 0 2018-01-29 13:05:30 2018-01-29 13:13:44 0
0 NO NO 0

Elapsed: 00:00:00.13
查询闪回点
SQL> select * from v$restore_point;

   SCN DATABASE_INCARNATION# GUARANTEE_FLASHBACK_DATABASE STORAGE_SIZE TIME                                                                             RESTORE_POINT_TIME                                                               PRESERVED NAME                                                                             PDB_RESTORE_POINT CLEAN_PDB_RESTORE_POINT PDB_INCARNATION#     CON_ID

6737077 3 YES 3211624448 22-JAN-18 11.03.02.000000000 AM YES CLONEPDB_PLUG_20180122 YES NO 0 4
删除闪回点
sys@CLONEPDB_PLUGPDB> drop restore point CLONEPDB_PLUG_20180122;

还原点已删除。
然后alter database flashback off;
清除闪回目录
sys@newtestCDB> select flashback_on from v$database;

FLASHBACK_ON

NO

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI