当前位置:网站首页>Startup and shutdown of CDB instances
Startup and shutdown of CDB instances
2022-07-05 18:47:00 【User 8006012】
1.1 close cdb example
[email protected]> show con_name;
[email protected]> shutdown immediate;
View background processes
[[email protected] ~]$ ps -ef | grep ora_ | grep -v grep1.2 start-up cdb example
[[email protected] ~]$ export ORACLE_SID=cdb1
[[email protected] ~]$ sqlplus / as sysdba
Start the database instance to nomount state
[email protected]> startup nomount;
View instance status
[email protected]> select instance_name,status from v$instance;
see v$pdbs Dynamic performance view , Show no results
[email protected]> select name,con_id,open_mode from v$pdbs;1.3 mount load CDB
from nomount Switch database instance to mount state
[email protected]> alter database mount;
[email protected]> select instance_name,status from v$instance;
see pdb situation , Show pdb Also in mounted state
[email protected]> col name for a10
[email protected]> select name,con_id,open_mode from v$pdbs;
[email protected]> show pdbs1.4 open open CDB
open Open the database instance
[email protected]> alter database open;
[email protected]> select name,status from v$instance;
[email protected]> show pdbs1.5 Open and close PDB
1.5.1 see pdb state
[email protected]> show pdbscdb be in open In the state of , pdb Default to mounted state ( seeds pdb PDB$SEED Throughout read only state )
1.5.2 pdb In the operation open pdb
Switch to pdb1
[email protected]> conn sys/[email protected] as sysdba
[email protected]> show pdbs
open open pdb1
[email protected]> alter database open;
[email protected]> show pdbs;
SQL>CONNECT [email protected] AS SYSDBA
SQL> ALTER PLUGGGABLE DATABASE ALL OPEN;
SQL> select name,con_id,open_mode from v$pdbs;1.5.3 pdb In the operation close pdb
pdb1 Middle execution command
[email protected]> show pdbs;
[email protected]> shutdown immediate;
[email protected]> show pdbs1.5.4 cdb In the operation open pdb
[email protected]> conn / as sysdba
[email protected]> show pdbs
stay cdb Use in alter pluggable database sentence open open pdb
[email protected]> alter pluggable database pdb1 open;
[email protected]> show pdbs1.5.5 cdb In the operation close pdb
Use alter pluggable database Statement closing pdb
[email protected]> alter pluggable database pdb1 close immediate;
[email protected]> show pdbs1.5.6 cdb In the operation Open all non seeds pdb
[email protected]> alter pluggable database all open;
[email protected]> show pdbs;1.5.7 Turn on automatically pdb
1.5.7.1 To configure CDB open after PDB open
At present pdb1 open read write state
[email protected]> show pdbs
[email protected]> alter pluggable database pdb1 save state;边栏推荐
- 紧固件行业供应商绩效考核繁琐?选对工具才能轻松逆袭!
- U-Net: Convolutional Networks for Biomedical Images Segmentation
- 跨境支付平台 XTransfer 的低代码实践:如何与其他中台融合是核心
- Thoroughly understand why network i/o is blocked?
- sample_rate(采樣率),sample(采樣),duration(時長)是什麼關系
- c期末复习
- LeetCode 6111. 螺旋矩阵 IV
- 2022 latest Android interview written examination, an Android programmer's interview experience
- EMQX 5.0 正式发布:单集群支持 1 亿 MQTT 连接
- Various pits of vs2017 QT
猜你喜欢

2022年阿里Android高级面试题分享,2022阿里手淘Android面试题目

The era of Web3.0 is coming. See how Tianyi cloud storage resources revitalize the system to enable new infrastructure (Part 2)

Thoroughly understand why network i/o is blocked?

Interprocess communication (IPC): shared memory

Use QT to traverse JSON documents and search sub objects

Summary of six points of MySQL optimization

鱼和熊掌可以兼得!天翼云弹性裸金属一招鲜!

爬虫01-爬虫基本原理讲解

【HCIA-cloud】【1】云计算的定义、什么是云计算、云计算的架构与技术说明、华为云计算产品、华为内存DDR配置工具说明

Mysql database indexing tutorial (super detailed)
随机推荐
C language makes it easy to add, delete, modify and check the linked list "suggested collection"
爬虫01-爬虫基本原理讲解
中文版Postman?功能真心强大!
2022 latest intermediate and advanced Android interview questions, [principle + practice + Video + source code]
RedHat7.4配置yum软件仓库(RHEL7.4)
The 11th China cloud computing standards and Applications Conference | cloud computing national standards and white paper series release, and Huayun data fully participated in the preparation
IDEA配置npm启动
Deep copy and shallow copy [interview question 3]
Share: ZTE Yuanhang 30 Pro root unlock BL magick ZTE 7532n 8040n 9041n brush mask original brush package root method Download
7-2 保持链表有序
RPC protocol details
The main thread anr exception is caused by too many binder development threads
2022年5月腾讯云开发者社区视频月度榜单公布
Quickly generate IPA package
About statistical power
How much does the mlperf list weigh when AI is named?
China law network joins hands to observe the cloud, and the online system is a full link observable platform
常见时间复杂度
XML basic knowledge concept
All you want to know about clothing ERP is here