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.

Tags: Database

Similar Questions

  • 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

  • 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...

  • New 12 c features are unavailable if you go to non - CBD?

    We are passing from 11.2.0.4 to 12.1.0.2.  For some reason, it was decided to go non - CBD (standalone) rather than single tenant deployment.

    I asked (and I wondered myself) are there features 12 c, we will not be a take advantage of by going on the deployment of non - CBD?

    Any information would be appreciated.

    I did not know that it is not recommended, this is why I ask the question.  Our DBA group wants to know what are the characteristics we miss if we do not have single tenant deployment.  I hoisted the flag that we shouldn't go that way, and I don't get to be 'Queen of the day' so I can't make decisions for this group I can only say things and answer their questions.  Today the question is ' are we going to be able to use any feature of 12 c goes in this direction?

    There are no features in the architecture of the CBD that I know who are NOT in non - CBD.

    Just be sure they read the "Oracle database changes" section of the RFSO of new features.

    https://docs.Oracle.com/database/121/UPGRD/deprecated.htm#BABJCDEG

    Architecture non - CBD is deprecated in the database Oracle 12 c and maybe desupported and cannot, in a statement after the 12 c Release 2 Oracle database. Oracle recommends the use of the architecture of the CBD.

    Obsolete doesn't mean non - CBD only is not supported (if you have a support contract) it just means that it will be most improved.

    It is pretty trivial to migrate data non - CBD to a PDB file later once the DBA are aware with multi-tenancy.

    Given that the doc above says "Oracle recommends to use the architecture of the CBD" then in my humble opinion, it is the DBA who need to justify a decision that goes against the recommendation of the DB provider. But that's for management to decide.

  • Difference of TTS and TDB 12 c and 11g to import non - CBD in PDB

    According to http://www.Oracle.com/technetwork/database/Enterprise-Edition/full-transportable-WP-12C-1973971.PDF , I use full Transportable to the export and import of 12 c and + 11.2.0.3 to a non - CBD database transport in a PDB file.

    -That's a very similar concept as TTS in 11g? Application and user tablespaces must be read-only unless I want the target to be only read-only and must have the same database and the same national character set. To import storage space in an existing Database, I need to copy the data files and import the datapump metadata. Where I have to deal with different endian between source and target, I use RMAN on the source or target to convert data files. The EXPDP in 11g use TRANSPORT_TABLESPACE = Y.

    12 c and + 11.2.0.3, I can use Datapump EXPDP with FULL = Y TRANSPORTABLE = ALWAYS. As far as I understand it, I don't know, unlike the previous TTS is how EXPDP treats provided Oracle database objects. Is this correct?

    According to the guide of students 12 c new features of Oracle, in order to move a non - CBD in a preliminary draft BUDGET, I should first of all, for example, a TTS or BDM export and then perform an import TTS or BDM in the PDB using export dump files metadata and a data tablespace.

    I'm confused. As far as I know, TDB requires RMAN convert, which creates a special SQL script to import the database. I can do with Datapump TDB?

    Try to look for some examples I found http://Oracle-base.com/articles/12C/upgrading-to-12C.php#transport-database . He also mentions the Transport database, but actually seem to use TTS using datapump.

    Could someone please shed some light on the different concepts and it is what? I already spent reviewing the literature. Thank you!

    I came to the following conclusions, so far:

    Complete Transportable Import/Export, available, in 11.2.0.3 and later versions and TTS (Transportable Tablespace) can be used to a basic database not directly transport container in the PDB or CBD, without having first put the database source to 12 c. TTS, however, may require a separate import/export to transfer schema objects in the sysaux tablespace or system.

    TDB (Transportable Database) for the transport of a database complete, usable only to transfer a non - CBD to a BDC, and the source database must be upgraded first to 12 c.

  • MsMpEng.exe running non-stop using 100% CPU and slow my computer down makes it difficult to use

    MsMp Eng.exe running non stop using 100% of cpu and slow my computer down makes it difficult to use, I just need a way to disable this program

    Hello Ian,

    Have you tried the Task Manager to end? Right-click on the taskbar and select Start Task Manager. Locate the application and click on end task (at the bottom of the page). I wonder if it's a piece of malware running, or even a virus. If it will not be closed, or starts just backup again, consider using these scanners:

    Malwarebytes': http://download.cnet.com/Malwarebytes-Anti-Malware/3000-8022_4-10804572.html .

    SuperAntiSpyware: http://download.cnet.com/SuperAntiSpyware-Free-Edition/3000-8022_4-10523889.html .

    ESET Online Scanner: http://www.eset.com/us/online-scanner/ .

    Keep me posted and let me know how you fare.

    Kind regards

    BearPup

  • How to estimate the time in a non - CBD to PDB?

    Hello

    Recomendantion the rest of this thread time to plug a non-CBD to a PDB fileof the user rp0428
    the shared forum.


    I post this question in this forum to open the question has more people.

    The question is all the time it would take noncdb_to_pdb. SQL execution of the script.

    If this time is constant or depends on other factors such as number of the user objects and so on.


    Thank you very much

    Arturo

    Hello

    In my tests, the time depends only on the size of the dictionary for oracle objects - that it is based solely on the version and not on your application.

    You can see the test in my blog: Oracle 12 c: comparison with noncdb_to_pdb - dbi services Blog TTS | Oracle, SQL Server (etc.)

    I have the same 40 minutes as Aman, mainly in the recompilation of the object, but in my test, I've forced no parallel utlrp.

    But the conclusion of my post, it's that it may not be a good idea to approach noncdb_to_pdb user.

    Kind regards

    Franck.

  • Non-commercial use of database

    Hello

    Did some research database.

    Is Oracle Database 11g Express the only free edition of oracle db for same use noncommercial? Or y at - it a version that is reserved for user data unlimited as long as it is for non-commercial?

    Thank you

    Depends on what is "non-commercial use" in your case.
    If it is the assessment, education free and other things like that, you can download no matter what non-free Oracle from OTN and use them for free.

    Read the agreement carefully to make sure that your use is right.

  • Any non geeks using a smart phone as a viewfinder for a 6 d?

    I am considering a 6 d as a back up for my 1DS - mk3. I would like to use for night photographjy and control it remotely in a hot vehicle. I don't know anything about smart phones or establishing a link. I read the texts of presentation of Canon, but it is not clear to me.

    I'm sure I could get the job of link, the real question is whether this would suit the purpose.

    1. how clear is the ViewScreen of development? My 1DS - mk3 is inadequte even at 10 X.

    2. can I use remotly from the development of live view? It is more accurate, I hear that the live view or AF mode.

    3. What battery life I could expect 20-30 degrees Celcius.

    4. what level of smart phone is required, or optionally another device, I really didn't need a smart phone. I just need a display screen wide high-resolution remotly control the camera.

    5. what Beach I could expect with view to the outside line?

    Ben_Egbert,

    The LCD on the EOS - 1Ds Mark III had a resolution of only 230 000 points, while the EOS LCD of the 6 d has a resolution of 1 040 000 points.  The image should appear more clearly on the EOS 6 d.

    The new EOS Remote app allows you to display image in live view from the camera on a smartphone.  Camera settings can be changes and the shutter can be released using the Remote EOS application.

    We cannot imagine what kind of battery life you will get when you shoot in these low temperatures, but it will be less than it would be to the rising temperatures.

    The Remote EOS application should be available in the app store for Android and Apple's iOS.  This means that most Android and Apple smartphones and tablets should be able to connect to the EOS 6 d using this app.

    The absolute best, the transmission is located about 30 m/98.4 ft.  This is assuming that there are no obstacles between the transmitting and receiving antennas, there is no radio interference and the device uses an antenna high performance.

    If it is a time sensitive matter, additional support options are available to contact us.

  • Time to plug a non - CBD to a PDB file

    Hello

    I have a question in connection with the process the conversion of a No -CBD BD to the PDB.

    As I understand it, one of the of the important aspects of the Multi- tenant is shared common PLSQL objects or APIs for different options, . the database

    So understand that when the running the script noncdb_to_pdb. SQL, this operation deletes the common a part of the SYSTEM tablespace of the database PDB. Is it?

    We can say also that time of clogging always time to erase this part of the common dictionary or depends on the number of user objects.

    Thank you

    Arturo

    Then, please mark the ANSWERED thread

  • Can I buy Adobe photoshop cc INDIVIDUAL subscription and use it for commercial purposes? Or is it intended for non-commercial use only?

    If I run a small studio with only 3 people and buy photoshop CC with individual subscription, can I use it for my studio? I ask why this is because CC single license (only app) is cheaper than a subscription to small and medium-sized businesses (one application).

    Thanks in advance.

    Hi rohit.c

    Yes, it's very well - there is no restriction on the use of an individual membership in the trade.

    Teams of small business plans are more expensive that you get additional storage and tools for managing the deployment of license.

    Kind regards

    Bev

  • PSD CS5 on the Mac 10.7.5 cloning tool does not not using wacom intuos

    Screen Shot 2016-02-08 at 1.38.52 PM.pngGet this error message

    Do not reset the Photoshop preferences.

    First select the clone tool and press the Option key pressed on the keyboard by pressing the Option key select the area you want to clone.

  • 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.

  • 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

  • Link db fast intra-CBD

    Various Oracle University course material uses the quick "Connection of db intra-CBD" expression to describe the links of database between containers living in the CBD even pluggable. They also state that "...". because communication link doesn't leave the instance, the link is very fast." I can find no other reference to this notion of "db link fast intra-CBD" and my own tests seem to show that the database of links between the containers work in exactly in the same way that they do in a non - CBD environment: contacting the listener to establish a session and send each way on TCP data. So all similarly as a link back to loop db in a non - CBD environment.

    Can anyone point me to any doc describing how it works "link db fast intra-CBD? Or to confirm what he done or it does not exist?

    Thanks for any idea.

    Thank you two for the answer. I'm going to close this topic with this conclusion (which is of course only I feel of its operation):

    Links on the service TCP exactly in the same way in the CBD and non - CBD. This seems to be confirmed by observing network traffic. If the link have been implemented on the IPC, it might be faster and that's probably what means Uni Oracle, when they talk of a link quick intra-CBD.

Maybe you are looking for