QuestionQ238

VerifiedBackup and Recovery Concepts

You enable Flashback Data Archive for a table whose transactions you want to track and retain for four years. After some time, the transaction-retention requirement changes from four years to two years.

You run the following command to change the requirement:

SQL> ALTER flashback archive fda1 MODIFY RETENSION 2 YEAR;  

What is the result?

Explanation

ALTER FLASHBACK ARCHIVE ... MODIFY RETENTION changes a Flashback Archive’s retention period. Historical data that has aged beyond the configured retention period is automatically purged; consequently, setting the retention period to two years purges any historical data older than two years from FDA1.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!