Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 65
  • Last Modified:

Schema creation in Oracle12c

Hi,

Currently we are using oracle 11g database and planning to upgrade to 12c.
As per the application architecture, all database objects are created in single schema.

If we create CDB database, shall we create a schema in root container and import the schema or is it advisable to keep schema in PDB.

Please advice.
0
sarankumards
Asked:
sarankumards
  • 3
  • 2
1 Solution
 
Geert GruwezOracle dbaCommented:
you can still work as before on oracle 12c
it's not required to change to CDB/PDB architecture
0
 
sdstuberCommented:
Put it in the PDB.

WIthin the multitenant architecture, very little will ever go into the root container.
Maybe you would create some common users and roles, but in general everything, users, roles, tables, packages, etc will all be at the PDB level.
0
 
sdstuberCommented:
>>>it's not required to change to CDB/PDB architecture

Not "required", but as of 12.1.0.2  non-cdb is deprecated.  So, even if you're only going to have a single-tenant (by choice or by licensing) you should still use a container and a pluggable for most situations.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
Geert GruwezOracle dbaCommented:
well, "rule" is deprecated too
i wonder if single-tenant will remain just as long as deprecated as rule will be before it stops working
0
 
sdstuberCommented:
single-tenant and non-cdb aren't the same thing.

My guess is non-cdb will probably be around for a while; but, that's not really a justification for using it.

12.1 has several features that aren't supported in PDBs, such as query notification, so if you're using those features it makes sense to stick with non-cdb until you can upgrade to 12.2 and get full support and then switch to CDB/PDB.
0
 
sarankumardsAuthor Commented:
Thanks for giving your inputs. we are creating the PDB to import the schema.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now