Import Schema in different tableapces
Dear All,
I need help regarging small issue our developers have created some schemas in user and system tablespace and we are migrating to another server. I want to tranfer them in different tablespace non system tablespaces during migration.
I create schema in new database and assigned deafult tablespace to non system table space but still data was migrated in Users table space.
Please suggest how i can migrate data to a different table space.
Thanks
//I create schema in new database and assigned deafult tablespace to non system table space but still data was migrated in Users table space.//
first the reason why it went to the system and user tablespace is because the newly created schema had access to these tablespace.
now how do you prevent access ?
check that your user does not have RESOURCE role assigned. RESOURCE role provided UNLIMTED TABLESPACE rights to all the tablespace in your system. check these 2 privileges and remove them.
if you have done this and imported the schema all the tables would have gone only into the default tablespace.
p.s. obviously if you are running 10g, you dont need to worry all about this. use datapump. use REMAP_TABLESPACE
Similar Messages
-
Impdp import schema to different tablespace
Hi,
I have PRTDB1 schema in PRTDTS tablespace, I need encrypt this tablespace.
and I have done this steps:
1. I created new encrypted PRTDTS_ENC tablespace.
2. I take export PRTDB1 schema. (expdp system/system schema=PRTDB1 directory=datapump dumpfile=data.dmp logfile=log1.log)
and I want import this dump to new PRTDTS_ENC tablespace.
can you give me impdp command, which I need?Hello,
ORA-14223: Deferred segment creation is not supported for this table
Failing sql is:
CREATE TABLE "PRTDB1"."DATRE_CONT" ("BRON" NUMBER NOT NULL ENABLE, "PCDID" NUMBER(9,0) NOT NULL ENABLE, "OWNERSID" NUMBER NOT NULL ENABLE, "VALUESTR" VARCHAR2(4000 CHAR), "VALNUM" NUMBER, "VALDATE" DATE, "VALXML" "XMLTYPE") SEGMENT CREATION DEFERRED PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING So it means that these Tables "need" a Segment but, they are created with the option SEGMENT CREATION DEFERRED.
A workaround is to create a Segment for these Tables on the Source Database before exporting them. Then, at the Import you won't have the option SEGMENT CREATION DEFERRED. The following Note of MOS detail this Solution:
- *Error Ora-14223 Deferred Segment Creation Is Not Supported For This Table During Datapump Import [ID 1293326.1]*
The link below gives more informations about the DEFERRED SEGMENT CREATION:
http://docs.oracle.com/cd/E14072_01/server.112/e10595/tables002.htm#CHDGJAGB
With the DEFERRED SEGMENT CREATION feature, a Segment is created automatically at the first insert on the Table. So the Tables for which the error ORA-14223 occurs are empty.
You may also create them separately by using a script generated by the SQLFILE parameter in which you change the option SEGMENT CREATION DEFERRED by SEGMENT CREATION IMMEDIATE.
Hope this help.
Best regards,
Jean-Valentin -
Import schema to a different tablespace
hi,
I've exported my instance:
EXP SYSTEM/MANAGER@OLDINSTANCE FULL=Y FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_EXP.LOG
after I've created new tablespace and new user:
CREATE TABLESPACE MAX DATAFILE 'c:\MAX01.dbf' SIZE 3800M REUSE DEFAULT STORAGE
(INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 256 PCTINCREASE 0) ONLINE;
CREATE USER MAX IDENTIFIED BY MAX DEFAULT TABLESPACE MAX TEMPORARY TABLESPACE TEMP;
finally I've imported tom's objects in MAX:
IMP SYSTEM/MANAGER@NEWINSTANCE FROMUSER=TOM TOUSER=MAX FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_IMP.log
but in some tables I get these errors:
IMP-00017: following statement failed with ORACLE error 1658:
"CREATE TABLE "AREA" ("OFL" VARCHAR2(4), "OBL" VARCHAR2(32), "OSITE" V"
"ARCHAR2(32), "OLS" VARCHAR2(32), "OAREA" NUMBER, "DV_ID" VARCHAR2(32), "DP_"
"ID" VARCHAR2(32), "ODISMESSO" VARCHAR2(2), "OTYPE" VARCHAR2(64), "OCAT" VAR"
"CHAR2(64), "OOCCUP" NUMBER, "SFL" VARCHAR2(32), "SBL" VARCHAR2(32), "SSITE""
" VARCHAR2(32), "PRORATE" VARCHAR2(8), "STYPE" VARCHAR2(64), "SCAT" VARCHAR2"
"(64), "SAREA" NUMBER, "SOCCUP" NUMBER, "AREA_SERV" NUMBER) PCTFREE 10 PCTU"
"SED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 314572800 NEXT 52428"
"800 MINEXTENTS 1 MAXEXTENTS 1000 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS "
"1 BUFFER_POOL DEFAULT) TABLESPACE "TOM""
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
In new instance there are 2 tablespaces (TOM, MAX)
I tried 2 solution:
1) I've taken the tablespace TOM offline in the new instance, but when I import fromuser=TOM touser=MAX.............
I get error because not exist tablespace TOM
2)I removed MAX's quota on the TOM tablespace in the new instance.
ALTER USER MAX QUOTA unlimited ON TOM;
but when I import I get alway the same error:
ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
I know That I must encrease tablespace TOM for avoid this error, but I must create 6 new users in 6 different tablespaces and I'd to increase tablespace TOM too much (how many GB?).
how can I import schema to a different tablespace?
Thanks
RafI don't understand why you cannot import TOM's scheme
to new instance, because you say that you' ve TOM
tablespace in the database.
Check size of it, may be you need to increase size or
you can TOM tablespace set autoextended.
Also, you can set MAX tablespace is default in new database and set TOM tablespace is readonly.
Then import cannot create object in TOM tablespace
and create this in MAX tablespace.
Best regards, Victor -
How to export and import from AIX to solaris a whole schema with different
how to export and import from AIX to solaris a whole schema with different character set
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
Import terminated successfully with warnings.The conversion between the character sets on the two servers are handled automatically. Export from one server will export the data given the character set defined on that server. Import into another server will import the data given the character set defined on that server, performing a conversion if necessary. This can be a problem when going from single-byte to a multi-byte character set. In your case, the warning is simply for your information, shoule be no real problem given the character sets you're using.
For more info...check out (pertains to 9i):
Export
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1006791
Character Ste Migration
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch10.htm#1656
HTH -
iPhoto suddenly doesn't seem to recognize my camera, and essentially freezes. The only thing that makes sense is that another person in my house imported using a different camera and that changed things somehow. Ideas?
Hi There!
The camera is a Panasonic Lumix. I don't have a USB card reader. I did try and different port although not a different cable.
I did remember one additional thing. I plugged my camera in at work to a PC. It was after that, when I came home, that the iPhoto wasn't working when I connected my camera to our iMac/iPhoto at home. I think this may have caused the problem.
Cheers! -
I am having a new problem in IPhoto'11. An older camera is importing photos as 4x4 (16 copies to a single image). In the preview pane the photos are fine (single copy per image). I have tried disconnecting and reconnecting but the problem repeats. Earlier I had a successful import from a different camera.
I can't find any settings to change this. Help!Sorry but I do not understand your question
As to importing iPhoto simply copies the photos to the iPhoto llibrary - no changes of any sort are made
LN -
Import schema doesn't show any link id.
Hi,
When i connect http://hostname:50300/strategy/bi/ then choose import schema,after that i cannot see any link ids in the menu.Link ids were already created on application server.Do yo have any suggestion about this situation?
Regards...Hi,
- If you can't see a Link ID in the dropdown of the BICA Import Schema screen, make sure that PIP is actually connecting properly to PAS.
- In the SM Administrator you must go to the Manage Models screen and create a Model Connection (BICDEFAULT) to be used by the BICA tool.
- Stop and start the SAP SM Extended Listener and the SAP SM Listener services. If you are running SM 7.5 with the JPIP version of Interactive Publisher, go to the JPIP Session Monitor from the Tools menu and restart JPIP.
Hope this helps,
Miguel -
Error while import schema in HANA DB
Hi...
I am trying to perform an export-import of a HANA DB user instance at schema level including all objects (in my case tables and synonyms) and data.
Export and Import works very well except importing a schema which contains a synonym referred to other existing schema .
Here is a test case
- Schema A with a Table and Schema B to contain a synonym for schema A's table.
- Exported both schemas to CSV which is done successfully and everything looked ok in export location.
- Imported Schema A and then Schema B with the following command.
Command:
IMPORT "<bkup_schema>"."*" FROM '<bkp_location>' WITH RENAME SCHEMA <bkup_schema> TO <brand_new_schema>;
The schema A (with table) imported fine. Schema B (with synonym) gives the below error :
"SAP DBTech JDBC: [2048]: column store error: table import failed: [2003] An index already exists with the same name "
When trying to use "REPLACE" clause in the command the error changes as below:
SAP DBTech JDBC: [2048]: column store error: table import failed: [30117] Binary import failed (cannot execute drop statement)
Has anybody faced this type of error before??Folks, I am running into the same issue. What I figure out was the following:
1) I turn off the autocommit
2) I run the import for the first time
import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
rollback;
3) I get the error as described
SAP DBTech JDBC: [2048]: column store error: table import failed: [30117] Binary import failed (cannot execute drop statement)
4) I run this import once again and commit and surprisingly the error is gone and the import is successful.
import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
commit; -
Import/Export between different Portal versions
Hi, is there any resonable argument for not allowing imp/exp between different version? The thing is a developed a Page Group on a 9i AS and now need to export it to a 10g AS. It reasonable to think that an imp/exp machanism should exist, at least, for the latest version.
Hi there,
Yes, there is a reasonable argument for that and that is that the export code will be different from the import code. This means that alterations to the code in order to be more flexible or to even fix an issue, for example, on the export won't be in-place. Now when you'll try to import with the different code this certainly will clash your system (as the problem may already be within the DMP file that you've exported).
Although your request does make sense the implementation part is not that easy to be done.
I hope it helps you to better understand the constraints...
Cheers,
Pedro. -
Export then Import to a different Hyper-V server
In http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/85dc7d36-491f-4b02-88ac-63c1ed0d94db I described a problem when exporting from a Hyper-V server and trying to import into a different Hyper-V server in a different domain. The import failed and the event log contained:
Failed to import the virtual machine from import directory 'D:\HV\Test\Test4GB-3\'. Error: One or more arguments are invalid(0x80070057)Well I've now identified the source of the problem. In the .exp file is:
<INSTANCE
CLASSNAME="Msvm_VirtualSystemGlobalSettingData">
<PROPERTY NAME="ScopeOfResidence" TYPE="string">
<VALUE>
e7668fbc-216e-4ed1-8ce3-3b932b42e22b
</VALUE>
</PROPERTY>
If I edit the .exp file and delete the <value>..</value> then the virtual machine imports with no errors.
Looks like a Hyper-V bug to me!
JRWe are not planning to fix this for Windows 2008 at the moment - as SCVMM work around the problem when they move virtual machines (they remove the scope section just like you have done here). But here is a handy VBScript that you can run on a Hyper-V server that will go through and nuke all the scopes (do not use this if you are still using SCVMM) so you can export and import happily (note that you need to run this before exporting):
Option Explicit
Dim WMIService
Dim VMList
Dim VM
Dim VMSystemGlobalSettingData
Dim VMManagementService
Dim Result
'Get instance of 'virtualization' WMI service on the local computer
Set WMIService = GetObject("winmgmts:\\.\root\virtualization")
'Get a VMManagementService object
Set VMManagementService = WMIService.ExecQuery("SELECT * FROM Msvm_VirtualSystemManagementService").ItemIndex(0)
'Get all the MSVM_ComputerSystem object
Set VMList = WMIService.ExecQuery("SELECT * FROM Msvm_ComputerSystem")
For Each VM In VMList
if VM.Caption = "Virtual Machine" then
Set VMSystemGlobalSettingData = (VM.Associators_("MSVM_ElementSettingData", "Msvm_VirtualSystemGlobalSettingData")).ItemIndex(0)
VMSystemGlobalSettingData.ScopeOfResidence = ""
Result = VMManagementService.ModifyVirtualSystem(VM.Path_.Path, VMSystemGlobalSettingData.GetText_(1))
end if
Next
Cheers,
Benjamin Armstrong
============================
Windows Virtualization
Senior Lead Program Manager
This posting is provided AS IS with no warranties, and confers no rights. You assume all risk for your use. -
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 -
HL7 schema modification error with imported schema namespace
I have created a variant of one of the out of the box HL7 schemas. The changes were made to the related Segments schema. I have a custom namespace identified on both the "master" schema and one on the modified schema which is being
imported into the "master". I have verified that the namespace of the imported schema matches the namespace identified in the import statement of the master schema. However, I am getting the following error and I'm not sure how to proceed.
There was a failure executing the receive pipeline: "MyProject, MyProject.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=318a75bd6cda7207" Source: "BTAHL7 2.X Disassembler" Receive Port: "rp_ReceiveHL7" URI: "10.26.146.39:11001"
Reason: The namespace attribute 'http://MyProject/2XHL7/MDM/Segments_23' of an import should be the same value as the targetNamespace 'http://microsoft.com/HealthCare/HL7/2X/2.3/Segments' of the imported schema.Indeed, however, the namespace of the import is same as the value of the imported schema, but the namespace of neither schema is http://microsoft.com/HealthCare/HL7/2X/2.3/Segments,
since I changed it when I made the modification. That namespace does not exist in my project, nor does it exist locally, so i'm not sure where this error message is trying to lead me. -
Import Schema into new (production) environment in APEX 4.2
Hello,
I am having troubles with deploying developed application into new environment. I exported application, schema and workspace and I want to import it all to a new machine. Except schema, I have imported and installed it all successfully. But after I import generated script (DDL) trough SQL Workshop->SQL Scripts I am not able to find created scheme.
Let me explain my steps in sequence:
1. I have installed XE 11g Release 2, and APEX 4.2 on the new machine (Win 7).
2. New (ghost) workspace and schema were created (named as TESTWS, TESTSCH).
3. After I logged to a new workspace (TESTWS) I completed importing old schema (DEVSCH) -( I have found that the import and install sequence should be - fist Schema, second Workspace (with mapped schema), and then Application)
4. Finally I have imported old workspace (DEVWS) trough administrator console, and have tried to assign it to old (imported) schema (DEVSCH) but without any success. I was not able to locate imported schema.
I am not sure if there is a missing step or something I have doing wrongly, so please advise what to do in order to import and recognize/locate/see imported scheme into new APEX environment?
Thank you in advance,
BR
JasminNo.. Once you import an application into HIGHER version of APEX, it is modified to that version.. This is a suggestion, but I would advise having some sort of version control in this case, so you can go back to a prior version easily...
Thank you,
Tony Miller
Ruckersville, VA -
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 -
Hello MDM Experts,
I am trying to merge CUSTOMER and VENDOR repository and getting an error while importing repository schema. We are on MDM 7.1 version 7.1.04.131(SP04 and latest Patch08). when i choose Transport>Import repository schema, "Import Schema VENDOR" screen pops up which gives me an opportunity to accept or reject tables/fields/roles etc...after finished with accept/reject tables/fields when i hit OK system gives me an error saying...
"Error Importign Schema"
"One or more of the selected items requires that you select additional items"
Has any one come across same error while merging two repository structures..? or any suggestions would be appreciated..
Thanks in Advance
RohitHey Rohit,
This error could come due to several reasons, some of the most common ones can be:
1. You have defined a Remote System and Port, and assigned a syndication/Import map to it, now if you transport only the Port, you can get the error since the Port has a dependency on Remote system and you should transport both of them together.
2. You have defined a Main table (or a lookup table) which has a dependency on another lookup table. Now if you transport only the Main table, you will have an error since Main in dependent on Lookup table.
If it is possible, you can try transporting whole repository , instead of individually picking and choosing objects. This will make sure all the objects are transported. If that is not the case then you need to look at all the objects and make sure its dependent objects are also transported.
Thanks
Aamir
Maybe you are looking for
-
Can't get my facetime to work with my mac and my wifes i phone touch
my face time does not work with my macbook connecting to my wifes i phone touch and we are in the same room she calls me my mac rings then cuts straight off. My mac will not connect to hers at all
-
Cs3 bug - global objects and frame labels
Just found a bug that took me an hour to figure out. A strange problem occurred when I had a global object and a frame label named the same. Example: _global.discussion = new Object(); //lots of functions here I was directing the timeline of a movieC
-
I have a problem with my weather. it is not updated properly. I live in KILLEEN TEXAS Austin is only 1hr and 30 min away but the tempeture is very difeferent. today it is showing 20 degrees in diference and know that it is night does not change to th
-
Hi, I have a server with APEX that you can contact trough the web, now I want to retrieve a file from another server that has contact with the APEX server but it cannot be accessed from the web. I've tried multiple times to use the internal link that
-
Adobe Reader v7.09 doesn't work and gives me "expr: syntax error".
Hello! $ /home/Programs/AdobeReader709/bin/acroread expr: syntax error expr: syntax error ... (never ends and I have to kill the process). I ran a strace for a couple seconds and ctrl-c'ed to stop/kill it. I posted the log: http://pastebin.ca/674360