Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the steps to turn on or off the flashback function of an oracle database

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to open or close the oracle database flashback function steps, the content is concise and easy to understand, absolutely can make your eyes bright, through the detailed introduction of this article, I hope you can get something.

First, open the flashback database feature:

1. Make sure the database is in archive mode. If it is non-archive mode, convert the database to archive mode.

SQL > archive log list

Database log mode archive mode

Automatic archiving enabled

End of Archive / cwarch

The earliest online log sequence 1274

Next archive log sequence 1276

Current log sequence 1276

2. Set the flashback recovery area

Set the flashback area size:

SQL > alter system set db_recovery_file_dest_size=80g scope=spfile

Set the flashback zone location:

SQL > alter system set db_recovery_file_dest='/workdb/account_flashback_area' scope=spfile

Set the flashback target to 5 days, in minutes, and 1440 minutes per day:

SQL > alter system set db_flashback_retention_target=7200 scope=spfile

3. Turn on the flashback function

SQL > shutdown immediate

SQL > startup mount

SQL > alter database flashback on

SQL > alter database open

4. Confirm that the database flashback feature is enabled

SQL > select flashback_on from v$database

FLASHBACK_ON

-

YES

Turn off the flashback database feature:

SQL > shutdown immediate

SQL > startup mount

SQL > alter database flashback off

SQL > alter database open

The above is how to turn on or off the flashback function of oracle database. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report