当前位置:网站首页>Oracle 数据库设置为只读及读写
Oracle 数据库设置为只读及读写
2022-08-01 22:58:00 【yunzhonghefei】
查询数据库现在的状态(假定为可读写状态),并将其变更为只读状态。
sqlplus /nolog
connect / as sysdba --以DBA角色登陆--
select open_mode from v$database; --查询数据库现在的状态时只读还是可写--
shutdown immediate --warnning:确保没有真正执行的进程后再执行--
startup mount --加载数据库--
alter database open read only; --变更数据库为只读状态--
将数据库由只读状态变更为可写状态。
sqlplus / as sysdba
select open_mode from v$database;
shutdown immediate
startup open read write;边栏推荐
- dvwa 通关记录1 - 暴力破解 Brute Force
- Delicious this year
- B. Difference Array--Codeforces Round #808 (Div. 1)
- System availability: 3 9s, 4 9s in SRE's mouth... What is it?
- From 0 to 100: Notes on the Development of Enrollment Registration Mini Programs
- Small application project works WeChat stadium booking applet graduation design of the finished product (1) the development profile
- excel split text into different rows
- 还在纠结报表工具的选型么?来看看这个
- leetcode 204. Count Primes 计数质数 (Easy)
- 威纶通触摸屏如何打开并升级EB8000旧版本项目并更换触摸屏型号?
猜你喜欢
随机推荐
excel vertical to horizontal
华为无线设备配置全局双链路冷备份(AC全局配置方式)
[机缘参悟-58]:《素书》-5-奉行仁义[遵义章第五]
基于 OData 模型和 JSON 模型的 SAP UI5 表格控件行项目的添加和删除实现
[ASM] Bytecode Operation MethodWriter
03. GO language variable definition, function
联邦学习入门
隔离和降级
选择合适的 DevOps 工具,从理解 DevOps 开始
No more rolls!After joining ByteDance for a week, he ran decisively.
联邦学习在金融领域的发展和应用
img 响应式图片的实现(含srcset属性、sizes属性的使用方法,设备像素比详解)
Prufer sequence
浅析多服务在分布式系统下多事务通信处理机制方案
小程序容器+自定义插件,可实现混合App快速开发
How to add a game character to a UE4 scene
字符串——Trie
JS prototype hasOwnProperty in Add method Prototype end point Inherit Override parent class method
xctf attack and defense world web master advanced area web2
46.全排列









