一、在pdb中數據是如何存儲的?session
SQL> show pdbs; CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 OTCPDB1 READ WRITE NO 4 OTCPDB2 READ WRITE NO SQL> SQL> SQL> alter session set container=OTCPDB1; Session altered. SQL> SQL> select file_name from dba_data_files; FILE_NAME -------------------------------------------------------------------------------- /oracle/app/oracle/oradata/zxzx/otcpdb1/undotbs01.dbf /oracle/app/oracle/oradata/zxzx/otcpdb1/sysaux01.dbf /oracle/app/oracle/oradata/zxzx/otcpdb1/users01.dbf /oracle/app/oracle/oradata/zxzx/otcpdb1/system01.dbf SQL> alter session set container=OTCPDB2; Session altered. SQL> select file_name from dba_data_files; FILE_NAME -------------------------------------------------------------------------------- /oracle/app/oracle/oradata/zxzx/otcpdb2/system01.dbf /oracle/app/oracle/oradata/zxzx/otcpdb2/sysaux01.dbf /oracle/app/oracle/oradata/zxzx/otcpdb2/undotbs01.dbf /oracle/app/oracle/oradata/zxzx/otcpdb2/users01.dbf
二、oracle