| Oracle Restore Points Version 26ai |
|---|
| General Information | ||||
| Library Note |
|
|||
| Purpose | Restore points are used with Flashback Database to create points-in-time to which the database can be flashed back at a later time if desired. | |||
| Related Data Dictionary Objects |
|
|||
| Related Privileges |
|
|||
| Security Model | To create a normal restore point, you must have either SELECT ANY DICTIONARY or FLASHBACK ANY TABLE privilege. To create a guaranteed restore point, you must have the SYSDBA system privileges. To view or use a restore point, you must have the SELECT ANY DICTIONARY or FLASHBACK ANY TABLE system privilege or the SELECT_CATALOG_ROLE role. | |||
| Normal Restore Point | ||||
| Create regular restore point | CREATE [CLEAN] RESTORE POINT <restore_point_name> |
|||
conn sys@pdbdev as sysdba |
||||
| Guaranteed Restore Point | ||||
| Create a guaranteed restore point | CREATE RESTORE POINT <restore_point_name> |
|||
-- This demo assumes previous setup so database is already in archivelog mode with flashback onCREATE RESTORE POINT before_damage GUARANTEE FLASHBACK DATABASE; set linesize 121 col scn format 99999999 col time format a32 SELECT scn, database_incarnation#, guarantee_flashback_database, storage_size, time, name FROM gv_$restore_point ORDER BY 1; |
||||
| Drop Restore Point | ||||
| Drop an existing regular or guaranteed restore point | DROP RESTORE POINT <restore_point_name>; |
|||
CREATE RESTORE POINT before_damage; |
||||
| Related Topics |
| DBMS_RCVMAN.GETRESTOREPOINT |
| Flashback Database |
| Flashback Query |
| Recycle Bin |
| Table Flashback |
| What's New In 21c |
| What's New In 26ai |
| This site is maintained by Daniel Morgan. Last Updated: | This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved | ||||||||
|
|
|||||||||