简体   繁体   English

我们可以在 Oracle 数据库 19c 中重新创建 pdb$seed

[英]Can we recreate pdb$seed in Oracle database 19c

I have lost by mistake the pdb$seed from my multitenant architecture of database.我从我的多租户数据库架构中错误地丢失了 pdb$seed。 Is there some possible way to recreate the same?是否有一些可能的方法来重新创建相同的?

If you happen to have a regular PDB that was created from the seed database, you can close this regular PDB into a new seed database.如果您碰巧有一个从种子数据库创建的常规 PDB,则可以将此常规 PDB 关闭到新的种子数据库中。

If you have already made changes to the regular PDB, the easiest is to create a (temporary) new CDB (which comes with a fresh seed database) using the Database Creation Assistant and clone the seed database from the temporary CDB to your CDB.如果您已经对常规 PDB 进行了更改,最简单的方法是使用数据库创建助手创建(临时)新 CDB(带有新的种子数据库)并将种子数据库从临时 CDB 克隆到您的 CDB。 After that, drop the temporary CDB.之后,删除临时 CDB。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM