Solved

Schema creation in Oracle12c

Posted on 2016-11-22
6
23 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 36

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 36

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

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.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

757 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

19 Experts available now in Live!

Get 1:1 Help Now