在12C版本,CDB启动的时候,默认情况下,PDB之后启动到MOUNT状态,而不是OPEN状态。
oracle@hm-oradb-01]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Tue Sep 18 09:39:22 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1258291200 bytes
Fixed Size 8792296 bytes
Variable Size 469763864 bytes
Database Buffers 771751936 bytes
Redo Buffers 7983104 bytes
Database mounted.
Database opened.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB1 MOUNTED
4 PDB2 MOUNTED
根据个人习惯不同,有些人可能会配置ORACLE的开机自启动,这样一旦服务器发生故障重启时,数据库会自动启动。可是12C版本的PDB默认之后启动到MOUNT状态&#x