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

边栏推荐
- Day 2 document
- Data visualization chart summary (I)
- One question per day 1020 Number of enclaves
- 11-gorm-v2-03-basic query
- 栈 AcWing 3302. 表达式求值
- 2022/6/29-日报
- Nested method, calculation attribute is not applicable, use methods
- Leetcode-6108: decrypt messages
- Is it impossible for lamda to wake up?
- C - XOR to all (binary topic)
猜你喜欢

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

Gaussian elimination acwing 884 Gauss elimination for solving XOR linear equations

实时时钟 (RTC)

Navicat連接Oracle數據庫報錯ORA-28547或ORA-03135

Data visualization chart summary (I)

Sqlmap tutorial (II) practical skills I

5.Oracle-錶空間

MySQL advanced part 2: optimizing SQL steps

博弈论 AcWing 893. 集合-Nim游戏

Groupbykey() and reducebykey() and combinebykey() in spark
随机推荐
What is socket? Basic introduction to socket
Leetcode recursion
MySQL advanced part 1: index
[leetcode] day95 effective Sudoku & matrix zeroing
Single chip computer engineering experience - layered idea
Chart. JS - Format Y axis - chart js - Formatting Y axis
[rust notes] 14 set (Part 1)
Network security skills competition in Secondary Vocational Schools -- a tutorial article on middleware penetration testing in Guangxi regional competition
【LeetCode】Day95-有效的数独&矩阵置零
5.Oracle-表空间
Quickly use Amazon memorydb and build your own redis memory database
Regulations for network security events of vocational group in 2022 Guizhou Vocational College skill competition
How to set the drop-down arrow in the spinner- How to set dropdown arrow in spinner?
Liunx starts redis
[rust notes] 15 string and text (Part 1)
Gauss Cancellation acwing 884. Solution d'un système d'équations Xor linéaires par élimination gaussienne
C - XOR to all (binary topic)
WordPress switches the page, and the domain name changes back to the IP address
Appium foundation - use the first demo of appium
[rust notes] 16 input and output (Part 1)