当前位置:网站首页>3.Oracle-控制文件的管理
3.Oracle-控制文件的管理
2022-07-05 06:20:00 【寒叶飘逸_】
- 关闭实例(shutdown immediate),删除全部控制文件,重新创建控制文件(3个)
select member from v$logfile;
select value from v$parameter where name = 'control_files';
首先关闭数据库
执行create control命令(在这里之前曾经报错,原因是日志文件大小没有设置正确,要和创建时的大小一样)
- 完成上述操作后,增加一个控制文件control04.ctl,放在D盘(多路镜像)
ALTER SYSTEM SET CONTROL_FILES =
'D:\APP\SNAKEWOOD\PRODUCT\11.2.0\DBHOME_1\DATABASE\ORA_CONTROL1',
'D:\APP\SNAKEWOOD\PRODUCT\11.2.0\DBHOME_1\DATABASE\ORA_CONTROL2',
'D:\app\Snakewood\oradata\mydba\ORA_CONTROL4'
SCOPE=SPFILE;
- 备份控制文件为文本文件
- 请尝试将control01.ctl文件移动到C:\oracle\product位置,并确保数据库能够重新、正常启动
查询控制文件的位置
修改spfile中控制文件的位置
关闭数据库,并将控制文件移动到修改后的位置
启动数据库,并查询控制文件所在目录
边栏推荐
- Data visualization chart summary (I)
- LeetCode 1200. Minimum absolute difference
- Golang uses context gracefully
- 1039 Course List for Student
- What is socket? Basic introduction to socket
- Leetcode dynamic programming
- 栈 AcWing 3302. 表达式求值
- Navicat连接Oracle数据库报错ORA-28547或ORA-03135
- Leetcode-556: the next larger element III
- 博弈论 AcWing 891. Nim游戏
猜你喜欢
Gauss Cancellation acwing 884. Solution d'un système d'équations Xor linéaires par élimination gaussienne
Error ora-28547 or ora-03135 when Navicat connects to Oracle Database
Data visualization chart summary (II)
RGB LED infinite mirror controlled by Arduino
2021apmcm post game Summary - edge detection
实时时钟 (RTC)
MIT-6874-Deep Learning in the Life Sciences Week 7
Quickly use Amazon memorydb and build your own redis memory database
Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams
MySQL advanced part 1: stored procedures and functions
随机推荐
Navicat连接Oracle数据库报错ORA-28547或ORA-03135
New title of module a of "PanYun Cup" secondary vocational network security skills competition
1.13 - RISC/CISC
多屏电脑截屏会把多屏连着截下来,而不是只截当前屏
Quickly use Amazon memorydb and build your own redis memory database
[rust notes] 14 set (Part 1)
SQLMAP使用教程(二)实战技巧一
How to set the drop-down arrow in the spinner- How to set dropdown arrow in spinner?
Arduino 控制的 RGB LED 无限镜
Erreur de connexion Navicat à la base de données Oracle Ora - 28547 ou Ora - 03135
[rust notes] 17 concurrent (Part 2)
容斥原理 AcWing 890. 能被整除的数
Usage scenarios of golang context
Error ora-28547 or ora-03135 when Navicat connects to Oracle Database
927. 三等分 模拟
什么是套接字?Socket基本介绍
One question per day 1020 Number of enclaves
[rust notes] 17 concurrent (Part 1)
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
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