How to create the same tablespaces in test database as in production

I've used the following commands:
(from 10gR2)
expdp DIRECTORY=DATA_PUMP_DIR SCHEMAS=MDLOG EXCLUDE=STATISTICS DUMPFILE=mdlogMETADATA.dmp include=tablespace content=metadata_only
Then:
(into 11gR2)
impdp DIRECTORY=DATA_PUMP_DIR DUMPFILE=mdlogMETADATA.dmp include=TABLESPACE sqlfile=c.sql
According to the following posts it should work
how to find username and tablespace name indatapump import
[http://www.rampant-books.com/art_nanda_datapump.htm|http://www.rampant-books.com/art_nanda_datapump.htm]
instead I obtain
ORA-39002: invalid operation
ORA-39168: Object path TABLESPACE was not found.
Now I'm searching for incompatible options between expdp (10gr2) and impdp (11gr2).. and if include=TABLESPACE should be replaced with other option...
meanwhile... is there something that can tell me if I'm making any mistakes?
Tanks

Ok.. it works.. but I need to edit all DISK GROUP NAME associated to datafiles.. because they are different...
Is there any option to REMAP "DISK GROUP NAME" ?
I'm unsuccessfully trying...
impdp PARFILE=parameter_file.par
where parameter_file.par is:
DIRECTORY=DATA_PUMP_DIR
DUMPFILE=all_schemas.dmp
REMAP_DATAFILE="'+DATA_PROD':'+DATA_DEV'"
INCLUDE=TABLESPACE
SQLFILE=remap_datafile.sql
no error is reported.
The following is one of my tablespace:
CREATE TABLESPACE "TBL_BILLING" DATAFILE
'+DATA_PROD/rac1/datafile/tbl_billing.273.661541263' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_PROD/rac1/datafile/tbl_billing.274.661541267' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_PROD/rac1/datafile/tbl_billing.275.661541273' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_PROD/rac1/datafile/tbl_billing.276.661541279' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_PROD/rac1/datafile/tbl_billing.277.661541287' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M
LOGGING ONLINE PERMANENT BLOCKSIZE 8192
EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO;
I'd like to have something like...
CREATE TABLESPACE "TBL_BILLING" DATAFILE
'+DATA_DEV/rac1/datafile/tbl_billing.273.661541263' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_DEV/rac1/datafile/tbl_billing.274.661541267' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_DEV/rac1/datafile/tbl_billing.275.661541273' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_DEV/rac1/datafile/tbl_billing.276.661541279' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M,
'+DATA_DEV/rac1/datafile/tbl_billing.277.661541287' SIZE 1073741824
AUTOEXTEND ON NEXT 536870912 MAXSIZE 32767M
LOGGING ONLINE PERMANENT BLOCKSIZE 8192
EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO;

Similar Messages

  • How to create the same title effects as in this video?

    How do I create the same title effects as in this video?
    By titles I mean the ones that say Exterior Front, Exterior Back, Foyer, etc...
    http://www.youtube.com/watch?v=TEKcasQAuaY
    I don't know how to have the black bar slide in, then have the word slide in, then have both slide out.
    I'm totally new at Premiere.

    It didn't appear that the words were sliding in. Rather, they were being wiped on.
    Information on using the Titler is here.
    Since you're new to Premiere Pro, you should begin at the beginning and work through the basic learning materials for Premiere Pro.

  • How to create the same size of all Select lists?

    I have a form with select list. Each of it has the size of max length of its content.
    It is possible to made it all the same?
    Regards Kostya

    Kostya,
    In the HTML Form Element Attributes of your select list put the following:
    style="width:195px"
    and all the select list items will have the width of 195px.
    Denes Kubicek

  • How to create the same cool 'introduction' menu/screen that Jira has?

    If you login to Jira for JavaFX bugs https://javafx-jira.kenai.com/
    there is a cool 'introduction' menu/screen "What's new with Jira 5.2"
    How was it implemented? I would like to have a similar screen for my application.

    Hi,
    Kindly go through this sample program below:
    DEMO_LIST_FORMAT_INPUT *and
    check this function module:
    FREE_SELECTIONS_DIALOG *.
    Hope it helps
    Regards
    Mansi

  • How to create a cube/ods/infoobjects etc..and also  why to create the same

    Dear Friends
    how to create a cube/ods/infoobjects etc..and also  why to create the same objects.
    thanks & Regards
    Ramana

    Hi Friend,
    Creating Infoobjects
    1. Go to RSA1 -> Modelling tab.
    2. Click on Infobjects.
    3. Create a new Infoarea.
    4. Now create Infoobject Catalog for Characterstics and Key Figures.
    5. Now create Char Infoobject under Char Catalog and Key figure Infoobject under Key Figure catalog.
    Creating Cubes:
    1. Right click the info area and choose create info cube.
    2. Select the type of cube you wish to create and comnfirm your selections.
    3. The next screen is where you actually define the cube.
    4. Now you will notice the difference.
    5. Place your cursur on key fig and right click and chose infio object direct input; chose your key fig for the cube.
    6. Similarly for the dimension; right click the dimension and chose inbfo object direct input, chose your chars and out them in dimension.
    7. Activate the cube.
    Creating a ODS is also the same.(in step 1 choose create ODS)
    Creating Multicube/Multiprovider
    1. Right click the info area - chose create multi provider.
    2. select the cubes , DSOs, info objects that you need for the multi provider.
    3. On the right side of the screen, you will see all the objects that you selected and open the key fig and dimension and drag the ones you need to define the multi provider.
    4. Identify the chars and key figs.
    5. Acvitate the mullti provider.
    Why we create them ?
    Infobjects : They are fields in R/3. As we require fields in R/3 tables we require infoobjects in BI.
    ODS : This actually is like a table in R/3.
    Cube : This contain the Key figures.(e.g Sales quantity, Amount etc)
    Hope it helps.
    Regards
    Hemant Khemani

  • How to avoid two threads creating the same entity?

    I seem to have a problem with a race-condition. Two threads are trying to
              create the same entity. One thread calls a finder with no success and
              creates the entity, meanwhile - before the entity gets persisted
              (ejbStore()) - the other thread also calls a finder with no success,
              creating the
              same entity.
              My transaction isolation level in the weblogic-ejb-jar.xml is
              <transaction-isolation>
              <isolation-level>TRANSACTION_READ_UNCOMMITTED</isolation-level>
              <method>
              <ejb-name>ejb</ejb-name>
              <method-name>*</method-name>
              </method>
              </transaction-isolation>
              I've also tried <isolation-level>TRANSACTION_SERIALIZABLE</isolation-level>
              with no significant change in behavior.
              In the ejb-jar.xml
              <container-transaction>
              <method>
              <ejb-name>ejb</ejb-name>
              <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
              </container-transaction>
              

              Try setting delay-updates-until-end-of-tx to false for your bean. Try experimenting
              with concurrency-strategy of Exclusive. Or re-write your code to not check for
              existence before creation; just create the bean and let the db return a duplicate
              key exception.
              simon.
              "Daniel" <[email protected]> wrote:
              >I seem to have a problem with a race-condition. Two threads are trying
              >to
              >create the same entity. One thread calls a finder with no success and
              >creates the entity, meanwhile - before the entity gets persisted
              >(ejbStore()) - the other thread also calls a finder with no success,
              >creating the
              >same entity.
              >
              >My transaction isolation level in the weblogic-ejb-jar.xml is
              ><transaction-isolation>
              ><isolation-level>TRANSACTION_READ_UNCOMMITTED</isolation-level>
              ><method>
              ><ejb-name>ejb</ejb-name>
              ><method-name>*</method-name>
              ></method>
              ></transaction-isolation>
              >
              >I've also tried <isolation-level>TRANSACTION_SERIALIZABLE</isolation-level>
              >with no significant change in behavior.
              >
              >In the ejb-jar.xml
              ><container-transaction>
              ><method>
              ><ejb-name>ejb</ejb-name>
              ><method-name>*</method-name>
              ></method>
              ><trans-attribute>Required</trans-attribute>
              ></container-transaction>
              >
              >
              

  • How to create the change document functionality for a dependent objects?

    May I please know how to create the change document functionality for a dependent objects?
    I have done it follow the same process as for business process objects. But when i try to test it in BOBT, there is no records under "FIELD_CHANGE_WITH_FILTER". It seems the change hasn't been recorded.
    If the way I did to create change document for dependent object is correct, please also kindly advise the possibilities for why there is no record during testing.
    thanks in advance.

    I also have some doubts about the business object.In this case,one abstract BO hase a subnode wihich is root extended.I added the change document for this node under the category "root_extended" and then tested the function in BOBT.I got some error message "can't find the root key".Shall i redefine the method /BOFU/IF_CDO_CREATION~IS_CDO_CREATION_ACTIVE so as to solve the problem?
    Thx.

  • How to create the logical file name

    Hi All,
        I have requirement where i need to post the Inventory Management data. for this i need to execute std. program RM07MMBL which is having logical file name in the selection screen. but i have placed my input file in application server.
       Can any one tell how to create the Logical filename which refers the physical path. I also tried <b>t-code SF01 & Table - FILENAMEC</b>I and found that we need to add an entry in this table but i really dont know how we have to do since this table cannot be maintained in SM30 also..
      Help Me.
      Thanks in Advance!...
    Regards,
    Ramkumar

    Hi Ram,
    Try using FILE transaction code...
    Follow these steps to create:::
    Double click on Logical file Path Definition
    Click on New Entries,
    Give Logical file Path name as Z_LOGICAL PATH and save it
    now choose this path and double click on Assignemt of Physical path to Logical path
    double click on the OS name
    Give some description and give some Physical path name from AL11 transaction and save it
    Now Double click on Logical File Name Definition,
    Click on New Entries,
    Give some logical file name: Z_LOGICAL_FILENAME
    Physical file: test
    Data Format: BIN
    Logical Path: Z_LOGICAL PATH
    Hope this helps
    Regards,
    Phani
    Message was edited by:
            Sivapuram Phani Kumar

  • How To Create The New VO in Standered Page?

    Hi Gurus,
    Pl z help me how to create the new Custom VO in slandered page,and how to attach that VO in custom RN in all are slandered page only.
    Regards,
    Srini

    Hi Sara,
    <i>1. Could you please tell me how to create the new webservice in XI?</i>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    <i>2. What tools we have to use to create it.?</i>
    /people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    Altova is also a good option
    <i>3. How to send the SOAP request to XI?</i>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    SAP Note 856597
    An Add-on
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Regards,
    Prateek

  • How to create the dynamic report

    Hi,
    please help me, how to create the dynamic report

    Hi,
      Try this..
    DATA: p_temp(30)  TYPE c DEFAULT 'ZTEST_REPORT'.
    TYPES: BEGIN OF t_abapcode occurs 0,
            row(72) TYPE c,
           END OF t_abapcod.
    T_ABAPCODE-ROW = 'REPORT ZTEST_REPORT.'.
    APPEND T_ABAPCODE.
    T_ABAPCODE-ROW = 'WRITE: / ''TEST REPORT''. '.
    APPEND T_ABAPCODE.
    INSERT REPORT p_temp FROM it_abapcode.
          SUBMIT (p_temp) AND RETURN.
          DELETE REPORT p_temp.
    Thanks,
    naren

  • How to Use the same iview for both KM End User and the KM Administrator

    Hi friends,
    *This is my scenario :* How to Use the same iview for both KM End User and the KM Administrator but with different Context
    Menu Options.
    i followed these steps but im getting same context menu for both KM End User and the KM Administrator .
    Assign the role Content Administrator to the user km_admin. This is needed so that km_admin can change
    the presentation settings for the KM Folder u201EReports_kmFolder‟.
    Now, login with user km_admin. Navigate to the Km Folder reports_kmFolder through Content Administration
    -> Km Content. Click on Details link of the folder reports_kmFolder.
    Go To Settings -> Presentation. Click on the tab u201ESettings for You‟-> Click on button u201ESelect Profile‟.
    Select the radio button corresponding to u201Elayout Set‟, and choose u201EConsumerExplorer‟ from the dropdown.
    Click u201EOK‟.
    Select both the check boxes corresponding to Items Affected as shown above, and click u201ESave‟
    Now, remove the u201ESuper Administrator‟ role from the user km_admin and login with this user.
    How rto resolve this????
    Regards,
    Prasad.

    Hello Prasad,
    Most likely the user km_admin still has system principal roles assigned, even though you removed the Super Admin role, you should check that this user doesn't have any other admin roles, otherwise it will be considered a System Principal user and will therefore still have access to all content. For more information see http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm
    Try creating a new user with just read access to the content and you should see that it will not be able to make any changes etc.
    Regards,
    Lorcan.

  • How to use the same element in different Web-Services?

    I have defined a web-services in two WSDL files.
    I want to use the same type in this two services. Because if one service call the other one, it could pass the class it just got. Otherwise, the classes can't be casted.
    Web-Service1:
    public com.package1.State inputValue (com.package1.State state) {
    return state;
    Web-Service2:
    public com.package2.State inputValue (com.package2.State state) {
    return state;
    }And now, If I call from the Service2, the Service1 and put
    Service1.inputValue(com.package2.State state) ;
    I can't do this, can't cast and so on. But I want my tool WSDL2Java, will create the same State.class for two Web-Services, like:
    Web-Service1:
    public com.package3.State inputValue (com.package3.State state) {
    return state;
    Web-Service2:
    public com.package3.State inputValue (com.package3.State state) {
    return state;
    }Is it possible? How to define it in wsdl?
    Thanks in advance.

    You can certainly do this in WSDL, simply put your
    common element in a schema file and "include" it into
    each of your WSDL files. Obviously your element will
    have to use the same namespace in all places.
    I'm not sure whether wsdl2java can cope with
    "include" statements in WSDL. I know plenty of other
    similar tools, e.g. Axis and .Net tools, didn't
    support this however they may have moved on since I
    used them.
    To get around this you have to "manually" include the
    schema in each wsdl for code generation purposes.Thanks for the answer. I did as you said and it works fine.

  • How to use the same element in different photoshop files?

    It occurs to me often that I use the same element in different photoshop files, a header or footer shown in the example below. So when the footer changes in one document, I need to change this footer in every other single document.
    Is there a possibility to use some kind of template, one single document,  that can be placed in different files , which is still editable afterwards?
    Thanks in advance.
    I'm using Photoshop CS6

    In a single document you can have several pages and these pages may have headers and footers that share smart objects.  If you replace the contents of the an embedded smart object on one page page that is shared on an other page the pages you will see both pages contents are changed. For they share the common object.   It is also possibly to have independent smart object layers. It depends how you create the layers in the single document.
    Example one sharing a smart object hi-light a smart object layer and use menu layer>Duplicate Layer... This will create a second smart object layer that share a common smart object. Each layer has is own associated transform. Do it again and you will have three layers the share a common smart object. So you can use each layer associated transform to position and size the layers contents. Make a picture package for example. When you hi-light any of the three smart layers and you use menu Layer>Smart Objects>Replace Contents... all three layers contents will be replace with the new smart object.  Care must be taken to replace the smart object with an identical size object for only the object is replaced the three associated transform for the three layers are not replaced or changed.
    Example two independent smart objects  hi-light a smart object layer and use menu layer>Smart Objects>New Smart Object via Copy.  This will  create a second smart object layer that has it own embedded smart object copy.  Do it again and you will have three all have independent embedded smart object that are identical.  However they do not have to remain identical.  For example if the first smart object layer was created by using ACR to open a RAW file as a smart object layer the embedded object is a copy of the raw file and its associated RAW conversion settings.  Double clicking on one of the smart object layers and you will see ACR open on its embedded RAW file with the embedded RAW conversion setting.  Changing these settings will update the layer smart object content with new ACR setting and pixel when you click OK in ACR. Repeat for the third and you will find you have three different raw conversions in Photoshop you can mask and blend together to bring out detail.
    I think what your missing is that a smart object contains a copy of the original object.  Changing the original after creating a smart object layer in document will not effect the smart object layer at all. Its independant from the original having a copy of the original. Only changes to the smart object layer and its embedded smart object effect smart object layers.

  • How to create the Access sequence for the Vendor+material+plant combination

    Hi all
    Please let me know How to create the Access sequence for the Vendormaterialplant combination..
    Whats the use? What its effect in purhcase and taxe..
    brief me please

    Hi,
    you are asked to maintain the access sequence for the tax condition for which you are putting 7.5%.
    goto OBQ1 or img..financial accounting new...global settings.... taxes on sales and purchases ......basic settings.....
    find the tax condition type. see in it which access sequence is attached.
    if there is none then use JTAX used for taxes in India.
    or you can create the similar one for your.
    to create the same goto OBQ2.
    new entry or copy JTAX.
    and assign the access sequence to condition type.
    this will resolve your problem if you just need to assign the access sequence.
    regards,
    Adwait Bachuwar

  • How to share the same session between JNLP Application and browser session

    How to share the same session between JNLP Application and browser session using BasicService.showDocument(url) method? It appears whenever i launch any URL from within a JNLP application using BasicService.showDocument(url) , it creates new instance of browser and session even after i used cooke handlers to restore JSESSIONID and Ltpa token etc.
    public static int showDocument(String urlToOpen)
    BasicService obj = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
    obj.showDocument(urlToOpen);
    }

    Try using Reflection

Maybe you are looking for

  • Código de Status 109

    Boa Tarde, Estamos com a situação de um rejeição de 9 Nfe que estão retornando o código de status 109 - Serviço Paralisado sem Previsão da SEFAZ-MT. Como podemos alterar esse código de status, para que o nota fiscal possa ser reenviado para a Sefaz?

  • Map Viewer Errors Thrown

    This is a followup on the post "JAVA Error Messages Thrown When Deploying Map Viewer," from Jun 12, 2008 11:22 AM. (reprinted below) Basically there are a number of java errors thrown when attempting to install Mapviewer. Has anyone else come across

  • Reports saved in My Favourites can't be accessed

    Hi, My access was revoked mistakenly. I've got back my access again. I'm unable to see my reports saved in My Favourites folder. Can I get my reports back in My Favourites folder? Thanks

  • Items downloaded from internet are not visible in finder?

    When an item is downloaded (using google chrome) it is not visible in Finder. This began with OS X Mavericks upgrade.

  • Is there a way to stop a query just after the cursor/plan is produced by CBO?

    Following suggestions of Kerry Osborne&#8217;s Oracle Blog &raquo; Blog Archive &raquo; Explain Plan Lies &#8211; Kerry Osborn- on the lies of "Explain plan" (and of "set autotrace on"  too) I'd like to try to stop a query/DML before actually it star