CBD or APB?

Hello

I am to evaluate 12 c and the concept of PDB files is quite new to me. I tried to copy some schemas and application apex of my 11g running at a cool 12 c installed db. I had to rename my schematics using the prefix c# to make it work. Of course, I used the CDB. This means that I have to change usernames at certain points in my plsqlcode as well.

Should I have created a PDB file first? I don't want to run several databases, so I think it's an unnecessary overload for me? On the other hand, I want to go as recommended, I use this database for learning purposes.

What do you think?

BR

Tobias

I am to evaluate 12 c and the concept of PDB files is quite new to me. I tried to copy some schemas and application apex of my 11g running at a cool 12 c installed db. I had to rename my schematics using the prefix c# to make it work. Of course, I used the CDB. This means that I have to change usernames at certain points in my plsqlcode as well.

Should I have created a PDB file first? I don't want to run several databases, so I think it's an unnecessary overload for me? On the other hand, I want to go as recommended, I use this database for learning purposes.

What do you think?

If you do not plan to create PDB files, then do not select the option "Create database" when you install 12 c.

Just create a standard database.

But if you plan to 'learn' on the new multitenancy of 12 c, then you have TO RTFM. Regardless how experienced, you might be with Oracle, you need to read these two chapters at least. The new architecture is radically different. There are a lot of basic things do you differently (users, privileges, connections, management). Of course you need to rename your drawings; You can create users 'local' in the CBD; These users must be users 'Commons '. Don't know the difference; of course you don't have before you read these two chapters that explain the difference.

It's ONE of the reasons why the docs are required to read I said first a year ago in this thread:

https://community.Oracle.com/thread/2554568

Chapters 17 and 18 of the Concepts Doc first.

http://docs.Oracle.com/CD/E16655_01/server.121/e17633/cdbovrvw.htm

And BEFORE you tried to migrate your apex application you must have read on this topic to understand how it is done DIFFERENTLY for 12 c.

Here is just a link: Application Express in Oracle Database 12 c:

http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-and-12C-1968249.html

When you install Oracle Database 12 c Multitenant Architecture, Oracle Application Express is installed in the database of the multitenant container by default. A single container multitenant database can have up to 252 pluggable databases (PDB files). The root of the container database (CBD$ ROOT) includes an APEX_040200 scheme that contains all the common objects required for the Express Application, including the Application Express packages of engine, processes, functions, and views. Therefore, there is only one instance of these common objects in all of the installation of the entire database. Application Express common objects, stored in the shared database of container, access from every PDB using the meta-data links. Each PDB also includes an APEX_040200 scheme that contains the tables of metadata Application Express specific PDB for. These local tables to ensure that application Application Express independently in each PDB definitions. Each PDB must have a defined Web listening port and is managed individually using the standard Oracle Application Express Instance Administration.

Because you did not create a PDB your apex application file had nowhere to go.

Tags: Database

Similar Questions

  • DB 12 c on the Oracle Linux 7.1 installation problem

    Hello

    I have installation problems of database 12 c on Oracle Linux 7.1, this is what I did and what is the result:

    Steps done in order:

    1. Configure a machine virtual box OL7.1 (has enough swap space, is fully updated and invited additions running)
    2. Install the package "oracle-RDBMS-server-12cR1-preinstall" to make sure that I have all the packages required pre
    3. Followed the additional configuration steps in this tutorial oracle-www.m-base.org/Sounds.html (permissive-selinux, exports .bash_profile, create the installation path, create users and groups required)-> https://oracle-base.com/articles/12c/oracle-db-12cr1-installation-on-oracle-linux-7#additional_setup
    4. Obtained by runInstaller installation and chose to install database software ONLY.
    5. Run the root.sh as root script, after that the installation was successful
    6. DBCA: Create database, mode, advanced, general use create as CBD (an APB called pdb1), EM express (Yes), rather than default storage settings, install the schema example, character set AL32UTF8, by default all the rest.
    7. Edit the/etc/oratab file by changing the N a y at the end of the last line that is now "data1:/u01/app/oracle/product/12.1.0.2/db_1:Y".
    8. sqlplus sys/oracle as a sysdba

    I'm stuck at 8, it's the following message is displayed:

    ERROR:

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3640

    Additional information: 1543399787

    Process ID: 0

    Session IDs: serial number 0: 0

    I studied him that changing the/etc/file hosts to remove all the duplicate names could fix this error, then here is this that my/etc/hosts looks like:

    cat/etc/hosts

    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

    : 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    Before I change anything, I would like to help, can someone go get where I left and gives me a step to ensure that this facility is set up correctly?

    I missed something?

    Comments are welcome!

    Your 7 step refers to an instance called data1, but you set your ORSCLE_SID to the cdb1. THERY can't be correct.

  • ORA-65096 12 C

    Hi all

    32.

    Win7

    12 c is now complicating things, they just don't give dba a peaceful life

    SQL > create user JENNA identified by JENNA quota unlimited on users;

    create unlimited user identified by quota JENNA JENNA on users

    *

    ERROR on line 1:

    ORA-65096: of invalid common name of the user or role

    I don't understand PDB and the CBD; common local vs user; user vs user DBA developer vs for the end user?

    Where should I create ordinary user JENNA using USERS tablespace?

    Thank you very much

    JC

    12 c presents a new concept of CBD and APB, as well as common users and the. You cannot create local users in the root container. You must set the context on the container of your preliminary draft BUDGET or to connect to the PDB to create a local user.

    For example:

    $ sqlplus / as sysdba
    SQL> create user jenna identified by "password" account unlock;
    create user jenna identified by "password" account unlock
                *
    ERROR at line 1:
    ORA-65096: invalid common user or role name
    
    $ sqlplus / as sysdba
    SQL> alter session set container=pdb2_2
    SQL> create user jenna identified by "password" account unlock;
    User created.
    

    or

    $ sqlplus sys/oracle_4U@pdb2_2 as sysdba
    SQL> create user jenna identified by "password" account unlock;
    User created.
    

    You don't have to create a database of the container and use a pluggable 12 c database, but if you do, you need to study and understand new concepts.

  • management of the PDBs with Oracle Enterprise Manager Express

    Hello

    is 12 c, possible to manage the PDBs with Oracle Enterprise Manager Express?

    How to find the URL?

    When I run select dbms_xdb_config.gethttpsport (double); on a PDB file, it returns no rows.

    More tutorials

    https://Apex.Oracle.com/pls/Apex/f?p=44785:24:4833387311898:P24_CONTENT_ID, P24_PREV_PAGE:6282, 24

    I have not seen.

    Thank you.

    is 12 c, possible to manage the PDBs with Oracle Enterprise Manager Express?

    Yes - but you will not have the COMPLETE management functionality. See the FAQ doc:

    http://www.Oracle.com/technetwork/database/manageability/emx-CDB-1965987.html

    Can I Plug and unplug the PDBs with EM Express?

    No, EM Express does not all CBD management capabilities in DB 12.1.0.1.0.

    Review ALL sections of doc

    How to find the URL?

    When I run select dbms_xdb_config.gethttpsport (double); on a PDB file, it returns no rows.

    Have you set up EM and set the port to the PDB? Again - see the FAQ doc

    http://www.Oracle.com/technetwork/database/manageability/emx-intro-1965965.html#A5

    How can I configure EM Express on CBD and APB?

    Users can configure EM Express at the root and container of the PDB, with each container using another HTTP/HTTPS port.  When it is connected to the root container, the information displayed are the entire database, including all PDB files.  When it is connected to a PDB file, displayed information is limited to the PDB data.  For more information, see the section on EM Express on the CBD.

    http://www.Oracle.com/technetwork/database/manageability/emx-intro-1965965.html

  • Datapatch on the new empty container (CBD, exadata 12.1.0.2) database returns the error state of the PDB.

    I created a new CBD CAR empty database on a cluster exadata using an ORACLE_HOME (12.1.0.2) which has been patched with patch latest bundle.

    I ran the datapatch utility to apply these patches to the container before any new APB to a database that is already patched the cloning.

    However, datapatch first correctly identifies adjustments but it fails on a prereq error:

    DINVCDB:Oracle@dev-EXD-dbadm01:~/DINVCDB > datapatch

    Remedial tool version 12.1.0.2.0 SQL kill him Dec 22 21:14:15 2015

    Copyright (c) 2015, Oracle.  All rights reserved.

    Connecting to the database... Ok

    Note: Datapatch will only apply or rollback SQL fix for PDB

    that are in an open State, no patches will be applied to the closed PDBs.

    Please refer to the Note: Datapatch: database 12 c Post Patch SQL Automation

    (Doc ID 1585822.1)

    Determine the current state...

    Adding patches to the installation queue and execution prereq checks...

    Queue the installation:

    For the following PDB files: PEH$ ROOT APB$ SEEDS

    Nothing to roll back

    Apply the following patches:

    21555660 (database 12.1.0.2.5, consisting of virtual machine Java of Oracle (Oct2015) power supply)

    21694919 (DATABASE PATCH BUNDLE: 12.1.0.2.13 (21694919))

    Error: failure of prereq cheques!

    patch 21555660: pluggable databases that need to be patched should be in upgrade mode

    PREREQ check failed, out without having to install patches.


    Please refer to 1609718.1 Note MOS and/or the log of the invocation

    /U01/app/Oracle/cfgtoollogs/sqlpatch/sqlpatch_11932_2015_12_22_21_14_15/sqlpatch_invocation.log

    For more information on how to fix the above errors.


    Patching SQL tool on Mar 22 21:16:26 dec 2015


    Unfortunately the MOS score is General and I do not see this situation described. The newspaper simply indicates this same error.


    Since there is no PDB, why make this mistake?  I don't think it's possible to open the PDB$ SEEDS as upgrade?


    I had already tried cloning my non - PDB in a PDB here (successfully) file, but then I also met problems with datapatch (in PDB not at CDB patch).  I tried with the options and force database and this succeeded with warnings, but I was unable to open the PDB.  I thought, okay, what oracle says that the whole point of multitenant is to be able to update the plugin, it should be possible to patch a CBD empty.  I can't seem to find much on this point, somebody manage this problem?


    What is the best method to establish the original CDB and ensure that it is patched in line with its ORACLE_HOME?


    Thank you!

    Sandra

    sidneys wrote:

    Error: failure of prereq cheques!

    patch 21555660: pluggable databases that need to be patched should be in upgrade mode

    PREREQ check failed, out without having to install patches.

    to work around this problem, new PSU have a new dependency for the datapatch to be applied correctly.

    1 starting in fashion upgrade instance

    start upgrade

    2. then apply datapach

    $ORACLE_HOME/OPatch/datapach - verbose

    3. restart the instance in normal mode

  • Models of 12 c to CBD and PDB

    Hello

    Oracle: 12.1.0.1

    OS: RHEL6

    We are migrating to 12 c.

    We have many customers, and it is not possible to upgrade all clients on a single server and have a PDB file for each client.

    In order to reproduce the process between the various servers, we take the approach to use a standard template for the creation of the database and configuration.

    11.2 versions we have configured models and used these models to create databases using DBCA.

    For example, template contains

    -standard tablespace names associated with our application ex.

    data_pr

    index_pr

    data_md

    index_md

    -standard file names associated with our application

    /U01/Oracle/oradata/orcl1/data_pr01.dbf

    /U01/Oracle/oradata/orcl1/index_pr01.dbf

    /U01/Oracle/oradata/orcl1/data_md01.dbf

    /U01/Oracle/oradata/orcl1/index_md01.dbf

    etc.

    I was looking for to migrate the process model to the CBD and PDB 12 c process, where I would create a model for the BDC and a PDB file.

    This will allow each server that will be created with the same configuration of CBD and each PDB to be created equal in the same way as to be consistent.

    Using the DBCA Wizard, I created a CBD with no PDB

    I'm looking to see how I can create a standard template for the PDB files for my setup of the application.

    The APB seed don't seem to have much in terms of configuration.

    All models or have any other thoughts about the creation of models for the CBD and PDB

    Thank you for your time in advance.

    We are migrating to 12 c.

    We have many customers, and it is not possible to upgrade all clients on a single server and have a PDB file for each client.

    OK - then what configuration you are looking for? Keep in mind that the non-multitenant architecture is already obsolete.

    Do you intend to have ONE PDB by the CBD? Two? What number?

    I was looking for to migrate the process model to the CBD and PDB 12 c process, where I would create a model for the BDC and a PDB file.

    This will allow each server that will be created with the same configuration of CBD and each PDB to be created equal in the same way as to be consistent.

    The PDB reallly customer will be COMPLETELY identical? That is the name and the path if every customer has a APB and you have several PDB by the CBD?

    Using the DBCA Wizard, I created a CBD with no PDB

    I'm looking to see how I can create a standard template for the PDB files for my setup of the application.

    Simply create a template for a PDB the way file which you have always done. You can have your own PDB_TEMPLATE and then clone her.

    Or you can create a NON_CDB template, and then create your PDBs to him. See the section doc ' creation of a PDB file by cloning a PDB file or a Non - CBD.

    https://docs.Oracle.com/database/121/CNCPT/cdbovrvw.htm#CEGIJFBI

    You can use the CREATE PLUGGABLE DATABASE statement to clone a PDB source or non - CBD and plug the clone of the CBD. The source can be a PDB file in a local or remote, CBD or from Oracle 12 c Release 1 (12.1.0.2) database, it can also be a remote non - CBD. This technique copies the files associated with the PDB source or non - CBD to a new location and combines the files copied to the PDB again.

    Note This comment about the possibility of using a REMOTE source.

    I suggest you use your model No./CBD-PDB for the initial Setup.

    Then use a custom, remote, NON - CBD as the source of duplication. Which allows to keep control on the source for the PDBs and clone several times when you add multiple clients/PDB at the same server.

  • In the parameter of size of memory to the CBD

    I was at the parameter inmemory_size 200 MB, when I bounced my database the value show is 208 MB. Can you help me understand why it turns into 208 MB while that bounce?

    sys@CDB1 > alter system set inmemory_size = 200M scope = spfile;

    Modified system.

    Elapsed time: 00:00:00.09
    sys@CDB1 > display inmemory_size

    VALUE OF TYPE NAME
    --------------------------------------------- ----------- -------------------------
    inmemory_size big integer 0
    sys@CDB1 >
    sys@CDB1 > shutdown immediate;
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.
    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect descr


    WARNING: You are more connected to ORACLE.
    sys@CDB1 > start
    SP2-0640: not connected
    sys@CDB1 >
    sys@CDB1 > exit

    C:\Users\179818 > set oracle_sid = CDB1

    C:\Users\179818 > sqlplus/nolog

    SQL * more: Production of the version 12.1.0.2.0 on Mon Mar 23 18:08:38 2015

    Copyright (c) 1982, 2014, Oracle.  All rights reserved.

    slow motion > Connect sys/oracle as a sysdba
    Connect to an instance is idle.
    slow motion > start
    ORACLE instance started.

    Total System Global Area 1660944384 bytes
    Bytes of size 3046320 fixed
    989856848 variable size bytes
    436207616 of database buffers bytes
    Redo buffers 13729792 bytes
    218103808 region in memory bytes
    Mounted database.
    Open database.
    idle >
    slow motion > Connect sys/oracle@cdb1 as sysdba
    Connected.
    sys@CDB1 > display inmemory_area
    sys@CDB1 >
    sys@CDB1 > view the inmemory parameter

    VALUE OF TYPE NAME
    --------------------------------------------- ----------- -------------------------
    inmemory_clause_default string
    inmemory_force string by DEFAULT
    inmemory_max_populate_servers integer 2
    inmemory_query string ENABLE
    whole big inmemory_size 208M
    inmemory_trickle_repopulate_servers_percent integer 1
    optimizer_inmemory_aware Boolean TRUE
    sys@CDB1 >
    sys@CDB1 >

    In addition to what others have said, I suggest that you set the value in memory for each PDB.

    If you do not have each PDB will inherit the default PIC, which means that any an APB could consume all available memory.

    See the table in the doc

    https://docs.Oracle.com/database/121/Admin/memory.htm#BABJEHAJ

    In a multi-tenant environment, the setting of this parameter in the root is the setting for the database entire container multi-tenant (PEH). This adjustable parameter in each plug-in database (PDB) to limit the maximum size of the column for each PDB IM store. The sum of the values of the PDB may be less than, equal, or greater than the value of the CBD. However, the value of the CDB is the maximum amount of memory available in the store column IM for the full CDB, including the root and all PDB files. unless this parameter is specifically set for a PDB file, the PDB inherits the value of the CBD, which means that the PDB can use all available for the CBD column IM warehouse.

    You can also specify a compression level for objects that you plan to store in memory. The compromise is compared to the performance space.

  • 1074118649 error occurred at niUSRP extract data from Rx (2D CBD) .vi

    Hello

    When I was trying the example of the USRP OR which is "niUSRP EX Rx synchronized to multiple entries (MIMO Expansion)", a mistake is released which is

    1074118649 error occurred at niUSRP extract data from Rx (2D CBD) .vi

    A workflow command has been issued in the past.

    can anyboay help me solve the problem?

    Thank you very much

    Andy

    Hi andy,.

    what you need to do is reversing the Oder river where the screw niUSRP the value Time.vi and niUSRP Trigger.vi configure a1.1ppear. Time of first setting then set up trigger. The example works correctly with version 1.1, since you are using version 1.2, that changes must be made.

    In the example, you can set the clock to standard time (start time = 0) even if you had already triggered the reception. Thus, samples received will be acquired with time stamp later where the error.

    Best regards

  • USRP-1074118634 error code, niUSRP write data Tx (CBD Cluster) .vi < ERR > cannot find a GPSDC

    Hello I want to generate a GPS using the USRP-2920 and then plug it into a GPS evaluation kit to verify if the evaluation board can see the satellites, so I run the example

    https://decibel.NI.com/content/docs/doc-22178

    Everything looks OK, it starts with the legend Buffering Waveform, when it reached 100 I clicked the play button and the program stopped and send this error code:

    -1074118634

    and source:

    niUSRP write data Tx (CBD Cluster) .vicould not find a GPSDC

    Could someone help with this?

    Thank you

    Carlos.

    Carlos,

    What versions of LabVIEW, NI USRP and GPS Toolbox driver do you use?  I noticed the example that you referenced the States ensure to use an external OCXO since the TCXO on the series 292 x is not precise enough.  What is happening in RefIn?

  • ORA-39117 with 'MDSYS. "' SDO_GEORASTER ' when you perform an import in 12cR1 non - CBD

    Hello

    I'm trying to import a table from a database server Oracle 11 GR 2 (11.2.0.3) to a 12cR1 (12.1.0.2) Oracle database (non - CBD).

    Here's how I did the export of the source:

    SQL > show the db_name parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_name string ZEUS

    SQL > select banner version of v$.

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    parfile: exp_missing_SPATIAL_SCHEMAS_ZEUS11g.par

    tables is MANGO. ORTHO_PHOTOS, MVDEMO_NATURALEARTH. WORLD_RASTER

    Directory = DATA_PUMP_DIR

    REUSE_DUMPFILES = y

    exclude = statistics

    dumpfile = expdp_missing_SPATIAL_SCHEMAS_ZEUS11g.dmp

    logfile = logexpdp_missing_SPATIAL_SCHEMAS_ZEUS11g.log

    expdp system parfile = exp_missing_SPATIAL_SCHEMAS_ZEUS11g.par

    Here's how I did the import to the target:

    SQL > show the db_name parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_name string ZEUS

    SQL > select banner version of v$.

    BANNER

    --------------------------------------------------------------------------------

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    PL/SQL Release 12.1.0.2.0 - Production

    CORE Production 12.1.0.2.0

    AMT for Linux: Version 12.1.0.2.0 - Production

    NLSRTL Version 12.1.0.2.0 - Production

    parfile: imp_missing_SPATIAL_SCHEMAS_ZEUS12c.par

    tables is MANGO. ORTHO_PHOTOS, MVDEMO_NATURALEARTH. WORLD_RASTER

    Directory = TEMP_DUMPS

    dumpfile = expdp_missing_SPATIAL_SCHEMAS_ZEUS11g.dmp

    logfile = logimpdp_missing_SPATIAL_SCHEMAS_ZEUS12c.log

    Impdp system parfile = imp_missing_SPATIAL_SCHEMAS_ZEUS12c.par

    I find myself with this kind of error:

    ORA-39117: Type necessary to create the table is not included in this operation. Because sql is:

    CREATE TABLE "MANGO". "" ORTHO_PHOTOS "(NUMBER OF 'FID', 'NAME"VARCHAR2 (256 BYTE), VARCHAR2 (256 BYTE) 'TYPE', 'IMAGE' "MDSYS"." SDO_GEORASTER')

    SEGMENT OF PCTFREE, PCTUSED 10 40 INITRANS, MAXTRANS 1 255 NOCOMPRESS LOGGING CREATION

    STORAGE (INITIAL 65536 THEN 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS USER_TABLES DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT 1)

    TABLESPACE...

    Yet, the 'MDSYS. "' Data SDO_GEORASTER type" exist in the source and target database.

    Someone has such experience, may be related to a bug?

    Thanks in advance for any information.

    Kind regards

    Hi Laury.

    You say that the object exists, but you check its executable?

    https://docs.Oracle.com/database/121/GEORS/release_changes.htm#GEORS1382

    I guess that with the release of 12 c, Oracle wish you to specifically take action showing that you have a license Oracle Spatial.  Otherwise you can not use the georaster with just the license locator object.

    See you soon,.

    Paul

  • why it grows in CBD instead of PDB?

    Hello

    The source DB: Oracle 10.2.0.4

    Win: Win 2003

    Target: Oracle 12.2.0.1

    Victory: Victory 2012

    I did an export Source datapump for specific schema, and when I run the datapump import command, it seems, he's trying to create the user in the CBD, which obviously I don't want. Even if I said my name pdb of the service, it does not work like that

    impdp system service_name=pdbcusdev directory=imp_12c dumpfile=custtest_dp_11252015_%U_exp.dmp logfile=impdp_datapump_11302015.log PARALLEL=4
    
    

    select * from v$services;
    PDBCUSDEV
    CDB$ROOT
    CDB$ROOT
    CDB$ROOT
    CDB$ROOT
    
    

    Here is the output of my listener status

    C:\Windows\System32 > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 30 November 2015 16:14:54

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=172.17.61.136) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 12.1.0.2.0 - Production

    Start date 30 November 2015 15:58:39

    Uptime 0 days 0 h 16 min 19 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File F:\app\oraclehomeuserdev\product\12.1.0\dbhome_1\network\admin\listener.ora

    Listener log file F:\app\oraclehomeuserdev\diag\tnslsnr\TELAUSB2B2141\listener\alert\log.xml

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=172.17.61.136) (PORT = 1521)))

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Service 'cusdev' has 1 instance (s).

    'Cusdev' instance, State LOAN, has 1 operation for this service...

    Service 'cusdevXDB' has 1 instance (s).

    'Cusdev' instance, State LOAN, has 1 operation for this service...

    Service 'pdbcusdev' has 1 instance (s).

    'Cusdev' instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    The reason why I am convinced that she is trying to create stuff in CBD is the first error I got was "ORA-65096: invalid user or common role name" gave me an indication that she is trying to create a user in CBD instead of the PDB.

    How can I force the datapump to push data in PDB. I thought that the impdb command service_name parameter is sufficient. What I'm missing here?

    Also for the record, I was able to connect to the CBD and PDB by Toad and query the dict County to ensure that I don't see a diff is. cons ' select * dict.

    -Learner

    You should try this:

    System@pdbcusdev = imp_12c dumpfile=custtest_dp_11252015_%U_exp.dmp = impdp_datapump_11302015.log PARALLEL logfile directory Impdp = 4

    Kind regards

    A. J.

  • Cloning of a non - CBD using 12.1.0.2

    Hello

    I have a question about the process of cloning a non - CBD to a PDB file.

    After clone PEH - not with this command:

    create connectable to database PDB_ORCL2

    de Non$CDB@link_orcl2

    create_file_dest ='/u02/ app / Oracle / oradata /cdb1/pdb_orcl2 ';

    If I try to open it:

    SQL > pdb_orcl2 ALTER PLUGGABLE DATABASE open;

    WARNING: Modified PDB with errors.


    The warning but command the PDB is in read-write mode and is able to connect users and run querys and transacctions.


    If I check the profile for violations, I see:

    PDB_ORCL2 Non-CBD to ERROR 0 PDB PDB plugged in is A non-CBD, requires noncdb _ In the MEANTIME Run noncdb_to_pdb.sql. to_pdb. SQL be run .

    My understand has been that you had to run the noncdb_to_pdb. SQL script to work properly.

    I do the test in 12.1.0.2.

    On the one hand, it allows to work with the PDB queue without having to ejeuctar the noncdb_to_pdb.sql script.

    But the question is If you could give me all the problems noncdb_to_pdb. SQL does not work the script?

    Thank you

    Arturo

    Hello

    $ORACLE_HOME/rdbms/admin/noncdb_to_pdb.sql - script must be running to perform the operation of non - CBD to PDB. It removes unnecessary metadata of tablespace SYSTEM PDB. Get you get the output of this script for more information.

  • CBD "Shutdown failed", then failed to connect to CBD more

    Boy I'm in trouble!  I'm in 12.1.0.2 and connected sys as sysdba to my ROOT of $ CBD, I ran ""stop " and that's what I got: "

    Instance stopped

    The database is closed.

    The database is dismounted.

    Closing the database.

    IO error: the network adapter could not establish the connection

    Failed to stop.

    I was still at the prompt of sqldeveloper sql commands and run "startup nomount" but got

    Connection to the base is not alive
    ORA-01081: cannot start already running ORACLE - he stop first
    Failed to start.
    14:02:21 SYS @ localhost:1521 / cdb1 > user sho

    11 October 2015 14:02:29 oracle.dbtools.db.DBUtil handleException
    SEVERE: Warning, unhandled exception: Connection closed
    The USER is 'null '.
    14:02:29 SYS @ localhost:1521 / cdb1 > exit


    I tried to reconnect with sqldeveloper sql but had

    / OPT/sqldeveloper/sqldeveloper/bin/SQL sys@localhost:1521/cdb1 as sysdba

    SQLcl: 4.1.0 Release Candidate on Sun Oct 11 14:02:39 2015
    Password? (**********?) ******
    USER = sys
    URL = jdbc:oracle:thin:@localhost:1521/cdb1

    Error message = IO error: the network adapter could not establish the connection


    I tried to connect with sqlplus ol ' good but had

    sqlplus / as sysdba
    SQL * more: Production of liberation 12.1.0.2.0 Sun Oct 11 14:23:10 2015
    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor of


    How to get out this situation (no CBD, no PDB!)?

    Apparently, you have the TWO_TASK or the variable set to the LOCAL environment, or this wouldn't have happened.

    When you have this variable set oracle_sid is ignored and sqlplus will use the listener.

    ------------

    Sybrand Bakker

    Senior Oracle DBA

  • How to convert the non - CBD CBD

    Hello

    I recently updated my 11.2.0.2 test to 12.1.0.2 database. I did it using the manual method using perl script. I'm trying to convert the non - CBD CBD. But it fails with the following error.

    Can you please guide me where I am wrong?

    
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    
    
    SQL> startup mount exclusive
    ORACLE instance started.
    
    
    Total System Global Area 2684354560 bytes
    Fixed Size                  3788008 bytes
    Variable Size            1006633752 bytes
    Database Buffers         1660944384 bytes
    Redo Buffers               12988416 bytes
    Database mounted.
    SQL> alter database open read only;
    
    
    Database altered.
    
    
    SQL> !mkdir -p /oracle/TEST/oradata/noncdb
    
    
    SQL> exec dbms_pdb.describe(pdb_descr_file=>'/oracle/TEST/oradata/noncdb/noncdbtest12c.xml');
    
    
    PL/SQL procedure successfully completed.
    
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    
    
    Total System Global Area 2684354560 bytes
    Fixed Size                  3788008 bytes
    Variable Size            1006633752 bytes
    Database Buffers         1660944384 bytes
    Redo Buffers               12988416 bytes
    Database mounted.
    Database opened.
    
    
    SQL> sho con_name
    
    
    CON_NAME
    ------------------------------
    test12c
    
    
    SQL> sho con_id
    
    
    CON_ID
    ------------------------------
    0
    
    
    SQL> create pluggable database exnoncdb_test12c
    as clone
    using '/oracle/TEST/oradata/noncdb/noncdbtest12c.xml'
    file_name_convert=('/oracle/TEST/oradata/','/oracle/TEST/oradata/noncdb/')
    copy;  2    3    4    5
    create pluggable database exnoncdb_test12c
                              *
    ERROR at line 1:
    ORA-65090: operation only allowed in a container database
    cted to:
    O
    
    

    Thank you

    Arul

    1723552 wrote:

    Hello

    I recently updated my 11.2.0.2 test to 12.1.0.2 database. I did it using the manual method using perl script. I'm trying to convert the non - CBD CBD. But it fails with the following error.

    Can you please guide me where I am wrong?

    1. SQL > startup mount exclusive
    2. . . .
    3. SQL > alter database open read-only.
    4. . . .
    5. SQL >! mkdir/oracle/TEST/oradata/noncdb Pei
    6. . . .
    7. SQL > shutdown immediate
    8. . . .
    9. SQL > startup
    10. . . .
    11. SQL > create pluggable database at exnoncdb_test12c
    12. as clone
    13. using the ' / oracle/TEST/oradata/noncdb/noncdbtest12c.xml'
    14. file_name_convert =('/Oracle/test/oradata/','/Oracle/test/oradata/noncdb/')
    15. copy;  2 3 4 5
    16. create exnoncdb_test12c of the database plug-in
    17. *
    18. ERROR on line 1:
    19. ORA-65090: operation only allowed in a database of the container
    20. Executive management to:
    21. O

      Arul

    This link shows the steps to follow:

    Adopting a Non - CBD as a snap-in database in a shared container database

    Looks like you MISSED a step.

    I think that your last START command (line #10 in my shortlist above) begins to the top of the newly converted DB and NOT the new CBD.

    See step of binding ' creation and plug a PDB file in cdb2 using noncdb manifest file.

    See where he uses '. oraenv' for cdb2 environmental? It doesn't seem like you have done this step. So I think that bad environment variables have been used when you did this last start.

    That's why you got the exception 60090 on 'operation only allowed in a database of the container' - you are NOT in a database of the container.

    Check your environment variables and make sure that you are connected to and the correct instance, started...

  • The upgrade of the noncdb 11.2.0.3 to CBD 12.1.0.1

    Hello

    Upgrade my 11.2.0.3 (non - CBD) to 12.1.0.1 CBD, I'm using the following steps:

    1 upgrade 11.2.0.3 (non - CBD) 12.1.0.1 (non - CBD) by using the manual upgrade. (compatible parameter 11.2.0.0.0 value even after upgrade to 12.1.0.0.0)

    2. create a new active PDB 12.1.0.1 CBD database. (compatible default parameter to 12.1.0.0.0 when creating using dbca)

    3 generate a manifest file of the database plug-in for the container Non - 12.1.0.0.0 as database created in step 1.

    4 create a new snap-in data in the pdb 12 c enabled database created in step 2 by using the file manifest created in step 3.

    Now, my question is:

    Is is possible to upgrade a non - CBD 11.2.0.3 as a PDB file in 12.1.0.0.0 CBD database directly?

    Thank you

    It is not possible through DBUA upgrade or manual

    You can try TTS, Golden gate, method portable import/export import/Export or full

Maybe you are looking for