当前位置:网站首页>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;

边栏推荐
- Traversal of leetcode tree
- [2021]GIRAFFE: Representing Scenes as Compositional Generative Neural Feature Fields
- Sqlmap tutorial (1)
- Leetcode-31: next spread
- [rust notes] 16 input and output (Part 2)
- MatrixDB v4.5.0 重磅发布,全新推出 MARS2 存储引擎!
- International Open Source firmware Foundation (osff) organization
- Navicat連接Oracle數據庫報錯ORA-28547或ORA-03135
- In depth analysis of for (VaR I = 0; I < 5; i++) {settimeout (() => console.log (I), 1000)}
- Winter messenger 2
猜你喜欢

Leetcode array operation

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

1.14 - assembly line

Network security skills competition in Secondary Vocational Schools -- a tutorial article on middleware penetration testing in Guangxi regional competition

论文阅读报告

中国剩余定理 AcWing 204. 表达整数的奇怪方式

LeetCode 0108. Convert an ordered array into a binary search tree - the median of the array is the root, and the left and right of the median are the left and right subtrees respectively

Leetcode-6111: spiral matrix IV

MatrixDB v4.5.0 重磅发布,全新推出 MARS2 存储引擎!

Operator priority, one catch, no doubt
随机推荐
MySQL advanced part 1: triggers
博弈论 AcWing 894. 拆分-Nim游戏
4. Object mapping Mapster
博弈论 AcWing 892. 台阶-Nim游戏
【LeetCode】Day94-重塑矩阵
4.Oracle-重做日志文件管理
【LeetCode】Easy | 20. Valid parentheses
【LeetCode】Day95-有效的数独&矩阵置零
Dataframe (1): introduction and creation of dataframe
The difference between CPU core and logical processor
SQLMAP使用教程(一)
Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a
[leetcode] day95 effective Sudoku & matrix zeroing
Traversal of leetcode tree
Leetcode-556: the next larger element III
TypeScript 基础讲解
Client use of Argo CD installation
容斥原理 AcWing 890. 能被整除的数
927. Trisection simulation
AE tutorial - path growth animation