. . skipping table while import in 9i - oracle

When iam trying to import exp dump into 9i database its giving
imp ****/****#**** FULL=Y IGNORE=Y FILE=exp_****_4.dmp LOG=imp_****_4.log
export client uses WE8ISO8859P1 character set (possible charset conversion)
. importing SYSTEM's objects into ***
. importing OUTLN's objects into OUTLN
. importing PERFSTAT's objects into PERFSTAT
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist
IMP-00000: Import terminated unsuccessfully
And when i tried to look into dump with show=y option
imp ****/****#**** FULL=Y IGNORE=Y FILE=exp_****_4.dmp LOG=imp_****_4.log **SHOW=Y**
It has given me all the table and object list and scripts that dump is going to import but with . . skipping table
I not getting why this is happening..
There is no indication as to why these tables were skipped and there are many of them.
I was able to load data into same DB from other dumps.

SHOW=Y instructs IMP not to import anything (to skip the import and just show you on the screen what's in the import file).

Related

how to resolve thousand of errors in oracle import using impdp where I don't know the what parameters were used during expdp?

I am trying to import an oracle 11g dump file using impdp utility but while doing so, inter alia, I am facing two major errors:
First, It is showing the following error:
Processing object type DATABASE_EXPORT/TABLESPACE
ORA-39083: Object type TABLESPACE:"HIS_USER" failed to create with error:
ORA-01119: error in creating database file '/oracle/app/oracle/oradata/dwhrajdr1/his_user13.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
so to solve this, I have created the tablesapce with same name but now it is showing that 'HIS_USER' tablespace already exists.
Second, I am getting thousands of errors, where it is showing user or role does not exist:
Failing sql is:
GRANT EXECUTE ANY ASSEMBLY TO "DSS"
ORA-39083: Object type SYSTEM_GRANT failed to create with error:
ORA-01917: user or role 'DSS' does not exist
Please suggest how to solve these errors!
How can I import the dumpfile without making hundreds of users/roles or tablespaces?
you can generate sql statement using impdp the following way.
http://www.dba-oracle.com/t_convert_expdp_dmp_file_sql.htm
then adjust parameter accordingly.
scott

Tablespaces not created on oracle dump file import operation

I am trying to import a dump into Oracle 11g. I have run this command :
impdp david/coucou#Louis-PC directory=geismar file=EXPDP_TOP.dmp log=EXPDP_TOP.log full=y;
The import process is successfully launched but I get a lot of errors. Here's a subset of my logfile :
Import: Release 11.2.0.2.0 - Production on Dim. Juin 25 12:02:28 2017
Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
;;; Legacy Mode Active due to the following parameters:
;;; Legacy Mode Parameter: "file=EXPDP_TOP.dmp" Location: Command Line, Replaced with: "dumpfile=EXPDP_TOP.dmp"
;;; Legacy Mode Parameter: "log=EXPDP_TOP.log" Location: Command Line, Replaced with: "logfile=EXPDP_TOP.log"
Master table "DAVID"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "DAVID"."SYS_IMPORT_FULL_01": david/********#Louis-PC directory=geismar dumpfile=EXPDP_TOP.dmp logfile=EXPDP_TOP.log full=y;
Processing object type SCHEMA_EXPORT/USER
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'TOPADDIN' does not exist
Failing sql is:
CREATE USER "TOPADDIN" IDENTIFIED BY VALUES 'S:A86A3644C5EA64C9320A5C66457EE39C51888BBD1110001C5776E9D7A554;C4D29EC4F0EAB8DE' DEFAULT TABLESPACE "TOPADDIN" TEMPORARY TABLESPACE "TEMP"
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'TOPDBA' does not exist
Failing sql is:
CREATE USER "TOPDBA" IDENTIFIED BY VALUES 'S:29F9686B7D8B5861F84CA3D5720C6C8A8CFC8C7D01374D49D77DE152C234;F3A449A6B2BF4CD0' DEFAULT TABLESPACE "TOPDBA" TEMPORARY TABLESPACE "TEMP"
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'TOPERP' does not exist
Failing sql is:
CREATE USER "TOPERP" IDENTIFIED BY VALUES 'S:3EC63E08F86B4922FE5328678F5E5DDD7A23D6092D539C31492FC97F2FFB;B3B7BBDA73271B0C' DEFAULT TABLESPACE "TOPERP" TEMPORARY TABLESPACE "TEMP"
ORA-39083: Object type USER failed to create with error:
ORA-00959: tablespace 'TOPMAN_USERS' does not exist
It seems that the import does not include the tablespaces' definition and does not create tablespaces.
Shouldnt the option full=y also import tablespace definitions ?
What am I doing wrong ?
First you can do
impdp david/coucou#Louis-PC directory=geismar dumpfile=EXPDP_TOP.dmp SQLFILE=check.sql
to see exactly what DDL the import is going to run, by viewing check.sql.
Then test some parameters, for example:
INCLUDE=TABLESPACE:"IN ('TOPADDIN','TOPDBA')"
INCLUDE=SCHEMA:"IN ('TOPADDIN','TOPDBA')"
And possibly some remaps:
remap_schema=
remap_tablespace=

Oracle: Import existing table from dmp into new table

I was able to export the table using below command
exp usr1/user1#tes tables=table1 file=/myfoler/export/parties.dmp log=/myfoler/export/parties.log statistics=none direct=y
But when I am trying to import the dmp file into new table it is failing
imp usr1/user1#tes file=/myfoler/export/parties.dmp buffer=131072 commit=y log=/myfoler/export/parties_imp.log feedback=1000 ignore=Y tables=export_test
I am getting below error while doing so
IMP-00033: Warning: Table "EXPORT_TEST" not found in export file
Can someone help me understand where I am going wrong? I want to import the dump into new table which is already created.
you need to use the REMAP_TABLE option
REMAP_TABLE=[schema.]old_tablename[.partition]:new_tablename

Error while importing an Oracle 9 dump in Oracle 11g

I need to import an Oracle9i Release 9.2.0.6.0 dump in an Oracle 11g.
Using the import command I have a ton of erros like this:
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
IMP-00003: ORACLE error 6550 encountered
Th command I use is:
imp system/<passwor>#<SID> file=export_20160209.dmp fromuser=USER1 touser=USER1 log=file_log_10022016.log
How else can I make the import I need?
You need to grant permission to user as:
GRANT EXECUTE ON SYS.DBMS_DEFER_IMPORT_INTERNAL TO <user>;
GRANT EXECUTE ON SYS.DBMS_EXPORT_EXTENSION TO <user>;
Nothing worked, so I asked for a new dump without the table where the import stopped.

import sequence from dump file in oracle

I am trying to import a sequence from a dump file using the command since I am using Windows:
impdp hr DIRECTORY=user_exp DUMPFILE=morder.dmp include=sequence:\"= 'EMPLOYEES'\"
However,it gave me error:
UDI-000257: operation generated Oracle error 257
ORA-00257 archiver error,connect internal only when freed
Need some guidance here please

Resources