Import schema from datafile

Here is the situation: We are decommissioning an Oracle 9.2 database, but we need to move the contents of one of the schemas into a 10g database. Ordinarily, we'd use the legacy export and import tools to do this, but in this case we can't (due to the fact that the catexp.sql script hasn't been run, and nobody knows the SYS password to login as SYSDBA to run the script).
We can, however, migrate the datafiles to the new server. So this is my question: can we somehow add the new datafiles to the existing database and move the schema into the already existing tablespaces/datafiles? I have no idea how this would work, so any guidance would be appreciated.
Or, to simplify things, is it possible to run the catexp.sql script as SYSTEM? Perhaps any other way?

Though now that I read it again, it says "To use Export and Import, you must run the script catexp.sql or catalog.sql (which runs catexp.sql) after the database >has been created or migrated to Oracle Database 10g."If you have the current database is on oracle 9i and want to perform export(exp) and import(imp) into a 10g database,which already exists, You don't have to run catexp.sql. catexp.sql gets executed after the 10g database is created through catalog.sql. usually catexp is called by catalog.sql.
Execute
select * from role_role_privs; and if you see the below in both 9i and 10g, you're all set. Use exp to export from 9i database and use imp from 10g and import into 10g database.
ROLE                           GRANTED_ROLE                   ADM
IMP_FULL_DATABASE              SELECT_CATALOG_ROLE            NO
IMP_FULL_DATABASE              EXECUTE_CATALOG_ROLE           NO
EXP_FULL_DATABASE              EXECUTE_CATALOG_ROLE           NO
EXP_FULL_DATABASE              SELECT_CATALOG_ROLE            NO
So that means I only need to run catexp.sql after importing it into my 10g database? I think that line is causing me some confusion.Depends on the output of the above.
HTH
-Anantha

Similar Messages

  • Random Bingads WSDL errors: Parsing WSDL: Couldn't load from...failed to load external entity, Could not connect to host, Parsing Schema: can't import schema from

    Hi,
    I am developing a web tool that accesses client's Bingads accounts via OAUTH2 granting. I am downloading data from clients daily.
    Generally it worked, but for 2 days I am experiencing a weird issue, that in random times (but more and more often though) I receive random error messages from Bing server. I am pasting below a few example from my logs (with timestamp and request/response).
    Must note that I launch these requests from the server where we have the webapp but also I launch it locally. The same is the result.
    The timestamp is in France time (GMT+1).
    Thanks ahead!
    Best regards,
    Steve
    2015-01-14 15:08:05: Service\BingAds::initService => SOAP-ERROR: Parsing Schema: can't import schema from 'https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc?xsd=xsd0'
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetDetailedBulkDownloadStatusRequest><ns1:RequestId>108277125</ns1:RequestId></ns1:GetDetailedBulkDownloadStatusRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetDetailedBulkDownloadStatusResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Errors i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><ForwardCompatibilityMap xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
    xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><PercentComplete>100</PercentComplete><RequestStatus>Completed</RequestStatus><ResultFileUrl>https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=XXX</ResultFileUrl></GetDetailedBulkDownloadStatusResponse></s:Body></s:Envelope>
    2015-01-15 05:41:39: Service\BingAds::getCampaigns => SoapFault: Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 05:45:00: Service\BingAds::initService => SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    2015-01-15 11:58:46: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 11:59:50: Service\BingAds::initService =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetCampaignsByAccountIdResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Campaigns xmlns:i="http://www.w3.org/2001/XMLSchema-instance"></Campaign>........</Campaigns></GetCampaignsByAccountIdResponse></s:Body></s:Envelope>
    2015-01-15 12:05:55: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)

    Hi,
    1. I am using the older version of the PHP library provided by Bing (updated on 1/20/2014), so that is doing the WSDL loadings. I initialize the proxy calling OpticoBingAdsClientProxy providing what it needs, and then do the requests.
    2. I have a cron that reads data from client's accounts. I make several calls, like get search query report, get keyword performance report, get keyword bulk data. As the script progressed the first 2 worked and the third gave error. Or in other cases the
    first request failed. The calls have quite some time in between them since I process data (sometimes even 160 seconds)
    3. I did not change the code ion terms of requests, since as I said I use the PHP library (same credentials, ...).
    As of today (2015-01-16 10:30 GMT + 2) running my script, still have the same issues.
    Thank you!
    Steve

  • Bpel: problems importing schema from http-url

    i have problems importing the schema "http://schemas.xmlsoap.org/ws/2003/03/addressing/". I'm using JDeveloper 10.1.3.3.0.4157 and SoaSuite 10.1.3.1.0 with the patch 10.1.3.3.0.
    The problem can be reproduced very easily:
    * create a new "BPEL Process Project" from template "Synchronous BPEL Process" and use all default settings
         -> deploying to my local app-server works
    * add a new variable to the process
         * select "Element" as type
         * click "Browse Elements..."
         * click "Import Schema File..."
         * enter "http://schemas.xmlsoap.org/ws/2003/03/addressing/"
         * select "Imported Schemas/addressing/EndpointReference"
         * finish creating variable
    * save all and deploy
         -> the ant console shows the following error:
    BUILD FAILED
    C:\oracle\JDeveloper\jdev\mywork\TejTest\BPELProcess1\build.xml:79: A problem occured while connecting to server "127.0.0.1" using port "8888": bpel_BPELProcess1_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Fehler beim Laden von Prozess.
    Bei der Prozessdomäne sind folgende Fehler beim Laden des Prozesses "BPELProcess1" (Revision "1.0") aufgetreten: BPEL-Validierung nicht erfolgreich.
    Validierung der BPEL-Quelle nicht erfolgreich. Fehler:
    [Fehler ORABPEL-10902]: Kompilierung nicht erfolgreich
    [Beschreibung]: in "bpel.xml", XML-Parsing nicht erfolgreich. Grund "nicht definiertes Teilelement.
    In WSDL-Datei bei "file:/C:/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess1_1.0_c64929dfd2dacf95db3c9da081c1797d.tmp/BPELProcess1.wsdl" ist das Teilelement der Nachricht "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessRequest" in keinem der Schemas definiert.
    Vergewissern Sie sich, dass die Schreibweise des QName-Elements korrekt ist und dass der WSDL-Import vollständig ausgeführt wurde.
    [Mögliche Behebung]: n/v.
    Wenn Sie ein Patch auf dem Server installiert haben, stellen Sie sicher, dass die bpelcClasspath-Domäneneigenschaft die Patch-Klassen enthält.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:862)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    sorry for the german message, i couldn't get the english version. basically it says that "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessRequest" is not defined in any schema, what is very strange because before importing the schema from http..., the element ...BPELProcess1ProcessRequest has been found.
    another strange thing is that if i download the schema from http://schemas.xmlsoap.org/ws/2003/03/addressing/ and import it from a local file, everything works as expected.

    When importing a schema there are two attributes to the import element to be aware of: namespace and schemaLocation. I think this is the basis of confusion, particularly where the same value is used for both in this case.
    I suspect that the schema import works for ax90033 because the schemaLocation is being specified as "http://schemas.xmlsoap.org/ws/2003/03/addressing/".
    The W3C has some further information on this at http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/structures.html#element-import which gives an indication of the complexity that lies behind schema imports.
    Peter
    http://soastation.blogspot.com

  • Import schema from WSDL

    Hello,
    I have been trying to import the schema definitions from the
    http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl WSDL
    but with no success. I constantly run into QNAME or schema errors.
    Binding not found: QName(http://www.ncbi.nlm.nih.gov/soap/eutils, eSearchResponseMS_m)
    Can someone help.
    Thanks.

    Hi,
    I think your xsd has a few issues that bpel doesnt like, Jdev doesnt like and hence the problems
    After having a quick look I kind of figured out a few ones, for example your xsd file
    http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/esearch.xsd
    has got tags as <s:schema .........>
    but s is not defined, if you are using the standard xml standard either change the s to xsd or define s, xmlns:s="http://www.w3.org/2001/XMLSchema"
    that shoud get you passed some issues. Having said that, Jdev is rather strict about wsdl and xsd files that are being included and even a minor small error will cause problems in using that xsd.
    Thanks
    Sandeep

  • Import error from oracle 10.1.0  to oracle 10. 2.0

    Hi
    I am importing schema from oracle 10.1.0 to oracle 10.2.0.
    my all objects are imported successfully except foreign key constraints.
    my error are like
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 5167
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCTID"', NULL ,NULL,NULL,0"
    ",0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCT_CODE"', NULL ,NULL,NUL"
    "L,0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCT_NAME"', NULL ,NULL,NUL"
    "L,0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"SHORT_DESC"', NULL ,NULL,NULL,"
    "0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"DESCRIPTION"', NULL ,NULL,NULL"
    ",0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCTLIMG"', NULL ,NULL,NULL"
    ",0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encountered
    ORA-20001: Invalid or inconsistent input values
    ORA-06512: at "SYS.DBMS_STATS", line 4194
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 20001:
    "DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :="
    " NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
    "RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT"
    "S.SET_COLUMN_STATS(NULL,'"PRODUCT_MASTER"','"PRODUCTMIMG"', NULL ,NULL,NULL"
    ",0,0,0,srec,0,6); END;"
    IMP-00003: ORACLE error 20001 encounteredthanks

    you can import the stats with importing objects , you can pass parameter STATISTICS =none ( do not import the stats).
    STATISTICS -- import precomputed statistics (always)
    Try this.
    --Girish                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error while importing schemas using datapump

    Hi,
    I am trying to import schema from qc to development. after importing i got the following error attached below:
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/WITH_GRANT_OPTION/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    ORA-39065: unexpected master process exception in RECEIVE
    ORA-39078: unable to dequeue message for agent MCP from queue "KUPC$C_2_20090421161917"
    Job "SYS"."uat.210409" stopped due to fatal error at 20:15:13
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 2 with process name "DW02" prematurely terminated
    ORA-31671: Worker process DW02 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421161934 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 3 with process name "DW03" prematurely terminated
    ORA-31671: Worker process DW03 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162030 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 4 with process name "DW04" prematurely terminated
    ORA-31671: Worker process DW04 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162031 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    Is my import completed successfully or not??. please help...

    When a datapump job runs, it creates a table called the master table. It has the same name as the job name. This is used to keep track of where all of the information in the dumpfile is located. It is also used when restarting a job. For some reason, this table got dropped. I'm not sure why, but in most cases, datapump jobs are restartable. I don't know why the original message was reported, but I was hoping the job woudl be restartable. You could always just rerun the job. Since the job that failed already created tables and indexes, if you restart the job, all of the objects that are dependent on those objects will not be created by default.
    Let's say you have table tab1 with an index ind1 and both table and index are anaylized. Since tab1 is already created, the datapump job will mark all of the objects dependent on tab1 to skip. This includes the index, table_statistics, and index_statistics. To get around this, you could say
    table_exists_action=replace
    but this will replace all tables that are in the dumpfile. Your other options are:
    table_exists_action=
    truncate -- to truncate the data in the table and then just reload the data, but not the dependent objects
    append -- to append the data from the dumpfile to the existing table, but do not import the dependent objects
    skip -- skip the data and dependent objects from the dumpfile.
    Hope this helps.
    Dean

  • SSIS 2012 is intermittently failing with below "Invalid date format" while importing data from a source table into a Destination table with same exact schema.

    We migrated Packages from SSIS 2008 to 2012. The Package is working fine in all the environments except in one of our environment.
    SSIS 2012 is intermittently failing with below error while importing data from a source table into a Destination table with same exact schema.
    Error: 2014-01-28 15:52:05.19
       Code: 0x80004005
       Source: xxxxxxxx SSIS.Pipeline
       Description: Unspecified error
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC0202009
       Source: Process xxxxxx Load TableName [48]
       Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid date format".
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC020901C
       Source: Process xxxxxxxx Load TableName [48]
       Description: There was an error with Load TableName.Inputs[OLE DB Destination Input].Columns[Updated] on Load TableName.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed
    the specified type.".
    End Error
    But when we reorder the column in "Updated" in Destination table, the package is importing data successfully.
    This looks like bug to me, Any suggestion?

    Hi Mohideen,
    Based on my research, the issue might be related to one of the following factors:
    Memory pressure. Check there is a memory challenge when the issue occurs. In addition, if the package runs in 32-bit runtime on the specific server, use the 64-bit runtime instead.
    A known issue with SQL Native Client. As a workaround, use .NET data provider instead of SNAC.
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • How can i import tables from a different schema into the existing relational model... to add these tables in the existing model? plss help

    how can i import tables from a different schema into the existing relational model... to add these tables in the existing relational/logical model? plss help
    note; I already have the relational/logical model ready from one schema... and I need to add few more tables to this relational/logical model
    can I import the same way as I did previously??
    but even if I do the same how can I add it in the model?? as the logical model has already been engineered..
    please help ...
    thanks

    Hi,
    Before you start, you should probably take a backup copy of your design (the .dmd file and associated folder), in case the update does not work out as you had hoped.
    You need to use Import > Data Dictionary again, to start the Data Dictionary Import Wizard.
    In step 1 use a suitable database connection that can access the relevant table definitions.
    In step 2 select the schema (or schemas) to import.  The "Import to" field in the lower left part of the main panel allows you to select which existing Relational Model to import into (or to specify that a new Relational Model is to be created).
    In step 3 select the tables to import.  (Note that if there are an Foreign Key constraints between the new tables and any tables you had previously imported, you should also include the previous tables, otherwise the Foreign Key constraints will not be imported.)
    After the import itself has completed, the "Compare Models" dialog is displayed.  This shows the differences between the model being imported and the previous state of the model, and allows you to select which changes are to be applied.
    Just selecting the Merge button should apply all the additions and changes in the new import.
    Having updated your Relational Model, you can then update your Logical Model.  To do this you repeat the "Engineer to Logical Model".  This displays the "Engineer to Logical Model" dialog, which shows the changes which will be applied to the Logical Model, and allows you to select which changes are to be applied.
    Just selecting the Engineer button should apply all the additions and changes.
    I hope this helps you achieve what you want.
    David

  • Using Data Pump from Grid Control to import schema

    Hi,
    I have 2 10g oracle databases on 2 different windows servers. The databases are called: source and dest.
    In dest I have created a database link to source.
    I want to import a schema from source to dest.
    I log on Grid Control and in the maintenance tab I click the link Import from database.
    I choose import from schema and the database link I created earlier.
    I then choose the schema name.
    In the page Import From Database: Options I expand the advanced options.
    I choose Exclude Only Objects Specified Below and I add a row that looks like this:
    object type: TABLE
    object name expression: EXCLUDE=TABLE:"IN('TEST6', 'TEST7')"
    As I submit the job I get this error message:
    Import Submit Failed
    Errors: ORA-39001: invalid argument value ORA-39071. The value of NAME_EXPR is misformed. ORA-00920: invalid relation operator.
    I have tried several ways, but I am still getting the same error.
    Any suggestion will be appreciated.

    Hi,
    Thanks for your replay.
    I have already tried the following with back slash:
    EXCLUDE=TABLE:\"IN('TEST6', 'TEST7')\"
    and I get the same error message.
    If you have the correct syntax could you send it to me?
    Regards.

  • Using the Import utility from other users and going to a different schema

    I has a user today with rights
    Insert into XXXX.TABLE values(); Works just fine for another schema's table which has select,insert,update,delete.
    We tried to utiile the import utility from OTHER USERS
    Insert failed ORA-00942
    Do you want ot ignore all errors
    Even though we have rights to the schema under OTHER USERS.
    When connected as the owner it works fine.

    I've be trying to find a work-around to this issue & found this old post -- I'm having the same problem.
    I'm using Oracle 11g and SD 2.1.1.64.
    I have user A with a table that grants select,insert,update, and delete privs to user B. Logging into user B I, of course, can do inserts, deletes, etc. on the the table in user A's schema.
    When I use the import data feature to load data from a CSV file I can't get it to work while logged into user B. It does work fine if logged into user A. It looks like the issue may be that it doesn't put the schema prefix of "A." on the insert statements.
    Has anyone found a way to get around this issue yet?

  • A small schema from 120 GB export could not be imported

    Dear,
    could you please be so kind and advice me what could be a problem for the following issue?
    I have 8.1.7 database on W2K (it is a shame, bit it is not a topic of my question) and I have to import one schema from 120 GB export done successfully few days ago. How to say - very simple task. So, I created the different user (e.g. TARGET_USER) in database, granted connect, resource privileges, and let me go:
    cmd> set ORACLE_SID=SID
    cmd> imp userid=sys fromuser=SOURCE_USER touser=TARGET_USER file=120_GB_export.dmp log=imp.log
    So, import takes some time, I observe in task manager number of data read by IMP.EXE program. When the value reaches about 80 GB at about all tables are imported and then import goes on. When the number of data read from disk (values in task manager) reaches about 95% of export size the process hangs.
    Checking in database: a) session is INACTIVE, b) in V$SESSION_WAIT I could find the following event: SQL*NET message from client, SECONDS_IN_WAIT increasing to minutes, hours and does not finish.
    Have you any idea?
    Kind Regards, Piotr

    Try importing just the data first and re-create the indexes later.
    Monitor the import process using,
    SELECT
    SUBSTR(sql_text, INSTR(sql_text,'INTO "'),30) table_name
    , rows_processed
    , ROUND( (sysdate-TO_DATE(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes
    , TRUNC(rows_processed/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_minute
    FROM
    sys.v_$sqlarea
    WHERE
    sql_text like 'INSERT %INTO "%'
    AND command_type = 2
    AND open_versions > 0;
    check the alert.log for any errors reported.

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • Exporting schema from 11.1.0.7 to 10.2.0.4

    I am working on Oracle Database version 11.1.0.7 on Solaris 10. I need to export a schema from this version and import into 10.2.0.4 version i Windows 2003.
    So should I install 10.2.0.4 client on Solaris and run exp to create a 10.2.0.4 dump file.
    Should I run any specific scripts before running 10.2.0.4 exp on 11.1.0.7 database?
    IN case of datapump will using version parameter solve the issue like
    expdp version=10.2.0.4
    Let me know if I'm wrong and any other suggestions are welcome?

    I the exp optons will take quite some time as I dont have 10g software installed on the machine and it is 40G export so by network it is going to take a while.
    I think datapump verion=10.2.0.4 is something to consider here?
    expdp system/..... schemas=hr directory=sample_dir dumpfile=hr.dmp logfile=hr.log version=10.2.0.4
    is the previous command correct way of doing it ?
    Once done while importing think so I dont need to do anything extra there
    impdp system/.... directory=sample1_dir dumpfile=hr.dmp logfile=hr.log
    Also should I run any scripts before doing expdp at source or impdp at target?

  • Getting error while importing schema with ORACLE TEXT

    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Oracle Text error:
    DRG-52204: error while registering index
    DRG-10507: duplicate index name: WORKORDER_Q, owner: SYS
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRIIMP", line 115
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index WORKORDER_Q. Index creation will be skipped
    Database version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Os version - Linux nlxs1012.slb.atosorigin-asp.com 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    We have take export of schema from production db now importing data to qa environment..
    In import facing above error..

    I am importing objects from P20_MAXIMO to Q25_MAXIMO to another database..
    Below is import par file..
    USERID='/ as sysdba'
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=imp_P20_MAXIMO__Q25_MAXIMO_C2364781_1.log
    FROMUSER=P20_MAXIMO
    TOUSER=Q25_MAXIMO
    buffer=1000000
    feedback=100000
    Export parfile
    userid='/ as sysdba'
    owner=P20_MAXIMO
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=exp_P20_MAXIMO_C2364781.log
    buffer=10000000
    feedback=100000
    statistics=none

  • Urg: Not able to import data from DB in OBIEE 11g : Connection has failed.

    Hi Team
    Recently while working in OBIEE 11g , I was trying to import tables from the data-base but I am getting an error " Connection has failed " .
    I have put the tnsora file in the network admin folder and the
    C:\OracleBIHome\Network\admin
    \OracleBI1\network\admin (Example: C:\OBI\Oracle_BI1\network\admin)
    \oracle_common\network\admin (Example: C:\OBI\oracle_common\network\admin)
    and have set the TNS_ADMIN variable in the User.cmd path  with the above path .
    But it is still not working . I have tried all the options but its still not working .
    Any help is appreciated.
    Regards
    R

    Is it Compulsory to give Schema and Work Schema while creating the Physical Schema in Oracle Data server?
    This is mandatory to have a schema and a work schema here.
    The schema and work schema could be the same user as the user who is connected to the dataserver!

Maybe you are looking for

  • Shut immediate taking too long

    hello, SQL> shut immediate; taking too long and no update, what should i do?

  • SLiM theme Burning-Arch

    Hi, I've made a slim theme. If you'd like to use it, it's in AUR. http://aur.archlinux.org/packages.php?ID=18455

  • SHARED MEMORY 문제(ORA-7329, ORA-7331, ORA-7279)

    제품 : ORACLE SERVER 작성날짜 : 2004-07-22 SHARED MEMORY 문제(ORA-7329, ORA-7331, ORA-7279) ================================================ PURPOSE 다음은 shared memory 문제가 발생하는 경우(ora-7329,ora-7331, ora-7279) 에 대해서 알아본다. Explanation 1. 왜 Problem 이 생기나? * Orac

  • Report output delimited all fields by semicolon.

    Hi friends, I want report output in a text file delimited all fields by ;. Thankx Nishit null

  • 2d3 steadymove pluggin and how to use it

    I've had 2d3 steadymove for PP2 pluggin installed since I've had PP2 but never used it. Now I've upgraded to PP3 and would like to use it in a project, but I don't know how to access it in my Premiere CS3. How ca I import it in my effects pallette? D