当前位置:网站首页>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;
边栏推荐
- [rust notes] 14 set (Part 1)
- Liunx starts redis
- Quickly use Amazon memorydb and build your own redis memory database
- 背包问题 AcWing 9. 分组背包问题
- Usage scenarios of golang context
- 5.Oracle-表空间
- Leetcode-22: bracket generation
- 安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
- 高斯消元 AcWing 884. 高斯消元解异或线性方程组
- __ builtin_ Popcount() counts the number of 1s, which are commonly used in bit operations
猜你喜欢
Appium automation test foundation - Summary of appium test environment construction
博弈论 AcWing 894. 拆分-Nim游戏
Traditional databases are gradually "difficult to adapt", and cloud native databases stand out
开源存储这么香,为何我们还要坚持自研?
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
3.Oracle-控制文件的管理
Leetcode-6108: decrypt messages
[wustctf2020] plain_ WP
P2575 master fight
Bit of MySQL_ OR、BIT_ Count function
随机推荐
Leetcode-6109: number of people who know secrets
WordPress switches the page, and the domain name changes back to the IP address
4. 对象映射 - Mapping.Mapster
实时时钟 (RTC)
Regulations for network security events of vocational group in 2022 Guizhou Vocational College skill competition
快速使用Amazon MemoryDB并构建你专属的Redis内存数据库
Real time clock (RTC)
How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling
P2575 master fight
Leetcode-556: the next larger element III
Sword finger offer II 058: schedule
JS quickly converts JSON data into URL parameters
Erreur de connexion Navicat à la base de données Oracle Ora - 28547 ou Ora - 03135
Sqlmap tutorial (II) practical skills I
11-gorm-v2-03-basic query
C Primer Plus Chapter 15 (bit operation)
Niu Mei's math problems
Modnet matting model reproduction
Day 2 document
SQLMAP使用教程(一)