Solved

Schema creation in Oracle12c

Posted on 2016-11-22
6
38 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
  • 3
  • 2
6 Comments
 
LVL 37

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 73

Accepted Solution

by:
sdstuber earned 500 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 73

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 37

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 73

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now