当前位置:网站首页>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;
边栏推荐
- Liunx starts redis
- Redis publish subscribe command line implementation
- Doing SQL performance optimization is really eye-catching
- Real time clock (RTC)
- New title of module a of "PanYun Cup" secondary vocational network security skills competition
- SPI details
- MPLS experiment
- 1.14 - assembly line
- Network security skills competition in Secondary Vocational Schools -- a tutorial article on middleware penetration testing in Guangxi regional competition
- [learning] database: MySQL query conditions have functions that lead to index failure. Establish functional indexes
猜你喜欢
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Liunx starts redis
1.14 - assembly line
Operator priority, one catch, no doubt
Real time clock (RTC)
Open source storage is so popular, why do we insist on self-development?
[wustctf2020] plain_ WP
1.15 - input and output system
Appium automation test foundation - Summary of appium test environment construction
Navicat连接Oracle数据库报错ORA-28547或ORA-03135
随机推荐
SPI 详解
2022/6/29-日报
LeetCode 1200. Minimum absolute difference
Groupbykey() and reducebykey() and combinebykey() in spark
Daily question 1189 Maximum number of "balloons"
Dataframe (1): introduction and creation of dataframe
Record the process of configuring nccl and horovod in these two days (original)
Leetcode-1200: minimum absolute difference
MySQL advanced part 1: triggers
阿里新成员「瓴羊」正式亮相,由阿里副总裁朋新宇带队,集结多个核心部门技术团队
LeetCode-54
[moviepy] unable to find a solution for exe
SPI details
中国剩余定理 AcWing 204. 表达整数的奇怪方式
做 SQL 性能优化真是让人干瞪眼
SQLMAP使用教程(二)实战技巧一
New title of module a of "PanYun Cup" secondary vocational network security skills competition
Introduction to LVS [unfinished (semi-finished products)]
论文阅读报告
Traditional databases are gradually "difficult to adapt", and cloud native databases stand out