Oracle技術(shù)分享 保存pdb當(dāng)前狀態(tài)
2022-12-02 17:53 作者:夜灬長(zhǎng)夢(mèng)多 | 我要投稿
1,保存orclpdb打開(kāi)狀態(tài)
ALTER PLUGGABLE DATABASE orclpdb SAVE STATE instances=all;
2. 取消orclpdb保存打開(kāi)狀態(tài)
ALTER PLUGGABLE DATABASE orclpdb DISCARD STATE;
3.保存所有PDB打開(kāi)狀態(tài)
ALTER PLUGGABLE DATABASE ALL SAVE STATE;
4.保存幾個(gè)PDB打開(kāi)狀態(tài)
ALTER PLUGGABLE DATABASE orclpdb,orclpdb2,orclpdb3 SAVE STATE;
5.保存除了PDB orclpdb之外所有PDB的打開(kāi)狀態(tài)
ALTER PLUGGABLE DATABASE ALL EXCEPT orclpdb SAVE STATE;

標(biāo)簽: