当前位置:网站首页>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;边栏推荐
- SQL Server (design database--stored procedure--trigger)
- SAP Spartacus NgExpressEngineDecorator 的工作原理
- 线上故障排查方案
- NgRx Store createSelector 的单步调试和源代码分析
- The must-have "fishing artifact" for programmers is here!
- 小程序毕设作品之微信体育馆预约小程序毕业设计成品(4)开题报告
- 华为无线设备配置全局双链路冷备份(AC全局配置方式)
- 萍不回答
- 【数据分析03】
- 如何使用pywinauto和pyautogui将动漫小姐姐链接请回家
猜你喜欢

y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)

使用分类权重解决数据不平衡的问题

小程序毕设作品之微信体育馆预约小程序毕业设计成品(4)开题报告

Prufer sequence

华为无线设备配置双链路冷备份(AP指定配置方式)

feel so stupid

2022年最新河北建筑八大员(机械员)模拟考试题库及答案

Mini Program Graduation Works WeChat Food Recipe Mini Program Graduation Design Finished Product (8) Graduation Design Thesis Template

小程序毕设作品之微信美食菜谱小程序毕业设计成品(5)任务书

seaborn笔记:可视化统计关系(散点图、折线图)
随机推荐
小程序毕设作品之微信美食菜谱小程序毕业设计成品(7)中期检查报告
【数据分析03】
2022年最新河北建筑八大员(机械员)模拟考试题库及答案
【Verilog刷题篇】硬件工程师从0到入门1|基础语法入门
excel split text into different rows
excel change cell size
(Translation) How the contrasting color of the button guides the user's actions
如何理解 new (...args: any[]) => any
Delicious this year
excel change cell size
最短路模板
联邦学习在金融领域的发展和应用
深度学习Course2第一周Practical aspects of Deep Learning习题整理
小程序容器+自定义插件,可实现混合App快速开发
46.全排列
牛客多校4 A.Task Computing 思维
小程序毕设作品之微信美食菜谱小程序毕业设计成品(8)毕业设计论文模板
使用分类权重解决数据不平衡的问题
SAP Spartacus Accessibility E2E 端到端测试
1391D. 505 状压dp