In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Check to see if the database is in archive mode:
SQL > show parameter db_flashback
NAME TYPE VALUE
-
Db_flashback_retention_target integer 1440
SQL > archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination / oradata/arch/matrixdg
Oldest online log sequence 65
Next log sequence to archive 0
Current log sequence 67
two。 Set flashback parameters:
SQL > show parameter db_recovery
NAME TYPE VALUE
-
Db_recovery_file_dest string / u2/oracle/fast_recovery_area
Db_recovery_file_dest_size big integer 4122M
As above: db_recovery_file_dest is the flashback path and db_recovery_file_dest_size is the flashback area size.
SQL > show parameter flashback
NAME TYPE VALUE
-
Db_flashback_retention_target integer 1440
For example, db_flashback_retention_target flashback retention time
3. Shut down the database and enable flashback
SQL > shutdown immediate
SQL > startup mount
SQL > alter database flashback on
SQL > alter database open
4. Query flashback status
SQL > select flashback_on from v$database
FLASHBACK_ON
-
YES
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
SQL > set lines 200SQL > select * from v$version where rownum=1;BANNER
© 2024 shulou.com SLNews company. All rights reserved.