Imp ignores NLS_LENGTH_SEMANTIC
Hi all,
I am trying to convert my database (already in AL32UTF8) from byte to char semantics:
1. exp full=y
2. alter system set NLS_LENGTH_SEMANTIC=CHAR scope=both; restart of DB
3. imp show=y shows me the create statements like "create table t1(name varchar2(10));" (no explicit CHAR nor BYTE)
Manually pasting this statement in sqlplus gives me a table with CHAR semantics (as expected). Yet, the import with imp creates the tables with byte semantics ignoring the NLS_LENGTH_SEMANTIC=CHAR.
Now given that I have a few hundred tables to convert, I do not want to do the manual pasting thing. What am I missing? I have searched the net and the docs but cannot find what I am doing wrong. What is the suggested way of modifying the length semantics of existing columns (except for alter table modify... for each table)?
Thanks a lot for your help, Chris
I guess you try to import an Oracle8i or older import file. The Import utility will implicitly set NLS_LENGTH_SEMANTICS to BYTE when importing pre-9i files.
The Import utility is explicitly designed to preserve the original length semantics of the exported tables. It is not designed to be used as length semantics migration utility.
You can try the INDEXFILE option of the Import utility to get a SQL script. You will have to do some postprocessing to remove comments for CREATE TABLE statements.
-- Sergiusz
Similar Messages
-
I am running SuSE 7.0 with OracleEE 8.1.7. Everything works fine except for IMP/EXP. IMP/EXP both igore any command line agruments forcing me to go to interactive mode. Has anyone experienced this?
any argument (including name/password) used is ignored. It is only a problem with Linux. my parfile works fine on AIX.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by OlegI:
What arguments are ignored? If you are about AS SYSDBA, use '\sys/oracle as sysdba\'
Recently it was a bug and it is a feature now.<HR></BLOCKQUOTE>
null -
Hi Friends,
I have a table A with 10 rows. And I have to do an import (imp) where the dump contains table A with 20 rows.
I start import on the existing table A (10 rows) with the dump containing table A with 20 rows. I use ignore =y.
What happens to the import?
This may be a simple question....
Thanks
KSGKSG wrote:
rjamya: This is not a chat forum to express humours.. OK.. Follow Etiquette while respondingYou seem to have time to answer every post, but no time to experiment yourself? best way to learn is to do it first, then ask questions, at-least that i how i learned. I am sure you will get lot of help. I just find it odd that folks ask questions without attempting. a 20 row import should have taken less than 5 seconds to test.
Good luck. -
Hi,
in 8.1.7 I want importe a table then I have this error :
import done in WE8DEC character set and WE8DEC NCHAR character set^C
IMP-00017: following statement failed with ORACLE error 1012:
"CREATE TABLE "TRAILOCC" ("TO_REF" NUMBER(12, 0), "TO_ENTITY" CHAR(40), "TO_"
"DATE" DATE, "TO_TIME" DATE, "TO_OCC" LONG) PCTFREE 10 PCTUSED 40 INITRANS "
"1 MAXTRANS 255 NOLOGGING STORAGE(INITIAL 723025920 FREELISTS 1 FREELIST GRO"
"UPS 1) TABLESPACE "PROD_DATA""
Can I then create this table TRAILOCC with INITIAL 223025920 and then importe the table ?
What should I add in imp command to importe just data since table is already created ?
Many thankshi
cmd> imp ignore=y
hope this helps
Tajcheck the prod_data tablespace has enough space -
Export and import of an table data
Hi All,
I have a situation where i need to append/import the production table ( X ) data to test table ( X ) which has some data already in it and should not be lost during the operation. The record count is around 6 million .
Any expert suggestion or tips with export and import command is highly appriciable.
Thanks in advance .if you are using
IMPDP --- use table_exist_action=append
IMP -- ignore=y
Lets say
impdp username/pwd directory=<directory_name> dumpfile=<dumpfile_name> tables=X table_exist_action=APPEND.
This will append the data to existing table -
Delete with extent returning to the tablespace
When I delete all the rows from the table I can use:
'truncate table mytable drop storage'
and the extents are returned to the tablespace that table resides in.
Is something like this possible with the delete statement? If not - or if I just didn't use it - when the delete makes many extents empty, does Oracle automatically reclaim them?
Thx.>>
when the delete makes many extents empty, does Oracle automatically reclaim them?
<<
Inserts into the table can and will refill the empty blocks given enough activity and over time but even if every block in an extent is empty Oracle does not release the extent back to the tablespace as freespace at least through 10g.
If you need to release the extents to the tablepsace for reuse due to space requirements then you would need to reorganize the table and its indexes. The alter table move statement can be used if enough free space exists in the tablespace to support the operation or exp/truncate/imp ignore=y can be used.
The question is how much space would be freed? How badly do you need it for other objects? And how long before the table would need to re-extend if you take the space away (or how long before the table would reuse the extents)?
You do not want to perform reorganizations just to do them. There needs to be a real benefit to yourself or your application from the work.
HTH -- Mark D Powell -- -
Query to find the the sql statements
Hi,
Oracle Version: 10.2.0.3
Can any one please help me how to find which sql statements generate the error "OPEN CURSORS EXCEED ".
Thanks & Regards,
Poorna Prasad.S1) export the table, drop the table, create the table definition in the new
tablespace, and then import the data (imp ignore=y).
2) Create a new table in the new tablespace with the "CREATE TABLE x AS
SELECT * from y" command:
CREATE TABLE temp_name TABLESPACE new_tablespace AS SELECT * FROM real_table;
Then drop the original table and rename the temporary table as the original:
DROP TABLE real_table;
RENAME temp_name TO real_table;
3) Use the one mentioned in previous reply.
After #1 or #2 is done, be sure to recompile any procedures that may have been
invalidated by dropping the table. -
i export the full database as a dump file in one location after that i tried to import to another database.
my doubt is if i import the database ....the existing database is having datadictionary ,v$views etc..
so wont it clash with the existing systemtables
When i import my database i got the followin error
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by SYSTEM, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','SYS',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','DBA',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','IMP_FULL_DATABASE',FALS"
"E);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','AQ_ADMINISTRATOR_ROLE',"
"TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','OEM_MONITOR',FALSE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','SYS',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','DBA',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','AQ_ADMINISTRATOR_ROLE'"
",TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','SYS',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','DBA',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','AQ_ADMINISTRATOR_ROLE'"
",TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "REPCAT$_OBJECT_NULL_VECTOR" TIMESTAMP '2005-08-30:14:05:35' OI"
"D '296EAC6057114D26B123A36D2679C516' AS OBJECT"
" -- type owner, name, hashcode for the type represented by null_vector"
" type_owner VARCHAR2(30),"
" type_name VARCHAR2(30),"
" type_hashcode RAW(17),"
" -- null_vector for a particular object instance"
" -- ROBJ REVISIT: should only contain the null image, and not version#"
" null_vector RAW(2000)"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"sys.dbms_logrep_imp.instantiate_schema(schema_name=>NULL, export_db_name=>'"
"ORCLBK.REGRESS.RDBMS.DEV.US.ORACLE.COM', inst_scn=>'820250');sys.dbms_logre"
"p_imp.bump_scn(scn=>'820250');"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 274
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_REPCAT_MIG.PRE_IMPORT;"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_REPCAT_MIG_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT_MIG_INTERNAL"
ORA-06512: at "SYS.DBMS_REPCAT_MIG", line 116
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(2104,dbms_server_alert.operator_GT,'1200',d"
"bms_server_alert.operator_NONE,'',1,3,'orclbk',dbms_server_alert.object_typ"
"e_SYSTEM,'');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 93:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(2018,dbms_server_alert.operator_GE,'100',db"
"ms_server_alert.operator_NONE,'',1,2,'orclbk',dbms_server_alert.object_type"
"_SYSTEM,'');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 92:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Administrative');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Application');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Concurrency');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Configuration');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Network');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Other');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Cluster');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Commit');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Administrative');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Application');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Concurrency');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Configuration');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Network');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Other');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'50',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Cluster');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'50',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Commit');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 29371:
"BEGIN "
"dbms_resource_manager.set_consumer_group_mapping_pri(1,7,6,9,8,10,5,4,3,2);"
"dbms_resource_manager.set_consumer_group_mapping('ORACLE_USER','SYSTEM','SY"
"S_GROUP');"
"dbms_resource_manager.set_consumer_group_mapping('ORACLE_USER','SYS','SYS_G"
"ROUP');"
"dbms_resource_manager.submit_pending_area;"
"COMMIT; END;"
IMP-00003: ORACLE error 29371 encountered
ORA-29371: pending area is not active
ORA-06512: at "SYS.DBMS_RMIN", line 332
ORA-06512: at "SYS.DBMS_RESOURCE_MANAGER", line 413
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','"
"CURRENT_SCHEMA'), export_db_name=>'ORCLBK.REGRESS.RDBMS.DEV.US.ORACLE.COM',"
" inst_scn=>'820288');"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 274
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_AQCALL" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_AQERROR" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_CALLDEST" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_DEFAULTDEST" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_DESTINATION" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_ERROR" 0 rows imported
. . importing table "DEF$_LOB" 0 rows imported
. . importing table "DEF$_ORIGIN" 0 rows imported
. . importing table "DEF$_PROPAGATOR" 0 rows imported
. . importing table "DEF$_PUSHED_TRANSACTIONS" 0 rows imported
. . importing table "DEF$_TEMP$LOB" 0 rows imported
. . importing table "DEPT" 0 rows imported
. . importing table "DEPT1" 0 rows imported
. . importing table "EMP" 0 rows imported
. . importing table "EMP1" 0 rows imported
. . importing table "LOGSTDBY$APPLY_MILESTONE" 0 rows imported
. . importing partition "LOGSTDBY$APPLY_PROGRESS":"P0" 0 rows imported
. . importing table "LOGSTDBY$EVENTS" 0 rows imported
. . importing table "LOGSTDBY$HISTORY" 0 rows imported
. . importing table "LOGSTDBY$PARAMETERS" 0 rows imported
. . importing table "LOGSTDBY$PLSQL" 0 rows imported
. . importing table "LOGSTDBY$SCN" 0 rows imported
. . importing table "LOGSTDBY$SKIP" 0 rows imported
. . importing table "LOGSTDBY$SKIP_TRANSACTION" 0 rows imported
. . importing table "MVIEW$_ADV_INDEX" 0 rows imported
. . importing table "MVIEW$_ADV_PARTITION" 0 rows imported
. . importing table "REPCAT$_AUDIT_ATTRIBUTE" 2 rows imported
. . importing table "REPCAT$_AUDIT_COLUMN" 0 rows imported
. . importing table "REPCAT$_COLUMN_GROUP" 0 rows imported
. . importing table "REPCAT$_CONFLICT" 0 rows imported
. . importing table "REPCAT$_DDL" 0 rows imported
. . importing table "REPCAT$_EXCEPTIONS" 0 rows imported
. . importing table "REPCAT$_EXTENSION" 0 rows imported
. . importing table "REPCAT$_FLAVORS" 0 rows imported
. . importing table "REPCAT$_FLAVOR_OBJECTS" 0 rows imported
. . importing table "REPCAT$_GENERATED" 0 rows imported
. . importing table "REPCAT$_GROUPED_COLUMN" 0 rows imported
. . importing table "REPCAT$_INSTANTIATION_DDL" 0 rows imported
. . importing table "REPCAT$_KEY_COLUMNS" 0 rows imported
. . importing table "REPCAT$_OBJECT_PARMS" 0 rows imported
. . importing table "REPCAT$_OBJECT_TYPES" 28 rows imported
. . importing table "REPCAT$_PARAMETER_COLUMN" 0 rows imported
. . importing table "REPCAT$_PRIORITY" 0 rows imported
. . importing table "REPCAT$_PRIORITY_GROUP" 0 rows imported
. . importing table "REPCAT$_REFRESH_TEMPLATES" 0 rows imported
. . importing table "REPCAT$_REPCAT" 0 rows imported
. . importing table "REPCAT$_REPCATLOG" 0 rows imported
. . importing table "REPCAT$_REPCOLUMN" 0 rows imported
. . importing table "REPCAT$_REPGROUP_PRIVS" 0 rows imported
. . importing table "REPCAT$_REPOBJECT" 0 rows imported
. . importing table "REPCAT$_REPPROP" 0 rows imported
. . importing table "REPCAT$_REPSCHEMA" 0 rows imported
. . importing table "REPCAT$_RESOLUTION" 0 rows imported
. . importing table "REPCAT$_RESOLUTION_METHOD" 19 rows imported
. . importing table "REPCAT$_RESOLUTION_STATISTICS" 0 rows imported
. . importing table "REPCAT$_RESOL_STATS_CONTROL" 0 rows imported
. . importing table "REPCAT$_RUNTIME_PARMS" 0 rows imported
. . importing table "REPCAT$_SITES_NEW" 0 rows imported
. . importing table "REPCAT$_SITE_OBJECTS" 0 rows imported
. . importing table "REPCAT$_SNAPGROUP" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_OBJECTS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_PARMS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_REFGROUPS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_SITES" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_STATUS" 3 rows imported
. . importing table "REPCAT$_TEMPLATE_TARGETS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_TYPES" 2 rows imported
. . importing table "REPCAT$_USER_AUTHORIZATIONS" 0 rows imported
. . importing table "REPCAT$_USER_PARM_VALUES" 0 rows imported
. . importing table "SQLPLUS_PRODUCT_PROFILE" 0 rows imported
IMP-00041: Warning: object created with compilation warnings
"CREATE FORCE VIEW "ORCLBKP2"."MVIEW_EVALUATIONS" ("R"
"UNID","MVIEW_OWNER","MVIEW_NAME","RANK","STORAGE_IN_BYTES","FREQUENCY","CUM"
"ULATIVE_BENEFIT","BENEFIT_TO_COST_RATIO") AS "
"select"
" t1.runid# as runid,"
" summary_owner AS mview_owner,"
" summary_name AS mview_name,"
" rank# as rank,"
" storage_in_bytes,"
" frequency,"
" cumulative_benefit,"
" benefit_to_cost_ratio"
"from SYSTEM.MVIEW$_ADV_OUTPUT t1, SYSTEM.MVIEW$_ADV_LOG t2, ALL_USERS u"
"where"
" t1.runid# = t2.runid# and"
" u.username = t2.uname and"
" u.user_id = userenv('SCHEMAID') and"
" t1.output_type = 1"
"order by t1.rank#"
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_TABLE_DEFN_UPDATE('SYSTEM','DEF$_AQC"
"ALL',2,16384,2,0,0,'', '-07:00'); END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_TABLE_DEFN_UPDATE('SYSTEM','DEF$_AQE"
"RROR',2,16384,2,0,0,'', '-07:00'); END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_DEFN_UPDATE(HEXTORAW('388C27256DB141"
"49A4087915FDBE8A95'),'SYSTEM','DEF$_AQERROR','DEF$_AQERROR',0,5,0,1,0,'Erro"
"r Queue for Deferred RPCs'); END;"
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_DEFN_UPDATE(HEXTORAW('E5BCDC95348B40"
"C68F1295D72049BBAA'),'SYSTEM','DEF$_AQERROR','AQ$_DEF$_AQERROR_E',1,0,0,0,0"
",'exception queue'); END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_REPCAT.REPCAT_IMPORT_REPSCHEMA; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_REPCAT" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQ_IMP_INTERNAL.CLEANUP_SCHEMA_IMPORT;"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_SYS_IMP_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_SYS_IMP_INTERNAL"
ORA-06512: at "SYS.DBMS_AQ_IMP_INTERNAL", line 191
ORA-06512: at line 2
Import terminated successfully with warnings.Hello,
Do not drop "SYSTEM" or import anything in system.
What you need to do it, make sure your "targetschemaname" exists, if you are looking to import everyting then you should using RMAN.
What was you export command ?
exp system/password owner=sourceschemaname file=orclexp.dmp log=orclexp.log
imp system/password fromuser=sourceschemaname touser=targetschemaname file=orclexp.dmp log=orclimplog.log ignore=y Regards -
IMP-00067 Error while trying to import demo mapviewer dump files
Getting IMP-00067 Error while trying to import demo dump files
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>imp mvdemo/mvdemo file=C:\oracl
exe\app\oracle\admin\XE\dpdump\usstates.dmp full=y ignore=y
Import: Release 10.2.0.1.0 - Production on Sun Mar 21 19:25:44 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productio
n
Export file created by EXPORT:V10.02.00 via conventional path
Warning: the objects were exported by SCOTT, not by you
import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses US7ASCII character set (possible charset conversion)
IMP-00067: Could not convert to server character set's handle
IMP-00000: Import terminated unsuccessfully
Regards
ThomasHave you resolve this? I am running in to same error.
-
What are the things to check after full imp in 10g?
Dear all,
Source
=======
OS server ==> HP-UX
Oracle version ==> Oracle 9.2.0.8
DB Name ==> MSST
DB total users ==> 320
Full export in ==> /u02/export/Jan09.dmp
Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
Destination
============
OS server ==> HP-UX
DB Name ==> CHDB
Existg DB users ==> 20
Oracle version ==> Oracle 10.2.0.4
copied 9i dump file in ==> /u03/export
Tablespaces created same as Oracle 9i i.e;
Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
I had run full import on Destination server i.e; Oracle 10g & following is the command i used:
imp system/pwd@conn_string file=/u03/export/Jan09.dmp log=/u03/export/Jan09_imp.log full=y ignore=y statistics=none
Imported successfully with few errors like
Now my question is
===================
How to check everything is same/similar like Oracle 9i database ( source ), for example ( i used this technique ):
What are the things to check after full imp in 10g?
MSST_DB>SHOW USER
MSST_DB>SA
MSST_DB>select object_type, count(*) from user_objects group by objects;
OBJECT_TYPE COUNT(*)
DATABASE LINK 2
FUNCTION 23
INDEX 1795
LOB 6
PACKAGE 8
PACKAGE BODY 8
PROCEDURE 30
SEQUENCE 67
SYNONYM 60
TABLE 644
TRIGGER 3
VIEW 20
CHDB_DB>SHOW USER
CHDB_DB>SA
CHDB_DB>select object_type, count(*) from user_objects group by objects;
OBJECT_TYPE COUNT(*)
INDEX 1794
PROCEDURE 30
TABLE 644
TRIGGER 3
VIEW 20
FUNCTION 23
SYNONYM 60
PACKAGE BODY 8
SEQUENCE 67
PACKAGE 8
LOB 6What are the things to check after full imp in 10g?Only public database links which are in use by your these users which you export/import (Only if you did user level export/import and not DB level).
If you log files does not show error during creation of any object, you don't need to double check any thing. Otherwise do on with the method which you mentioned by counting the objects.
Or you can create a database link from source to destination and use a query with MINUS to find out if there is any object missing
select object_name,object_type from user_objects
MINUS
select object_name,object_type from user_objects@destination_database;Salman -
When i try to import the databse to test server it is taking lot of time,around even after 2 hr..imp is not starting can anybody suggest me the same...
{\code\}
F:\Documents and Settings\deepali>imp system/deepali file=G:\16-08-08\fullsunsun
day1.DMP,G:\16-08-08\fullsunsunday2.DMP,G:\16-08-08\fullsunsunday3.DMP,G:\16-08-
08\fullsunsunday4.DMP,G:\16-08-08\fullsunsunday5.DMP,G:\16-08-08\fullsunsunday6.
DMP,G:\16-08-08\fullsunsunday7.DMP,G:\16-08-08\fullsunsunday8.DMP log=G:\16-08-0
8\fullimp.log fromuser=cadata3 touser=cadata3 ignore=y filesize= 3145728000 CONS
TRAINTS=Y
Import: Release 9.2.0.4.0 - Production on Wed Oct 15 13:42:16 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
Export file created by EXPORT:V09.02.00 via direct path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing CADATA3's objects into CADATA3
{\code\}
Edited by: user00726 on Oct 15, 2008 1:21 AMas such my primary server version is oracle 9.2.0.6 and test server version is oracle 9.2.0.4, so is it true that exp is taken from the higher version to lower version so it is taking lot of time...
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for Solaris: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
SQL> -
ORA-01435: user does not exist when using imp utility
I installed Oracle 8.1.7.0.0 successfully on WINDOWS 2000 and created a database TEST using DBCA. Then I used a script to creat a tablespace and a user in TEST databse. I could use the imp utility to import the data (a dmp file) to the TEST database without any problem. But after I applied a patch to bring up the version to Oracle 8.1.7.4.1, I got the following error when I tried to use the imp utility again to import the data (a dmp file) to the TEST database.
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist
IMP-00000: Import terminated unsuccessfully
I checked that I created the same user test (as it is in dmp file I wanted to import) on TEST, and I could login to TEST using:
sqlplus test/test@TEST
The command I used is:
imp system/password@TEST file=test.dmp full=y log=importTEST.TEST.tmp
I also tried to use the following command:
imp system/password@TEST file=test.dmp fromuser=test touser=test log=importTEST.TEST.tmp
and got the same error as before.
Anyone has any clues what could go wrong? The only difference for me to import the data on TEST is that the
previous successful import was done in Oracle 8.1.7.0.0.
Is it possible that I missed something during the applying of the patch 8.1.7.4.1?
Thanks, and your help is greatly appreciated.
JaneTher is a set of instruction to be followed after installing the patch set 8.1.7.4.1 after running it thru OUI.They are as follows. Please complete these steps and u should not have problems any more.
When applying this patchset on Windows NT and Windows 2000, you must log onto the system as a user with Administrative privileges (e.g., as a user which is a member of the local Administrators group).
1.Disabling system triggers.
Before performing the next step, you must first set SYSTEMTRIG_ENABLED = FALSE in the initialization parameter file. To do this add the following line to your init<sid>.ora file and restart the database (see Note 149948.1 in Metalink for more information on this issue).
systemtrig_enabled=false
2.Invoke SQL*Plus (sqlplus), connect as internal and run the following:
select * from duc$ where PACK='JIS$INTERCEPTOR$' ;
If no rows were returned go to the next step. If a row was returned delete it using the following:
delete from duc$ where PACK='JIS$INTERCEPTOR$' ;
commit;
3.Invoke SQL*Plus (sqlplus), connect as internal and run the following SQL scripts with event 10520 set. NOTE: This event is not intended for regular database operation and when turned on below by the 'ALTER SESSION' command will automatically be turned off by the subsequent 'CONNECT' command.
ALTER SESSION SET EVENTS '10520 TRACE NAME CONTEXT FOREVER, LEVEL 10';
?/rdbms/admin/catalog.sql
?/rdbms/admin/catproc.sql
?/rdbms/admin/catrep.sql (This only needs to be run if you are using symmetric/advanced replication. This is not necessary for sites using dblinks and read-only snapshots if symmetric/advanced replication is not installed)
CONNECT / AS SYSDBA;
update obj$ set status=5 where type#=29 and owner#!=0;
commit;
4.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install.
If Java has previously been loaded into the database, invoke SQL*Plus (sqlplus), connect as internal and run the following SQL DDL command(* Note:If Java has not previously been loaded into the database, skip this step).:
SQL> create or replace java system
2 /
(Note that the / (slash) is important to ensure the execution of the command).
To ensure the correct installation of the XDK in the database run the following 2 scripts (Bug 2115227):
$ORACLE_HOME/oracore/admin/initxml.sql
$ORACLE_HOME/rdbms/admin/catxsu.sql
* To determine whether Java has previously been loaded into the database:
invoke SQL*Plus (sqlplus), connect as internal and run the following:
SQL> select count(*) from all_objects where object_type like 'JAVA%';
Java is installed if you get a non zero result returned from the query.
5.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install:
If Java has previously been loaded into the database, invoke SQL*Plus (sqlplus), connect as internal and run the following scripts which are located in $ORACLE_HOME/javavm/install ( Note: If Java has not previously been loaded into the database, you can skip this step):
load_jis.sql
jisja.sql
initjsp.sql
jspja.sql
Notes:
When running the $ORACLE_HOME/javavm/install/jisja.sql script the following error may be reported and can be ignored:
call jis_exit_java_session(0)
ERROR at line 1:
ORA-29515: exit called from Java code with status 0
Bug 1459233 was filed against this problem which is fixed in 9i.
6.If you deleted a row from duc$ in step 8 then reinsert it again. Invoke SQL*Plus (sqlplus), connect as internal and run the following SQL:
insert into duc$ (OWNER, PACK, PROC, FIELD1, OPERATION#, SEQ) values ('SYS', 'JIS$INTERCEPTOR$', 'USER_DROPPED', 0, 1, 1);
commit;
7.Enabling system triggers.
You must either remove SYSTEMTRIG_ENABLED from the initialization parameter file or explicitly set it to TRUE before attempting any other patch set post-install steps. Restart the database.
8.This step is optional - it will recompile all invalid PL/SQL packages now rather than when accessed for the first time - you can also use utlrcmp.sql to parallelize this. Invoke SQL*Plus (sqlplus), connect as internal and run the following SQL script:
?/rdbms/admin/utlrp.sql
9.Execute the following steps only if you have installed Oracle interMedia Text in the database you are attempting to modify:
If you have not previously unlocked the ctxsys account and supplied a password for that account, you need to do so. (If you have needed to use Oracle Text in any way prior to applying the patchset, you will have already performed this step, and you can skip this.) Do so by issuing the following statement:
ALTER USER ctxsys IDENTIFIED BY <passwd> ACCOUNT UNLOCK;
If you have already installed 8.1.7.2 or 8.1.7.3, go directly to step 7 below.
If you have already installed 8.1.7.1, go directly to step 5 below.
CONNECT ctxsys/<passwd>;
@?/ctx/admin/upgrade/u0801071.sql
CONNECT ctxsys/<passwd>;
@?/ctx/admin/upgrade/u0801072.sql
CONNECT / AS SYSDBA;
@?/ctx/admin/upgrade/s0801074.sql
CONNECT ctxsys/<passwd>
@?/ctx/admin/dr0pkh.sql
@?/ctx/admin/dr0plb.sql
@?/ctx/admin/dr0type.plb
@?/ctx/admin/dr0typec.plb
9.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install:
The installation of this patch set fixes a potential security hole in the XSQL Servlet - see here for more detail. The patchset installation does not, however, modify any of the Oracle HTTP Server configuration files to reflect changes to the XSQL Servlet installation. If you have previously installed the Oracle HTTP Server, you will need to update one of the configuration files manually after the patchset installation is complete. If you do not do so, the XSQL Servlet may not work in the context of the Oracle HTTP Server after the patchset is installed. To update your Oracle HTTP Server configuration, perform the following steps:
1) Edit the file: $ORACLE_HOME/Apache/Jserv/conf/jserv.properties
2) Search for the string: "XSQLConfig.xml File location"
3) Modify the parameter wrapper.classpath on the line immediately following the above string to read: $ORACLE_HOME/oracore/admin
4) Save the file.
10.You can ignore this step if you have already executed it as part of a previous 8.1.7 patch set install:
The installation of this patch set fixes a potential security hole in the PL/SQL XML parser - see here for more detail. To load the new XML parser in to the database, run the following script as user SYS:
? /xdk/plsql/parser/bin/load.sql
11.If you are using the RMAN catalog then upgrade it as follows:
rman catalog <user/passwd@alias>
upgrade catalog;
upgrade catalog;
The post install actions are now complete and the database is now ready for use. -
Oracle 11g imp erroneously tries to recreate existing tables with CLOBs?
I have a shell script for loading database dumps from both Datapump and the older exp/imp.
Often when loading dumps, I need to rename the schema owner and tablespace names (which is handled by REMAP_SCHEMA and REMAP_TABLESPACE in Datapump).
However I have a whole bunch of dumps created with exp at this point and not that many Datapump dumps yet. As such the old style dumps are handled by the shell script in this way:
1) A first pass imp is run using INDEXFILE to generate a file with the SQL to create tables and indexes. Options also include FROMUSER and TOUSER.
2) A series of sed command edit the SQL file to change the tablespace names (which are schema owner specific in our case).
3) The editted SQL file is run with sqlplus to create the tables and indexes.
4) A second pass imp is run to load the table rows as well as triggers, stored procedures, views, etc. Options include FROMUSER, TOUSER, COMMIT=Y, IGNORE=Y, BUFFER, STATISTICS=NONE, CONSTRAINTS=N
This shell script has been working great for loading exp dump files into Oracle 9 and Oracle 10 databases, but now that I'm trying to load these dumps into Oracle 11, it fails.
The problem is in step 4, the imp program is trying to create some of the tables that already were created with sqlplus in step 2. The problematic tables all seem to have CLOB columns in them. The table creation fails because it tries to use the tablespace names from the dump file, which do not exist in the destination database. And when the table creation fails, imp then decides not to load the rows for those table.
This seems like a bug in the Oracle 11 imp program. I don't understand why it thinks it needs to recreate tables that already exist when those tables have CLOB columns. Is there something different about CLOB columns in Oracle 11 that I should know about that might be confusing imp into thinking that it needs to create tables when they already exist? Maybe I need to do something to those tables in SQL so that imp does not think it needs to recreate them?
I know that the tables with the CLOBs were created correctly because I was trying to find some way to workaround this. For step 4, I tried using DATA_ONLY=Y, in which case imp does not try to create the tables and just loads the table rows. Of course using DATA_ONLY, I don't get a lot of other things like triggers, view and stored procedures. I started to try to get around that by doing 3 passes with imp, so that I could pick up the missing pieces by using an imp pass with ROWS=N, but strangely that has the same problem of trying to recreate the existing tables.The only solution I've found so far as a workaround is rather convoluted.
1. I took an export using datapump's expdp of SCHEMA1 (in 10g it will skip the table with the xmltype).
2. I imported the data to my empty schema (SCHEMA2) using impdp. To avoid the error that the type already exists with another OID, I used the TRANSFORM=oid:n parameter e.g.
impdp user/pwd dumpfile=noxmltable.dmp logfile=importallbutxmltable.log remap_schema=SCHEMA1:SCHEMA2 TRANSFORM=oid:n directory=MYDUMPDIR
3. I then manually created my xmltype table in the SCHEMA2 and did a select into to load it (make sure you have the select privileges to do so):
INSERT INTO SCHEMA2.XMLTABLE2 SELECT * FROM SCHEMA1.XMLTABLE1;
4. I am still taking an export with exp of the xmltable as well even though I'm not sure I can do anything with it.
Thanks!
Edited by: stacyz on Jul 28, 2009 9:49 AM -
How to fix this error: IMP-00003: ORACLE error 1435 encountered
Hello,
I am new to oracle database. I am trying import a data dump file *.dmp into my test database. I am using Oracle Database 11g. I have created "datatest" to be the user and I granted all possible rights that was there. :) but still getting this error message.
Does Oracle has a GUI tool somewhere I can try or how I can fix this issue? PLEASE HELP.
Below are the actions taken:
=========================================================================
C:\app\Administrator\admin\ORCLENT1\dpdump>imp
Import: Release 11.2.0.1.0 - Production on Wed Aug 29 22:32:39 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Username: datatest
Password:
Connected to: Personal Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Import data only (yes/no): no > no
Import file: EXPDAT.DMP > expdat.dmp
Enter insert buffer size (minimum is 8192) 30720> 8299
Export file created by EXPORT:V11.02.00 via conventional path
Warning: the objects were exported by SYSTEM, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
List contents of import file only (yes/no): no > no
Ignore create error due to object existence (yes/no): no > no
Import grants (yes/no): yes > yes
Import table data (yes/no): yes > yes
Import entire export file (yes/no): no > yes
. importing SYSTEM's objects into DATATEST
. importing DW_OWNER's objects into DW_OWNER
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist
Import terminated successfully with warnings.
=============================================================Thanks for helping with the script. It is very helpful, especially for newbie like me. :) When I run the script, there seems to be a lot of error during this process. Here is the log. Any suggestions how I can fix this?
=====================================================
Connected to: Personal Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V11.02.00 via conventional path
Warning: the objects were exported by SYSTEM, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
. . importing table "MVW_MATCH_STATS" 335481 rows imported
. . importing table "MVW_PLAYER_AGG" 34937 rows imported
. . importing table "MVW_PLAYER_TOURNAMENT_AGG" 519174 rows imported
. . importing table "MVW_TOURNAMENT_AGG" 12785 rows imported
. . importing table "MVW_UT_AGG1" 8 rows imported
. . importing table "TMP_CATEGORY_ATP" 29999 rows imported
. . importing table "TMP_CATEGORY_WTA" 29999 rows imported
. . importing table "TMP_IMPORT_STATS_PLAYER1" 32578 rows imported
. . importing table "TMP_MATCH_COURT_TYPE" 335562 rows imported
. . importing table "TMP_PLAYER_ATP" 47070 rows imported
. . importing table "TMP_RESULT_COMBINATIONS" 16889 rows imported
. . importing table "TMP_STADIA" 852 rows imported
. . importing table "TMP_TOUR_ATP" 16762 rows imported
. . importing table "TMP_TOUR_STADIA" 5222 rows imported
. . importing table "TMP_TOUR_WTA" 9000 rows imported
. . importing table "W_COURT_TYPE_D" 7 rows imported
. . importing table "W_DATE_D" 22330 rows imported
. . importing table "W_MATCH_D" 506408 rows imported
. . importing table "W_MATCH_F" 1012812 rows imported
. . importing table "W_MINUTE_D" 1440 rows imported
. . importing table "W_PLAYER_D" 35305 rows imported
. . importing table "W_PLAYER_D_F" 23538 rows imported
. . importing table "W_PLAYER_D_M" 45804 rows imported
. . importing table "W_ROUND_D" 19 rows imported
. . importing table "W_STADIUM_D" 428 rows imported
. . importing table "W_TOURNAMENT_D" 12882 rows imported
. . importing table "W_TOURNAMENT_F" 433111 rows imported
IMP-00017: following statement failed with ORACLE error 959:
"CREATE TABLE "W_USAGE_TRACKING" ("USER_NAME" VARCHAR2(128), "REPOSITORY_NAM"
"E" VARCHAR2(128), "SUBJECT_AREA_NAME" VARCHAR2(128), "NODE_ID" VARCHAR2(15)"
", "START_TS" DATE, "START_DT" DATE, "START_HOUR_MIN" CHAR(5), "END_TS" DATE"
", "END_DT" DATE, "END_HOUR_MIN" CHAR(5), "QUERY_TEXT" VARCHAR2(1024), "QUER"
"Y_BLOB" CLOB, "QUERY_KEY" VARCHAR2(128), "SUCCESS_FLG" NUMBER(10, 0), "ROW_"
"COUNT" NUMBER(10, 0), "TOTAL_TIME_SEC" NUMBER(10, 0), "COMPILE_TIME_SEC" NU"
"MBER(10, 0), "NUM_DB_QUERY" NUMBER(10, 0), "CUM_DB_TIME_SEC" NUMBER(10, 0),"
" "CUM_NUM_DB_ROW" NUMBER(10, 0), "CACHE_IND_FLG" CHAR(1) NOT NULL ENABLE, ""
"QUERY_SRC_CD" VARCHAR2(30), "SAW_SRC_PATH" VARCHAR2(250), "SAW_DASHBOARD" V"
"ARCHAR2(150), "SAW_DASHBOARD_PG" VARCHAR2(150), "PRESENTATION_NAME" VARCHAR"
"2(128), "ERROR_TEXT" VARCHAR2(250), "IMPERSONATOR_USER_NAME" VARCHAR2(128),"
" "NUM_CACHE_INSERTED" NUMBER(10, 0), "NUM_CACHE_HITS" NUMBER(10, 0), "QUERY"
"_DATE_WID" NUMBER(10, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 ST"
"ORAGE(INITIAL 3145728 NEXT 1048576 MINEXTENTS 1 FREELISTS 1 FREELIST GROUPS"
" 1 BUFFER_POOL DEFAULT) TABLESPACE "DW_DATA" NOLOGGING NOCOMPRESS LOB ("QUE"
"RY_BLOB") STORE AS BASICFILE (TABLESPACE "DW_DATA" ENABLE STORAGE IN ROW C"
"HUNK 8192 RETENTION NOCACHE NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 "
"MINEXTENTS 1 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'DW_DATA' does not exist
. . importing table "W_USER" 8 rows imported
IMP-00017: following statement failed with ORACLE error 942:
"CREATE SNAPSHOT "MVW_UT_AGG1" ( "USER_NAME","QUERY_COUNT","ROW_COUNT" ) US"
"ING ("MVW_UT_AGG1", (9, 'ORCL', 1, 0, 0, "DW_OWNER", "W_USAGE_TRACKING", '2"
"012-05-31:23:56:48', 8, 74659, '2012-05-31:23:56:48', '', 1, '0280', 281368"
"84, 0, NULL), 2101313, 10, ('1950-01-01:12:00:00', 25, 0, 0, 28136884, 0, 2"
"098180, 2, NULL, NULL)) REFRESH COMPLETE AS"
"SELECT "
"user_name,"
"count(*) as query_count,"
"sum(row_count) as row_count"
"FROM W_USAGE_TRACKING "
"group by user_name"
IMP-00003: ORACLE error 942 encountered
ORA-00942: table or view does not exist
IMP-00017: following statement failed with ORACLE error 12003:
"ALTER SNAPSHOT "MVW_UT_AGG1" COMPILE"
IMP-00003: ORACLE error 12003 encountered
ORA-12003: materialized view "YANXIZAOTENNIS"."MVW_UT_AGG1" does not exist
About to enable constraints...
Import terminated successfully with warnings.
============================== -
HI All,
We are facing some problem with imp. What we are trying to do is to import one table from full exp backup.
Below is my exp script:
compress </nhi3/export/epipe > /nhi3/export/exp-nov.dmp.Z &
exp holland/kangra file=/nhi3/export/epipe full=y compress=n buffer=250000 log=/nhi3/export/exp.log
Now iam trying to import one table from full exp backup using the below script.
P6DB NODE>uncompress < /rmanbkp/backup/export0402/export/exp-nov.dmp.Z > /nhi3/export/epipe &
[1] 3190958
P6DB NODE>imp holland/kangra file=/nhi3/export/epipe fromuser=baan touser=baan tables='TTIPSL042100' ignore=n log=/rmanbkp/backup/export0402/export/ttipsl042100.log indexes=n full=n
After firing this command there is no response from the terminal and nothing is showing in the imp logfile.
Only response i can see is:
P6DB NODE>imp holland/kangra file=/nhi3/export/epipe fromuser=baan touser=baan tables='TTIPSL042100' ignore=n log=/rmanbkp/backup/export0402/export/ttipsl042100.log indexes=n full=n
Import: Release 10.2.0.4.0 - Production on Mon Apr 2 12:42:28 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
Need Help
Thanks,
SandyHi,
Just to start eliminating potential error sources, what if you do the uncompress to file, and then try to import using that file?
Also, since you do a full export, it might take a while for the uncompress to reach the schema and table you're trying to import.
HtH
Johan
Maybe you are looking for
-
BLOCK/UNBLOCK GR/IR Account in Master Data
Team, I Blocked at Company level GR/IR account to update open item management. After the program finished I went back and unblocked account, I am able to post directly to the account, however it appears that receiving was in teh middle of receiving g
-
I found this file (N360_5.0.2.1_SYMTB_PROMO_2_LOEM_MRFTT_274_6235.exe.download/) in my downloads folder, but didn't download it. Is it safe to delete without harming my iMac?
-
Even after turning ON Reduce motion the icons and the windows and the apps zoom motion in and out is still giving me a lot of head ache and dizziness and motion sickness... Please fix it!!
-
Hi all,... I want to ask : how we can import file swf to java... I want to make that *.swf to become my first page in my program. that swf will be displayed in my program... by the way, please tell me step by step (i'm still newbie).. Thanxs for u' a
-
hello everyone, How to send runtime values to Long text messages? I've created a short text message first and then i attached a long text to it. In the long text i want a field value to get populated at runtime.