当前位置:网站首页>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;边栏推荐
- AI金榜题名时,MLPerf榜单的份量究竟有多重?
- Common time complexity
- ICML2022 | 长尾识别中分布外检测的部分和非对称对比学习
- 输油管的布置数学建模matlab,输油管布置的数学模型
- 图扑软件数字孪生智慧风电系统
- sample_ What is the relationship between rate, sample and duration
- CDB 实例的启动与关闭
- MySQL数据库索引教程(超详细)
- Icml2022 | partial and asymmetric comparative learning of out of distribution detection in long tail recognition
- LeetCode 6111. Spiral matrix IV
猜你喜欢

The 11th China cloud computing standards and Applications Conference | China cloud data has become the deputy leader unit of the cloud migration special group of the cloud computing standards working

Take a look at semaphore, the current limiting tool provided by JUC

vs2017 qt的各种坑

Ant group open source trusted privacy computing framework "argot": open and universal

The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly

Insufficient picture data? I made a free image enhancement software

2022 Alibaba Android advanced interview questions sharing, 2022 Alibaba hand Taobao Android interview questions
![2022 latest intermediate and advanced Android interview questions, [principle + practice + Video + source code]](/img/c9/f4ab4578029cf043155a5811a64489.png)
2022 latest intermediate and advanced Android interview questions, [principle + practice + Video + source code]

SAP feature description

2022 latest Android interview written examination, an Android programmer's interview experience
随机推荐
max31865模块RTD测温注意事项
2022年阿里Android高级面试题分享,2022阿里手淘Android面试题目
A2L file parsing based on CAN bus (3)
Use of websocket tool
sample_ What is the relationship between rate, sample and duration
快速生成ipa包
2022 latest Android interview written examination, an Android programmer's interview experience
AI open2022 | overview of recommendation systems based on heterogeneous information networks: concepts, methods, applications and resources
Find in MySQL_ in_ Detailed explanation of set() function usage
The 10th global Cloud Computing Conference | Huayun data won the "special contribution award for the 10th anniversary of 2013-2022"
Quickly generate IPA package
Is it safe to open an account and register stocks for stock speculation? Is there any risk? Is it reliable?
Case sharing | integrated construction of data operation and maintenance in the financial industry
7-1 linked list is also simple fina
5. Data access - entityframework integration
2022 Alibaba Android advanced interview questions sharing, 2022 Alibaba hand Taobao Android interview questions
MYSQL中 find_in_set() 函数用法详解
音视频包的pts,dts,duration的由来.
EMQX 5.0 正式发布:单集群支持 1 亿 MQTT 连接
The origin of PTS, DTS and duration of audio and video packages