Create a PDB, OMF and PDB_FILE_NAME_CONVERT

Hello

I created a database of CBD with DB_CREATE_FILE_DEST = ' / u02/oradata.

Data using OMF files, were created as follows:

1    810      SYSTEM               YES     /u02/oradata/CDB2/datafile/o1_mf_system_b5f2f8s8_.dbf
3    870      SYSAUX               NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2c7x3_.dbf
4    220      UNDOTBS1             YES     /u02/oradata/CDB2/datafile/o1_mf_undotbs1_b5f2ho2y_.dbf
5    250      PDB$SEED:SYSTEM      NO      /u02/oradata/CDB2/datafile/o1_mf_system_b5f2jy43_.dbf
6    5        USERS                NO      /u02/oradata/CDB2/datafile/o1_mf_users_b5f2hmyl_.dbf
7    550      PDB$SEED:SYSAUX      NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2jy41_.dbf

I would like to create a plug-in database (PDB) with its data files located in/u02/oradata/CDB2/pdb2_1.

I can't use FILE_NAME_CONVERT as the database use OMF.

So I thought I would use the new parameter PDB_FILE_NAME_CONVERT:

SQL> alter system set PDB_FILE_NAME_CONVERT = '/u02/oradata/CDB2','/u02/oradata/CDB2/PDB2_1';

SQL> CREATE PLUGGABLE DATABASE pdb2_1 ADMIN USER pdb2_1_admin IDENTIFIED BY oracle_4U ROLES=(CONNECT);

According to the report, RMAN, data files were created as follows:

1    810      SYSTEM               YES     /u02/oradata/CDB2/datafile/o1_mf_system_b5f2f8s8_.dbf
3    880      SYSAUX               NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2c7x3_.dbf
4    220      UNDOTBS1             YES     /u02/oradata/CDB2/datafile/o1_mf_undotbs1_b5f2ho2y_.dbf
5    250      PDB$SEED:SYSTEM      NO      /u02/oradata/CDB2/datafile/o1_mf_system_b5f2jy43_.dbf
6    5        USERS                NO      /u02/oradata/CDB2/datafile/o1_mf_users_b5f2hmyl_.dbf
7    550      PDB$SEED:SYSAUX      NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2jy41_.dbf
10   250      PDB2_1:SYSTEM        NO      /u02/oradata/CDB2/07DA9CA33E5A49D8E053013C000AB7E5/datafile/o1_mf_system_b6f2gw99_.dbf
11   550      PDB2_1:SYSAUX        NO      /u02/oradata/CDB2/07DA9CA33E5A49D8E053013C000AB7E5/datafile/o1_mf_sysaux_b6f2gw9h_.dbf

Problem: For some reason any he uses '07DA9CA33E5A49D8E053013C000AB7E5' instead of PDB2_1.

The same also happens when you set DB_CREATE_FILE_DEST = / u02/oradata/CDB2/pdb2_1

It creates files in pdb2_1/u02/oradata/CDB2/pdb2_1//CDB207D25A844AA4E14DE053013C000A677C/datafile

How can I use OMF to create data files in/u02/oradata/CDB2/pdb2_1/datafiles?

The database is 12.1.0.2 running in the Oracle Linux 6.6

Any ideas? Thank you!

Unless someone has a better idea, I came to the following conclusion:

Under 12.1.0.2, when you create a PDB file using OMF, there is no way to avoid the PDB GUID directory structure in the PDB name. However, it is possible to place the data to the PDB files inside or outside the directory of the CBD.

The following example shows the order in the manner in which the settings are applied, according to the 12.1.0.2 Guide features:

  1. The FILE_NAME_CONVERT clause
  2. The CREATE_FILE_DEST clause
  3. The DB_CREATE_FILE_DEST initialization parameter located in the root
  4. The PDB_FILE_NAME_CONVERT initialization parameter

FILE_NAME_CONVERT and PDB_FILE_NAME_CONVERT do not apply to OMF and cannot be used, the later being an initialization parameter and ignored when using OMF.

Tags: Database

Similar Questions

  • 12 c: privileges required to create a pdb file

    I'm trying to craete a PDB file as a non - sys user

    CDB1 > con_name sho

    CON_NAME

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

    CBD$ ROOT

    CDB1 > select con_id, name, open_mode from v$ PDB;

    CON_ID NAME OPEN_MODE

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

    2 SEEDS OF $ PDB IN READ ONLY

    4 PDB3_COPY IN READ ONLY

    CDB1 > create user c ##sys identified by oracle.

    Created by the user.

    CDB1 > grant connect, resources to c ##sys;

    Grant succeeded.

    CDB1 > grant create a plug-in database to c ##sys;

    CDB1 > grant dba to c ##sys;



    CDB1 > conn c##sys/oracle@cdb1

    Connected.

    CDB1 > user sho

    The USER is 'C ##SYS '.

    CDB1 > create database pdb1 connectable from pdb3_copy;

    create pdb1 connectable database from pdb3_copy

    *

    ERROR on line 1:

    ORA-01031: insufficient privileges

    That all minimum privileges are required to create a PDB file?

    Concerning

    Probably, you do not have the permissions to create or write to this file location.

    Maybe you missed this part of my response above?

    >

    Note especially the use of the FILE_NAME_CONVERT clause to tell Oracle how to name and where to put the new files.

    >

    See the example in the DOC that I posted above. Even better to see the doc on the link I provided

    >

    CREATE a DATABASE PLUG-IN FROM salespdb FILE_NAME_CONVERT = newpdb ('/ disk1/oracle/dbs/salespdb / ',' / disk1/oracle/dbs/newpdb /') PATH_PREFIX = ' / disk1/oracle/dbs/newpdb ";

    >

  • All IT gurus out there who know Firefox... have lost the passwords saved when FF created a new profile and delete old files key3.dbf and logins.json profile.

    All IT gurus out there who know Firefox... have lost the passwords saved when FF created a new profile and delete old files key3.dbf and logins.json profile. Any ideas, anyone?

    So it's not a logins.json file?

    I see a signons3.txt file and a file signons.sqlite older, if you can try to see if you can import passwords stored in this file.

    You can force Firefox to re-import the passwords in the file signons.sqlite and regenerate the file logins.json with the following steps:

    • reset the signon.importedFromSqlite pref on the topic: config page by default via the context menu
    • Delete the logins.json file in the closed Firefox with Firefox profile folder

    When you restart Firefox, then you should have the pref signon.importedFromSqlite with the value set to true.
    You have passwords that are imported in the password manager, unless there were errors or signons.sqlite signons3.txt.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    You can use this button to go to the current Firefox profile folder:

  • I received several phishing emails which began exactly two months after I complained to the FCC about a text more blocks access to my account. Can I create a new AppleID and the new e-mail address main icloud.

    I received several emails fishing my e-mail address main icloud.com. How can I create new address icloud and new appleid

    Creation of a new Apple ID will cause a host of problems and will not stop the phishing emails. Ignore them.

  • iMovie 10.1.2 today (June 4, 2016), all of a sudden will not let me create a new project/film.  1. I have used the program extensively in recent weeks, many small travel films. 2. once in the projects, if create a new movie and the sign is checked, the op

    1. I have used the program extensively in recent weeks, many small travel films.

    2. when in the projects, if you click on create a new movie and sign, the new movie and trailer options opens successfully.

    3. click on film, nothing goes very well but open trailer.

    4. the issue seems to be the only new film/project.

    5. I can access all my other movies and run successful projects and theatre.

    6. I tried through a previous project and clicking new project from the menu, but still nothing.

    7 mac is 27 "OS X El Capitan, Version free 10.11.5, with 327 GB to 999 GB

    iMovie is 10.1.2

    8. the computer itself did not fall down and as FAS as I know, all other programs work correctly.

    9. I rebooted several times, but that has not solved the problem.

    10A does anyone else have this problem? If so, how do fix you it?

    Thanks much for any help!

    Have you ever tried to delete the iMovie preferences?  If the elements of the user interface do not, deleting preferences frequently you contribute.

    To delete the iMovie preferences leaving iMovie, runs, and then press and hold options and command key at the same time, at the launch of iMovie. Keep now pressed the buttons firmly until you see a command prompt to remove the preference. Confirm.

    Before you do, take note of all the settings that you made in iMovie preferences panel, so you can put back them later. iMovie will then begin with the Welcome screen.

    When I had a similar problem, the only thing that helped was to create an iMovie library.  Probably a corrupted in the iMovie project current library prevented the creation.   The problem persists, if you test different library in iMovie? You can create a library for testing.

    http://help.Apple.com/iMovie/Mac/10.1/#/mov3fa25bae7

  • I am creating a wix site and there's always a page indicating my Safari software is not updated, but I have the latest version!

    I am creating a wix site and there's always a page indicating my Safari software is not updated, but I have the latest version!

    Better compatibility with Firefox or Chrome browser instead of Safari for Wix.

  • I have an iphone of my sister and I managed to create my Apple Id and password but how do I delete my ister apple Id and password on the iphone and how to remove icloud address and password so that I can create my own?

    I had an iphone to my sister and have successfully created an apple Id and password. I want to remove their icloud password to create my own. How?

    Go to settings > iCloud and click 'Sign out' or 'Remove account' as appropriate. If you are asked for his ID and password that you need to ask what they are in order to move forward, or make him do the disconnection for you, or you can also ask him to remove iCloud in his list of devices - please see the http://support.apple.com/kb/ts4515 .

  • Substitution of the class, how to create the child class and then the base class

    I started to write a program for a DMM smart, that the problem is all versions of DMM greet the change company communication.

    My idea is to write a child class for each version, DMM and each Subvi child will replace the Subvi base class.

    My problem is, I first want to create a child class and after I see everything is working, start creating the base class. in this way, I'll see if think the right way.

    My question is

    How can I create a child class and then create the base class and configure the Subvi class of the child to be the substitution of the base class?

    I tried searching in the property of the class, but I don't see anything.

    Thank you

    This can be done and I did on occasion.

    You create the base class with the methods of dynamic distribution, you need (Connector components must be identical to those of the class of the child).

    Set then the legacy of the class inherits this base class.  If your method is defined as a dynamic distribution method in the parent, you will probably now have some errors (unless your method of child was already DD, in which case you might be OK already).

    To change the inheritance of a class, right-click on the properties of the class in your project, and then select Properties.  According to me, the tree of estate is at the lower end of the property.  Click on the 'legacy of change' (or something similar) to choose the class from which you now want to inherit.

  • 2012R2 creating a Collection server and adding RDSH completed with errors

    I'm working on the construction of a farm of RDS 2012R2 to be used by thin clients to my installation. I have a farm complete 2008R2 already working and I'm looking to upgrade. Currently, I have 2-2012R2 servers rose with RDS services installed. I assigned Server 1 as the agent of connection and the Desktop Web access server remotely. Server 2 is configured as host of the session. The installation of all the roles of RDS was successful. I configured the gateway desktop remotely, RD, RD Web Access licenses and certificates on my RD connection Broker.

    Initially, I tried to create a collection while the two servers were in my terminal server OR. After many attempts to try to create a session and a lot of research, I found that the GPO settings for RDS servers should be irreversible in order to create a collection with a host of the session. I moved the two servers to a political ORGANIZATION unit block I put in place. I ran a gpupdate/force and restarted both servers. In addition to this, I waited a few hours to ensure that policies no longer apply. I tried to create a collection again and received the same error when it was adding the session host server"SERVER 2 failed to configure the Server Desktop Session host Server 2 remotely. Invalid operation. "I ran a gpupdate/force a few times and tried to create a collection of more than a few times without success. Finally, I deleted all the two servers RDS servers and then reinstalled again. After having everything set up (bridge, Broker for connections, licenses, certificates etc), I try to create a collection again and am greeted with the same error.

    I know that the GPO settings have been deleted because I no longer see the banner of society that is displayed when you log on the server. There are 0 policies applied to this ORGANIZATION and the legacy unit is blocked. I'm not really sure of who apply now. I hope that someone else has experienced this problem and can help you. Thank you

    J

    Hello

    Your question is beyond the scope of what is generally answered in this forum of consumer and would be better suited for the IT Pro TechNet public.

    Please post your question in the TechNet Forums.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w8itpronetworking

    TechNet is watched by other computing professionals who would be more likely to help you.

    Thank you

  • is it possible for me to use maps created by MS streets and trips 2007?

    I just bought MS streets and trips 2013.  I have a lot of maps created in MS streets and trips 2007.  Is it possible to convrt these maps in a format that is compatible with ver2013?

    Hello

    We have a dedicated forum for Streets & Trips where you can ask experts.

    Highway, Streets & Trips, MapPoint Forum:

    http://social.Microsoft.com/forums/en-us/streetsandtrips/threads

    Concerning

  • Picasa 3 - How to create a slide show and add music?

    original title: Picasa 3

    I store all my photos using Picasa. I know how to create a slide show. Last year I managed to create a slide show AND add a piece of music. The problem I have is that I don't remember how I did it!

    I don't want to use other software and hope that someone more computer can help me re-trace my steps and create a slideshow with music.

    Sincere thanks for all the help offered.

    A

    I store all my photos using Picasa. I know how to create a slide show. Last year I managed to create a slide show AND add a piece of music. The problem I have is that I don't remember how I did it!

    I don't want to use other software and hope that someone more computer can help me re-trace my steps and create a slideshow with music.

    Sincere thanks for all the help offered.

    A

    It is a forum for Microsoft Windows XP.  Picasa is a Google product.

    I suggest you try the support for Picasa here (<-- this="" is="" all="" a="" link. ="" click="" on=""> )

    You can also try to post in the forums to Picasa (<-- this="" is="" all="" a="" link. ="" click="" on=""> )

    You can also like this: http://geeksontour.tv/learning-library/picasa/

    And this: http://sites.google.com/site/picasaresources/

  • I created a Web site and it is actually connected live. My login is working locally, but it does not work online. Could you please help me?

    I created a Web site and it is actually connected live. My login is working locally, but it does not work online. Could you please help me?

    Hi Hervé Joseph,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the MSDN Internet Explorer development Forums.

    Please post your question in the MSDN Internet Explorer development Forums

  • I can't rename a new folder, when I create a new folder and then rename the folder, the folder was renamed "new folder."

    original title: renaming a folder

    Hello, I have a problem with windows vista, I can't rename a new folder, when I create a new folder and then rename the folder, the folder was renamed "new folder" can you help me? to solve this problem?

    Hello, I have a problem with windows vista, I can't rename a new folder, when I create a new folder and then rename the folder, the folder was renamed "new folder" can you help me? to solve this problem?

    Only time that happens, in my limited, knowledge is... If you use a 'illegal' name, such as ":" symbol. There are symbols, that you cannot use as part of a name. When this happens, you should get a warning indicating that the name is not allowed, something to that effect. Then he returns itself back to the new folder.
    Suggest you try again with conventional names. See if it works or not.

    t-4-2

  • IWindows Mail buttons to create a new Contact and create a new Contact Group

    I lost my toolbar buttons to create a new Contact and to create a new Contact Group...

    I found EM.

    Missing the Windows Contacts toolbar buttons
    http://www.vista4beginners.com/missing-buttons-from-Windows-contacts-toolbar

    Vista - "New Contact" and "Contact Group on new" button missing
    http://www.Vistax64.com/tutorials/186477-new-contact-new-contact-group-button-missing.html

    Bruce Hagen MS - MVP [Mail]

  • When I print a MS Word document my printer prints symbols but when I create a new document and try to print the new document of his impression.

    * Original title: printer print only symbols

    Hello world

    When I print a MS Word document my printer prints symbols but when I create a new document and try to print the new document of his impression. If my old document is damaged to corrupt so how do I fix it

    Old documents are probably corrupt. Check out these links:

    How to troubleshoot print failures in Word: https://support.microsoft.com/en-us/kb/826845

    How to troubleshoot printing problems in Word: https://support.microsoft.com/en-us/kb/826862

    Troubleshooting damaged in Word documents: https://support.microsoft.com/en-us/kb/918429

    And this announcement in Office/Word groups is a better idea. This may very well be a FAQ here.

Maybe you are looking for