Error DataPump
Hello
I have a DB Oracle performed 11.2.0.3 on Solaris, SunOS Unix server I want to transfer to a new server. The destination server is a server of 2012R2 of Windows I have installed Oracle 11.2.0.3. I created the tablespace and data files on the new server and they are identical to those on the UNIX server.
I ran:
Create directory export as ' / mnt/terstation/backup ';
Grant read, write on exporting directory to the system;
Datapump_exp_full_database grant to the system;
Who created the directory and gave the permissions system (I guessed they would have them already but wanted to make sure)
Then, I realized the export:
complete system/PASSWORD@INSTANCE = directory expdp export dumpfile = test1.dmp logfile = test1.log = y
Then I copied this export to the new server and ran:
Create directory import as "C:\Import".
Grant read, write on the import directory to the system;
Datapump_imp_full_database grant to the system;
Complete system/PASSWORD@INSTANCE = directory Impdp import dumpfile = test1.dmp = y
I am then presented with 17931 errors, some aspects are created, but not all. I would expect errors trying to create a tablespace which already exists, but others, I am not too sure. I was under the impression that an impdp would bring everything everywhere
I have used the full backup script but its 5000 lines long, are the main errors I get:
Treatment of type of object DATABASE_EXPORT, GRANT, SYSTEM_GRANT, PROC_SYSTEM_GRANT
DATABASE_EXPORT/SCHEMA/SCHOLARSHIP/SYSTEM_GRANT processing object type
ORA-39083: Type as system_grant cannot be created with the object error:
ORA-01917: user or role 'EFINR' does not exist
Because sql is:
GRANT CREATE TYPE TO "EFINR".
ORA-39083: Type as system_grant cannot be created with the object error:
ORA-01917: user or role 'SCHEDULER' does not exist
Because sql is:
GRANT SELECT ANY DICTIONARY "PLANNER".
ORA-39083: Type as system_grant cannot be created with the object error:
ORA-01917: user or role 'SCHEDULER' does not exist
CREATE THE SEQUENCE "EFINR". "' BPC_G03_SEQ ' MINVALUE MAXVALUE 1 9999999999999999999999999999 INCREMENT OF 1 START WITH 1 NOCACHE ALL NOCYCLE
ORA-39083: object of type THAT SEQUENCE could not create with the error:
ORA-01917: user or role "does not exist
If I check the schema on SQL Developer browser, some have appeared, but "EFINR" isn't there. Why would he not import that too? It concerns access rights?
Any help is great, I can download more if necessary
See you soon
Hello
A proposal, it seems that your tablespace name can be in different cases and maybe it's the cause
I think you have created SCHEDDATA but the original tablespace is schedDATA and that is the question.
create object names in oracle in different cases is generally a bad idea (it is only possible if you double quote mixed case).
You have 2 choices, if this is the case
(1) create the tablespace named mixed case using "schedDATA" as name
(2) make a remap_tablespace to schedDATA to SCHEDDATA - thi must work you just need to have appropriate quotes.
See you soon,.
Rich
Tags: Database
Similar Questions
-
Hello
I have created a backup of datapump task which suppose to repeat every day using the following script. But it fails after an execution to return an error-"ORA-39000: bad dump file specification"
ORA-31641: failed to create the dump file 'e:\oracledmp\EXPDAT01. DMP ".
ORA-27038: created file already exists
OSD-04010: < create > option specified, the file already exists.
How can I replace the file. or how I can set some parameters to the file in which each name may be different. Thanks in advance
----------------------------------------------------
PL/SQL declares
NUMBER of H1;
Start
Start
H1: = dbms_datapump.open (operation = > 'EXPORT', job_mode = > job_name 'FULL' = > 'EXPORTFullDB', version = > 'COMPATIBLE');
end;
Start
dbms_datapump.set_parallel (handle = > h1, degree = > 1);
end;
Start
dbms_datapump.add_file (handle = > h1, filename = > ' EXPDAT.) (Login", directory = >"Dmp", filetype = > 3);
end;
Start
dbms_datapump.set_parameter (handle = > h1, name = > 'KEEP_MASTER', value = > 0);
end;
Start
dbms_datapump.set_parameter (handle = > h1, name = > "ESTIMATION", value = > 'BLOCKS');
end;
Start
dbms_datapump.add_file (handle = > h1, filename = > 'EXPDAT%U.DMP', directory = > "Dmp", filetype = > 1);
end;
Start
dbms_datapump.set_parameter (handle = > h1, name = > 'INCLUDE_METADATA', value = > 1);
end;
Start
dbms_datapump.set_parameter (handle = > h1, name = > 'DATA_ACCESS_METHOD', value = > "AUTOMATIC").
end;
Start
dbms_datapump. START_JOB (handle = > h1, skip_current = > 0, abort_step = > 0);
end;
Start
dbms_datapump. Detach (handle = > h1);
end;
end;dbms_datapump.add_file (handle-online h1, => 'EXPDAT%U.DMP' file name, directory => "Dmp" file-online 1 type);
You could do something like:
declare mydate:=to_char(sysdate,'yyyymmddhh24miss'); begin dbms_datapump.add_file(handle => h1, filename => 'EXPDAT_'||mydate||'_%U.DMP', directory => 'Dmp', filetype => 1); end;
Nicolas.
-
I do import QA database to other databases TEST, since QA data are too large do I import of the QA server where I have my dumpfiles for export. As I have suggested, I created DB connection to connect to the test database. But I am getting following error.
Destination versionimpdp system/dsmlab2_dart1b@DSMLAB2 REMAP_SCHEMA=SERVICEMANAGER:SERVICEMGRLAB2 NETWORK_LINK=remote_dsmlab2 DUMPFILE=expdp_SERVICEMANAGER_0927_01.dmp,expdp_SERVICEMANAGER_0927_02.dmp,expdp_SERVICEMANAGER_0927_03.dmp,expdp_SERVICEMANAGER_0927_04.dmp LOGFILE=impdp_servicemanager_0927.log PARALLEL=4 Import: Release 10.2.0.5.0 - 64bit Production on Tuesday, 27 September, 2011 19:33:51 Copyright (c) 2003, 2007, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options ORA-39001: invalid argument value ORA-39200: Link name "remote_dsmlab2" is invalid. ORA-12154: TNS:could not resolve the connect identifier specified
DB link createdSelect * from v$version; Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production "CORE 11.1.0.7.0 Production" TNS for HPUX: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 – Production
source versionCREATE DATABASE LINK remote_dsmlab2 CONNECT TO SERVICEMGRLAB2 IDENTIFIED BY SERVICEMGRLAB2 USING 'SERVICEMGRLAB2';
Published by: user3636719 on 27 Sep, 2011 16:46SQL> select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL Release 10.2.0.5.0 - Production CORE 10.2.0.5.0 Production TNS for HPUX: Version 10.2.0.5.0 - Production NLSRTL Version 10.2.0.5.0 - Production
Hello;
Let go and try this format:
CREATE PUBLIC DATABASE LINK "remote_dsmlab2" CONNECT TO SERVICEMGRLAB2 IDENTIFIED BY SERVICEMGRLAB2 USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host =
) (Port = 1521) ) ) (CONNECT_DATA = (SID = ) ) )'; This has always worked for me.
Best regards
mseberg
Similar question:
and here
Pump data using network_link problem
http://www.DBA-village.com/village/dvp_forum.OpenThread?ThreadIdA=38874
Published by: mseberg on 27 Sep, 2011 19:44
-
Ask what moved off-topic messages
There are a number of positions that has accumulated in the Group of systems of storage and Server forums that are not on the subject for them.
They were usually posted by people who care not to read anything or explore the appropriate forum and just empty a question.
I did the routine "report abuse" on a number of them, but that appears to have been ignored.
Thus, this new post.
These are from the last 60 days:
(need to be moved on a Glassfish forum)
How to start Galssfish when the computer restarts
GlassFish 3.0.1 updatetool
http://forums.Oracle.com/forums/thread.jspa?threadID=2128052
war to change domain.xml in glassfish 3
GlassFish 2.1 + JPA 2: need expert advice of Sun/Oracle
(for Sun Java System "whatever" applications, made available to the Server forums)
AMPostAuthProcessInterface redirection problem
http://forums.Oracle.com/forums/thread.jspa?threadID=2127174
WebLogic spring/example of Application help
Cannot add new LDAP group members in Sun Java Server 7.0
http://forums.Oracle.com/forums/thread.jspa?threadID=2134347
Help with iPlanet
iText vs Jasper, Application Java Source Code
OpenMQ Unack messages'ed causing the Java heap overflow in STOMP
(product database issues assigned to the Administration of the system and hardware forums)
How can I save lock file?
Oracle for Mac
Problem using TNS_ADMIN in registry (Ora 11 g Instant client R2 in Win 7)
http://forums.Oracle.com/forums/thread.jspa?threadID=2154755
/ opt/SUNWwbsvr7/bin/WADM came out with the error: 125
Performance test tool
ORA-00202 and fracture block found during control read file header
Performance monitoring
Reg: Installation of Weblogic Server
How can export 9i to 11g
What is the problem with oracle database11g? Is it a serious problem?
Required client download link
http://forums.Oracle.com/forums/thread.jspa?threadID=2149037
Oracle 10G under Redhat Linux VMware
http://forums.Oracle.com/forums/thread.jspa?threadID=2138098
I can't connect to Oracle
What is the function of the field CanGrow dba_data_files?
http://forums.Oracle.com/forums/thread.jspa?threadID=2139323
copy of database
Advice needed regarding the practice of database design
Manager of the company
http://forums.Oracle.com/forums/thread.jspa?threadID=2128320
Problem with the granting of privileges
Inatalling IDM 11g on machine WondowsXp
Good resources for information on specifications for a new 11g install?
When installing EMCA trows an error: error loading configuration data
I received the Validation error in the backup
RMAN RESTORE
Find the users in a database using more CPU
Oracle 10g 64 bit database error of Windows 2008 R2 (64-bit)?
http://forums.Oracle.com/forums/thread.jspa?threadID=1554073
Not cleared temporary tablespace
TNS-12541-TNS: no listener
Installation of Oracle 11 g on a server without network access
RMAN displays the following error... Please can someone help me...
http://forums.Oracle.com/forums/thread.jspa?threadID=2137784
java.lang.Exception
http://forums.Oracle.com/forums/thread.jspa?threadID=2138186
ORA-12543 instance when creating a new oracle, Oracle 11 g
Problem with uninstalling Oracle 11.2 on Windows Server 2008
mod_plsql oracle 11g linux installation problem
Best practices to install oracle 11g r2 on Windows Server 2008 r2
ORA-12535: TNS:operation expired
http://forums.Oracle.com/forums/thread.jspa?threadID=1982259
move the file to data/tablespace in a partitioned table
Orace installation of CRS 11 g (64-bit windows server 2008) error
DataPump importing from a card reader
http://forums.Oracle.com/forums/thread.jspa?threadID=1982528
http://forums.Oracle.com/forums/thread.jspa?threadID=2126409
http://forums.Oracle.com/forums/thread.jspa?threadID=2126802
Oracle layout power switch with SQLPLUS and ORADIM Windows...
http://forums.Oracle.com/forums/thread.jspa?threadID=1574872
http://forums.Oracle.com/forums/thread.jspa?threadID=2123572
http://forums.Oracle.com/forums/thread.jspa?threadID=2041227
http://forums.Oracle.com/forums/thread.jspa?threadID=2077085
http://forums.Oracle.com/forums/thread.jspa?threadID=2069660rukbat wrote:
PhHein says:
management of the Forum are working on a solution
to allow us to move/delete somewhere else.
In the meantime, we can only wait.Thank you for the activity report.
Now! I did some cleaning and have moved the most recent threads (this year) to the Oracle DB forums. Keep the reports here or in the thread of abuse in JP.
Phil
-
IMPDP import DataPump fails with error ORA-31626 ORA-6512 31637 ORA ORA-31632 ORA-31635
Hello
As he attempted an impdp, I get after the sequence of errors-
ORA-31626: there is no job
ORA-06512: at "SYS." DBMS_SYS_ERROR', line 79
ORA-06512: at "SYS." "KUPV$ FT", line 885
ORA-31637: failed to create the SYS_IMPORT_TABLE_01 work for user LSU
ORA-31632: table main "LSU. SYS_IMPORT_TABLE_01"not found, invalid or unreachable
ORA-31635: impossible to establish synchronization job resources
ORA-06512: at "SYS." DBMS_SYS_ERROR', line 79
ORA-06512: at "SYS." "KUPV$ FT_INT", line 1986
ORA-04063: package body 'SYS. DBMS_LOCK"contains errors
ORA-06508: PL/SQL: called program unit is not found: 'SYS. DBMS_LOCK.
Parameters passed to impdp are also lessImpdp sjm/xxxxxx@flman700 DIRECTORY = temp_dir DUMPFILE = dyman01_exp01.dmp, dyman01_exp02.dmp, dyman01_exp03.dmp, dyman01_exp04.dmp, dyman01_exp05.dmp, dyman01_exp06.dmp LOGFILE is one. JOURNAL OF THE TABLES = CST_ACTVT TABLE_EXISTS_ACTION = ADD
Any help on how to proceed to another. Cannot find jobs datapump hung in the target database.Version of data source and target - 10.2.0.3
Thank you
SeryHello
According to DBA_DEPENDENCIES (for 11.1 anyway) the dependencies of the table for DBMS_LOCK are DUAL and DBMS_LOCK_ALLOCATED - these two exist?
I suggest that you get a failure and the rerun catalog and the catproc.
See you soon,.
Rich
-
error when importing schema using datapump to level
Hi I have the ierrors following when importing a schema of prod to database dev... someone can help, thanks!
Impdp system DIRECTORY is DUMPFILE DATA_PUMP_DIR = abcdprod. DMP LOGFILE = abcdprod.log REMAP_SCHEMA = abcdprod:abcddev
ORA-39002: invalid operation
ORA-31694: main table 'SYSTEM '. "' SYS_IMPORT_FULL_01 ' failed to load/unload
ORA-31644: impossible position to block number 170452 in the dump file ' / ots/oracle/echo/wxyz/datapump/abcdprod.» DMPPL check the sizes of DMP file on source and target. Try copying the DMP file again, and then restart the import. If you receive the same error, most likely the source DMP file is damaged and you will need to perform again the expdp
HTH
Srini -
Hi gurus,
Oracle Version: 10.2.0.3
Operating system: Linux
Today that we had a problem when exporting datapump runs in the production server, the error is
Can someone help me please it is a serious problem and how to solve it.Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 9.126 GB Processing object type SCHEMA_EXPORT/USER Processing object type SCHEMA_EXPORT/SYSTEM_GRANT Processing object type SCHEMA_EXPORT/ROLE_GRANT Processing object type SCHEMA_EXPORT/DEFAULT_ROLE Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4869,1,...) ORA-06502: PL/SQL: numeric or value error: NULL index table key value ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130 ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_METADATA", line 5118 ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4868,1,...) ORA-06502: PL/SQL: numeric or value error: NULL index table key value ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130 ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_METADATA", line 5118 ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4867,1,...) ORA-06502: PL/SQL: numeric or value error: NULL index table key value ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130 ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_METADATA", line 5118 Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE Processing object type SCHEMA_EXPORT/TABLE/TABLE Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT Processing object type SCHEMA_EXPORT/TABLE/COMMENT Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE Processing object type SCHEMA_EXPORT/VIEW/VIEW Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4869,1,...) ORA-06502: PL/SQL: numeric or value error: NULL index table key value ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130 ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_METADATA", line 5118 ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4868,1,...) ORA-06502: PL/SQL: numeric or value error: NULL index table key value ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130 ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_METADATA", line 5118 ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.grant_exp(4867,1,...) ORA-06502: PL/SQL: numeric or value error: NULL index table key value ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 130 ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_METADATA", line 5118 . . exported "QFUNDAPAYPROD_JUN09"."ST_LO_TRANS" 213.3 MB 2017789 rows . . exported "QFUNDAPAYPROD_JUN09"."ST_EXTERNAL_LOG" 712.6 MB 14029747 rows . . exported "QFUNDAPAYPROD_JUN09"."ST_LO_MASTER" 198.1 MB 915035 rows . . exported "QFUNDAPAYPROD_JUN09"."ST_LO_APPORTIONS" 110.7 MB 3951926 rows
Thank you and best regards,
Kahina Prasad.SSIDDABATHUNI wrote:
Hi orawiss,Here is my order export
expdp username/password directory=dbdump dumpfile=D_JUN09_$DT.dmp exclude=statistics,grants,PROCOBJ logfile=D_JUN09_$DT.log job_name=QFU
But today morning alone i have added PROCOBJ prameter to exclude it.
Thank you best regards &,.
Kahina Prasad.SBug 4358907, as the MOS ID: ORA-39127 use datapump exp [451987.1 ID]
Try not to use the exclude option
-
EXPORT ERROR - excluding schema DATAPUMP
While taking a full export of database using expdp, I get the following error:
I thought to exclude the schema and tried different combinations asProcessing object type DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC Processing object type DATABASE_EXPORT/SCHEMA/TYPE/GRANT/OWNER_GRANT/OBJECT_GRANT ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [OBJECT_GRANT:"FLOWS_030000"] ORA-22813: operand value exceeds system limits ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95 ORA-06512: at "SYS.KUPW$WORKER", line 7709 ----- PL/SQL Call Stack ----- object line object handle number name 0x218454150 18051 package body SYS.KUPW$WORKER 0x218454150 7736 package body SYS.KUPW$WORKER 0x218454150 2712 package body SYS.KUPW$WORKER 0x218454150 8342 package body SYS.KUPW$WORKER 0x216f8fa80 1 anonymous block 0x217567e40 1501 package body SYS.DBMS_SQL 0x218454150 8201 package body SYS.KUPW$WORKER 0x218454150 1477 package body SYS.KUPW$WORKER 0x218457be0 2 anonymous block Job "SYSTEM"."SYS_EXPORT_FULL_12" stopped due to fatal error at 17:38:39
EXCLUDE = PATTERN: "= 'FLOWS_030000'", but it gives error like below
I made another attempt and did EXCLUDE = PATTERN: 'like "FLOWS_03000'" or EXCLUDE = PATTERN: 'like "FLOW %'", but it gives an errorLRM-00116: syntax error at 'SCHEMA:' following '='
Your advisor will be highly appreciated.ORA-39001: invalid argument value ORA-39071: Value for EXCLUDE is badly formed. ORA-00936: missing expression
What is the version?
Check this box
803813.1 - ORA - ORA-942 39126 Datapump export fails less 11 g
737618,1 - export Datapump fails with error ORA-39126 and ORA-22813 -
Hello
Oracle Release version: 10.2.0.3.0
Server: Linux
We get the following error when importing the datapump. Here we export the dump on the server even and then he was trying to import in the same server, we get the following error in our servers.yesterday also import datapump production works very well, but today, we get the error.
We tried to import on different servers too, but the same problem we face
ORA-39014: one or more workers have left prematurely.
ORA-39029: worker 1 with the process name "DW01' end prematurely
ORA-31672: process work DW01 died suddenly.
Please help me.
Published by: SIDDABATHUNI on June 1st, 2009 21:46Hello
When you have attached the work in the prompt before running continue_client.
can you issue the command status and check which object it was important during the crash.now run a new job with parameter exclude to exclude this one object.
Thank you.
-
Friends
DB: 11 GR 2
OS: Linux
After a few expertise help I use network_link for schema importation.
None standby available db
Trying to go down below in the correct order.
What I'm doing: (import the schema and split partition on the destination before you import the data, indexes, constraints)
1 import-1: import metadata_only
2 split the destination partition
3 import-2: import data_only
4 3-import: import indexes, constraint
#1 - #3 above completed without error, #4 fails with error below
Several errors:
==========
ORA-39083: Type what INDEX failed to create object error:
ORA-14024: number of LOCAL index partitions must be equal to that of the underlying table
ORA-39083: INDEX_STATISTICS object Type cannot be created with the error
ORA-20005: Statistics object are locked (statetype = ALL)
Use the Import/split commands:
====================
#1 import-1: import metadata_only
DIRECTORY = DATA_PUMP_REFRESH
LOGFILE = IMP1. JOURNAL
SCHEMAS = SCOTT
NETWORK_LINK = DBLINK. SCOTT
CONTENT = METADATA_ONLY
EXCLUDE = INDEX, CONSTRAINT
#2 Split partition of destination for five tables
Division part_2015 in monthly partition for 7 months
ALTER TABLE SCOTT. CUSTOMER
SPLIT PARTITON PART_2015
TO (TO_DATE('20150201','YYYYMMDD'))
EN)
PARTITION PART_2015_01 TABLESPACE SCOTT_MONTHLY,
PARTITION PART_2015 TABLESPACE SCOTT_MONTHLY)
/
....
above split was done for 7 months
#3 import-2: import data_only
DIRECTORY = DATA_PUMP_REFRESH
LOGFILE = IMP2. JOURNAL
SCHEMAS = SCOTT
NETWORK_LINK = DBLINK. SCOTT
CONTENT = DATA_ONLY
#4 import-3: index of import, forced
DIRECTORY = DATA_PUMP_REFRESH
LOGFILE = IMP3. JOURNAL
SCHEMAS = SCOTT
NETWORK_LINK = DBLINK. SCOTT
INCLUDE = INDEX, CONSTRAINT
CONTENT = ALL
It took almost seven hours.
Issues related to the:
========
1 exceeds approach is correct or I am missing something here?
2. any suggestions?
3. I did not update index index / global dividing partition, was this necessary?
4. somehow I think I need to exclude his stats to the import-3 and do separately but collecting stats for 300 GB take really long, is - it true to collect statistics separately to avoid his stats lock error?
5. given that it was only test I do not have the locked source schema, it will make a difference?
Appreciate any feedback comments, entries and experts
You did an export or you couldn't import the tables, indexes, and data. The dump file contains the DDL of the database of the source index. you have changed the definition of the table once you have imported the metadata that caused the DDL stored for indexes associated with make it invalid.
1. I expect that the overall index should be good, it's for the index create instructions that need to be re-written.
2. it would not be an easy task; as you will have to user_tab_partitions query to get the partition names and use them to generate index partition names. You should also do this in PL/SQL to browse the partition names to create the correct instructions for all indexes the. Of course, we invite you to give that a try.
3. I would not export statistics can be generated when the indexes are created. You shared partitions so the imported table stats no longer apply.
4. as stated above, I would exclude statistical entirely for export.
5. I would like to ensure that the partitions of split have current statistics. Create the index will create fresh statistics on those automatically.
David Fitzjarrell
-
Import complete with grid (datapump) error ora-39083 control
11.1.0.7 export to any 11.2.0.1 with grid control gives the following error in the import log:
Treatment of type of object DATABASE_EXPORT, SYSTEM_PROCOBJACT, PRE_SYSTEM_ACTIONS, PROCACT_SYSTEM
ORA-39083: Type as procact_system cannot be created with the object error:
ORA-20000: Incompatible Version of the Workspace Manager installed
Because sql is:
BEGIN
declare the worm varchar2 (100); entire dummy; vdummy varchar2 (30); compile_exception EXCEPTION; PRAGMA E
XCEPTION_INIT (compile_exception,-06550); invalid_table EXCEPTION; PRAGMA EXCEPTION_INIT(invalid_table,-00942); createErrorProc procedure is immediately start run "create or replace function system.wm$ _check_install return boolean is begin to return true"
Treatment of type of object DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
ORA-39083: Type THAT PROCOBJ cannot be created with the object error:
ORA-29357: AUTO_TASK_CONSUMER_GROUP object already exists
Because sql is:
BEGIN
dbms_resource_manager.create_consumer_group ('AUTO_TASK_CONSUMER_GROUP', 'Group consumer system operational maintenance','R)
ROUND - ROBINe); COMMIT; END;ORA-29357: AUTO_TASK_CONSUMER_GROUP object already exists
So what can we do for you?
-
Export of DataPump API - number of rows exported using
Hello
I'm working on the procedure to export data in the table before deleting the partition. It will be run by the Scheduler of the data, that's why I want to run the datapump job using the API.
I wonder, if it is possible to get the number of rows exported. I would compare with the number of rows in a partition before you delete the partition.
Thank you
Krystian
Hello
Don't know exactly how you want the number of rows per partition that have been exported, but here are a few ideas:
1. create a log file by using 'add_file ':
-Add a log file
dbms_datapump.add_file (h, ' DEPTJOB.log ', a', NULL,)
dbms_datapump.Ku$ _file_type_log_file);
It is also in my example included below. Here is the content after the DEPTJOB.log workload (situated in Oracle Directory object would be "in my example):
$ cat /tmp/DEPTJOB.log
Departure 'SCOTT '. "" DEPTJOB ":
Object type TABLE_EXPORT/TABLE/TABLE processing
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . "exported"SCOTT" DEPT': 'SYS_P1581' 5,929 KB 2 lines
. . "exported"SCOTT" DEPT': 'SYS_P1582' 5,914 KB 1 lines
. . "exported"SCOTT" DEPT': 'SYS_P1583' 5,906 KB 1 lines
Table main 'SCOTT '. "' DEPTJOB ' properly load/unloaded
******************************************************************************
Empty the files together for SCOTT. DEPTJOB is:
/tmp/Dept.dmp
Job 'SCOTT '. "" DEPTJOB "managed to 00:00
You can then review or extract the information from the log file.
2. save the master table and the query for the busy lines.
Use the parameter "KEEP_MASTER":
-Keep the main table to be deleted after employment ends
dbms_datapump.set_parameter(h,'KEEP_MASTER',1);
Here's my example, the request to the main table is at the end.
$ sqlplus scott/tiger @deptapi
SQL * more: version 12.2.0.0.2 Beta on Fri Jan 22 12:55:52 2016
Copyright (c) 1982, 2015, Oracle. All rights reserved.
Last successful login time: Friday, January 22, 2016 12:55:05-08:00
Connected to:
Database Oracle 12 c Enterprise Edition Release 12.2.0.0.2 - 64-bit Beta
With the options of partitioning, OLAP, advanced analytics and Real Application Testing
Connected.
SQL > SET FEEDBACK 1
SQL > SET 10 NUMLARGEUR
SQL > SET LINESIZE 2000
SQL > SET TRIMSPOOL ON
SQL > SET TAB OFF
SQL > SET PAGESIZE 100
SQL > SET SERVEROUTPUT ON
SQL >
SQL > Rem save on the old table of scott.dept
SQL > dept and rename it dept_old.
Renamed table.
SQL >
SQL > Rem re-create it with partitions
SQL > CREATE TABLE dept (deptno NUMBER varchar (14) dname, loc varchar (13)) PARTITION INTO 3 PARTITIONS HASH (deptno)
2.
Table created.
SQL >
SQL > Rem fill the dept table
SQL > insert into dept select * from dept_old;
4 lines were created.
SQL >
SQL > Rem now create datapump job export SCOTT. DEPT. using the API
SQL > DECLARE
2: NUMBER; -Handle Datapump
3 jobState VARCHAR2 (30); -To keep track of job status
4 ind NUMBER; -Index of the loop
5 the ku$ _LogEntry; -For error messages and work in PROGRESS
6 js ku$ _JobStatus; -The State of the work of get_status
7 jd ku$ _JobDesc; -The get_status job description
8 m ku$ _Status; -The status returned by get_status object
9 sql_stmt VARCHAR2 (1024);
nom_partition 10-VARCHAR2 (50);
11 rows_completed NUMBER;
12
BEGIN 13
14-
15 run the Installer based on the operation to perform.
16-
17 h: = dbms_datapump.open ('EXPORT', 'TABLE', NULL, 'DEPTJOB', NULL);
18 dbms_datapump.add_file (h, 'dept.dmp', 'd', NULL,
dbms_datapump.Ku$ _file_type_dump_file 19, 1);
20
21 --- Add a logfile
22 dbms_datapump.add_file (h, ' DEPTJOB.log ', a', NULL,)
23 dbms_datapump.ku$ _file_type_log_file);
24
25 dbms_datapump.metadata_filter (h, 'SCHEMA_EXPR', ' IN ("SCOTT") ");
26 dbms_datapump.metadata_filter (h, 'NAME_LIST', "'DEPT"');
27
28
29-
30 start work.
31-
32 dbms_datapump.set_parameter (h, 'SILENT', 'banner');
33
34 -keep the main table to be deleted after employment ends
35 dbms_datapump.set_parameter(h,'KEEP_MASTER',1);
36
37 dbms_datapump.start_job (h);
38
39-
40 - run to grabbing the output of the job and write in the output log.
41-
42 jobState: = "UNDEFINED";
43 WHILE (jobState! = "COMPLETED") AND (jobState! = "STOPPED")
44 LOOP
45 dbms_datapump.get_status (h,
dbms_datapump.Ku$ _status_job_error 46.
dbms_datapump.Ku$ _status_wip 47, -1, jobState, m);
48
49 --
50. If we received messages WIP or error for the work, display them.
51 --
52 IF (BITAND(sts.mask,dbms_datapump.ku$_status_wip)! = 0)
53 THEN
54: = sts.wip;
55 ON THE OTHER
56 IF (bitand(sts.mask,dbms_datapump.ku$_status_job_error)! = 0)
57 THEN
58: = sts.error;
59 ON THE OTHER
the 60: = NULL;
61 END IF;
62 END IF;
63
64 the IS NOT NULL IF
65 THEN
66 ind: = the. FIRST;
67 then AS ind IS NOT NULL
68 LOOP
69 dbms_output.put_line ((ind). LogText);
70 ind: = the. Next (IND);
LOOP END 71;
72 END IF;
73 END LOOP;
74
75-
76 - release work.
77-
78 dbms_datapump.detach (h);
79
80-
81. all exceptions that spread at this point will be captured.
82 - the details are extracted from get_status and displayed.
83-
EXCEPTION OF 84
85, SO THAN OTHERS THEN
BEGIN 86
87 dbms_datapump.get_status (h,
dbms_datapump.Ku$ _status_job_error, 0-88,.
89 jobState, sts);
90 IF (BITAND(sts.mask,dbms_datapump.ku$_status_job_error)! = 0)
91 THEN
the 92: = sts.error;
93 the IS NOT NULL IF
94 THEN
95 ind: = the. FIRST;
96 although ind IS NOT NULL
LOOP OF 97
98 dbms_output.put_line ((ind). LogText);
99 ind: = the. Next (IND);
100 END LOOP;
101 END IF;
102 END IF;
103
BEGIN 104
105 DBMS_DATAPUMP. STOP_JOB (m, 1, 0, 0);
EXCEPTION OF 106
107. WHEN OTHER NULL THEN;
END 108;
109
110 EXCEPTION
111, SO THAN OTHERS THEN
112 dbms_output.put_line ('ORA-00000: an unexpected exception during ' |)
113 ' Manager of exceptions. ' ||
114 ' sqlcode = ' | TO_CHAR (SQLCODE));
END 115;
END 116;
117.
Departure 'SCOTT '. "" DEPTJOB ":
Object type TABLE_EXPORT/TABLE/TABLE processing
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . "exported"SCOTT" DEPT': 'SYS_P1581' 5,929 KB 2 lines
. . "exported"SCOTT" DEPT': 'SYS_P1582' 5,914 KB 1 lines
. . "exported"SCOTT" DEPT': 'SYS_P1583' 5,906 KB 1 lines
Table main 'SCOTT '. "' DEPTJOB ' properly load/unloaded
******************************************************************************
Empty the files together for SCOTT. DEPTJOB is:
/tmp/Dept.dmp
Job 'SCOTT '. "" DEPTJOB "managed to 00:00
PL/SQL procedure successfully completed.
SQL >
SQL > table main query Rem for number of lines completed
SQL > column nom_partition format a10
SQL > format 9999 column lines
SQL > SELECT nom_partition, COMPLETED_ROWS FROM SCOTT . DEPTJOB WHERE BASE_OBJECT_NAME = "DEPT";
PARTITION_ COMPLETED_ROWS
---------- --------------
SYS_P1581 2
SYS_P1583 1
SYS_P1582 1
3 selected lines.
SQL >
SQL > "EXIT";
3. you might even extract information of the call from the command line:
$ sqlplus scott/tiger @deptapi.sql | grep 'exported ' | AWK ' {print "Table:" $4, 'charge' $7, $8} '
Table: 'SCOTT '. "" DEPT ":"SYS_P1581"loaded 2 rows
Table: 'SCOTT '. "' DEPT ': 'SYS_P1583' loaded 1 lines
Table: 'SCOTT '. "' DEPT ': 'SYS_P1582' loaded 1 lines
-
Hello
I'm trying to export a schema with 2 tables with the CLOB (XML file stored) data type. While the expdp am getting error below.
ORA-39097: Data Pump job encountered the error unexpected-12801
ORA-39065: exception unexpected master process in HAND
ORA-12801: error reported in the PZ99, instance XXXXXX parallel query server
ORA-01460: dead letter or unreasonable conversion requested
Job 'XXXXXXXX '. "" SYS_EXPORT_SCHEMA_01 "stopped because of the mistake at 03:46:32
already my parameter PARALLEL_DEGREE_POLICY value is MANUAL. Help, please
The error that you get a little weird, so if I were you, and if the error is reproducible, I would trace your datapump for more information. You could follow the datapump job Oracle sessions or add "trace = 1FF0300" to the command line expdp; This will create tracking in your folder of trace files. Search for 'trace = 1FF0300' to find out how it works.
-
Cannot export TEXT Index preferences via datapump
Hello
Source db 10.2.03
Source o/s: Win 2003
Target db: 12.2.0.1
O/s goal: win 2012
Please bear with me, since I am new to the Oracle TEXT and I do not have a background of developer side Oracle.
I took a datapump against my user on the source db schema and doesn't have a datapump imported on target db, and it does not create index on one of the table (received error DRG-10700), doing some research on Google and searching through Oracle metalink, I found that my table contains a search index of text for which certain preferences ctx that are present in the source never made to target db in order to solve the problem, I had to create these preferences manually on target db, so my question is does anyone know why datapump exported not ctx default preferences?
Here is a post that I found to be useful, which recommended to script the source db and recreate it on target db.
https://community.Oracle.com/thread/2152091?start=0
Is it reasonable to assume that datapump doesn't handle/export ctx preferences?
-Learner
This post may be useful - https://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:7469700400346057467
-
Impdp errors 39002-39070 - 29283-06512
Hello world
I am an intern and I never work on DB before. I tried a lot of time on the internet but I have not found a solution that works for the moment.
I am running Windows XP 32 bit, Oracle 11 g (11.2.0.1.0)
I'm actually trying to import schemas with datapump on my local DB .dmp file. My boss gives me a .dmp file from her computer and I put it in a folder (C:\datapump) on my computer.
I have already created "user" on my DB and a record "datapump" on my DB to.
I tried: impdp username/password SCHEMA schema_name DIRECTORY = datapump DUMPFILE = ext_file.dmp =
And I have this error:
ORA-39002: invalid operation
ORA-39070: unable to open the log file
ORA-29283: invalid file operation
ORA-06512: at "SYS." UTL_FILE", line 536
ORA-29283: invalid file operation
What stage have I missed? A I forgot something to do before the import?
I do not know if I give you all the information on my application so tell me if I forgot something.
Thanks and sorry if I made some mistakes in English!
Do something like this:
SQL > select * from dba_directories;
SQL > CREATE DIRECTORY dpump_dir1 AS "d:\". » ;
SQL > GRANT READ, WRITE ON DIRECTORY FOR system dpump_dir1;
SQL > select * from dba_directories;
Set DPUMP_DIR1 = DATA_PUMP_DIR
Set ORACLE_SID =
Impdp system /
^. METRICS = y ^
logfile = % ORACLE_SID %. Impdp.%tables%.%D ate:~10,4%%date:~7,2%%date:~4,2%.log ^
dumpfile = ext_file.dmp
Maybe you are looking for
-
Hello world! I now have a working windows xp sp3 with a product key I bought running. I want to perform a clean installation of windows xp that came with my computer - with the product key that is located on a sticker at the back of my laptop (my lap
-
Entered in the wrong the static IP address and now can't come back. suggestions?
Running Windows7 and try to set an IP address for printer HP 6700 wireless. It has been 192.168.2.108; I changed it to 192.186.2.250 (implementing the 8 & 6). So, I restarted the router. The HP update IP address utility found the new address, I "r
-
When I update for window xp sp3 and I lost my Korean language pack
When I switch to the window xp sp3 I lost the East Asian language pack as Korean and my computer can't read the xp cd to install. How can I get the East Asian language pack?
-
BlackBerry Smartphones No sound on my phone
My phone is only a few weeks old, but it won't play any sounds. When it rings, no noise. When I try to listen to music, no sound. I put the ringtone on Loud, but it won't play anything. I had played a few MP3 files before that happens but I don't
-
Image of Splash Screen 9 Android patch
HelloI was wondering if there is a way to use the 9 images of png fix like splash screens in the MAF?I tried to add 9 patch images via. the properties of application / deployment / android options / images of the application, but the images changed t