Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Schema creation in Oracle12c

Posted on 2016-11-22
6
Medium Priority
?
62 Views
Last Modified: 2016-11-28
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
Comment
Question by:sarankumards
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 41899110
you can still work as before on oracle 12c
it's not required to change to CDB/PDB architecture
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 2000 total points
ID: 41899112
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
 
LVL 74

Expert Comment

by:sdstuber
ID: 41899118
>>>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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 41899122
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
 
LVL 74

Expert Comment

by:sdstuber
ID: 41899144
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
 

Author Closing Comment

by:sarankumards
ID: 41904091
Thanks for giving your inputs. we are creating the PDB to import the schema.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question