当前位置:网站首页>4. Oracle redo log file management
4. Oracle redo log file management
2022-07-05 06:22:00 【Cold leaves elegant_】
- Inquire about Oracle Archived information for , If it is not in archive mode, change it to archive mode
archive log list
- Set two archive paths , In a D disc , In a E disc
alter system set log_archive_dest_1='location=D:\Oracletest';
alter system set log_archive_dest_2='location=E:\';
- Create a redo log file group , File storage :D:\Oracletest
Query existing log groups :
select group#,sequence#,members,status from v$log;
Add a new log group :
alter database add logfile ('D:\Oracletest\redo04a.log') size 10m;
Query existing log groups :
select group#,sequence#,members,status from v$log;
- Add members for the second redo log file group redo02b.log
alter database add logfile member 'D:\app\Snakewood\oradata\orcl\redo02b.log' to group 2;
- take current The redo log file of the status is moved to D:\Oracletest
Query log group status :
select group#, sequence#, members, status from v$log;
alter database rename file'D:\app\Snakewood\oradata\orcl\redo01.log' to 'D:\Oracletest\redo01.log';
Shut down and restart the database
Query modification results :
select * from v$logfile;
边栏推荐
- Error ora-28547 or ora-03135 when Navicat connects to Oracle Database
- LeetCode-61
- How to understand the definition of sequence limit?
- Multi screen computer screenshots will cut off multiple screens, not only the current screen
- [rust notes] 16 input and output (Part 2)
- Leetcode array operation
- Data visualization chart summary (I)
- 2022/6/29-日报
- 阿里巴巴成立企业数智服务公司“瓴羊”,聚焦企业数字化增长
- Winter messenger 2
猜你喜欢
随机推荐
Presentation of attribute value of an item
C job interview - casting and comparing - C job interview - casting and comparing
[wustctf2020] plain_ WP
Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022
Leetcode-31: next spread
One question per day 1020 Number of enclaves
博弈论 AcWing 891. Nim游戏
TypeScript 基础讲解
Leetcode array operation
Simple selection sort of selection sort
5.Oracle-表空间
Sqlmap tutorial (1)
MySQL advanced part 2: SQL optimization
Operator priority, one catch, no doubt
【LeetCode】Easy | 20. Valid parentheses
MySQL advanced part 1: View
Open source storage is so popular, why do we insist on self-development?
LeetCode 1200. Minimum absolute difference
什么是套接字?Socket基本介绍
SQLMAP使用教程(二)实战技巧一