expdp/impdp method in the database upgrade from 11.2.0.4 to 12.1.0.2 an error in logic of "command line"?
Hi DBA:
We are evaluating different methods of upgrading 11 GR 2 DB to 12 c (12.1.0.2) this year, it is very important for us to use the right method. It was reported that when DB version was 9i and has been updated to 11g, there were some order of tables 'line' was wrong when execute SELECT statements in application (Java application) - at the moment I didn't if it is ' select * from... "or any specific part with a"where"clause, and what type of data was wrong (maybe sequence CLOB data, etc.).
I think I know, ' exp/imp', "expdp/impdp" logical backup of DB methods. Therefore, Oracle automatically import data and fix it in each table. If no error in impdp connects after it's over, should not be any mistake, right?
If the use of the method of 'creates a new data + expdp/impdp basis for schemas user' 11g 12 c port data, questions:
1. this method will lead to erroneous sequence data when ordering? If so, how to re - generate the sequence number?
2. this method can bring CLOB, BLOB data and without any errors? If error, how to detect and repair?
I use the same method in the 10.2.0.5 to 11g port data, no problem.
I'll keep this thread posted after getting more information from application.
Thank you very much!
Dania
INSERT... SELECT, CREATE TABLE in the SELECT and Export-Import will all "re-organize" the table by assigning new blocks.
In place--update (using DBUA or command line) don't re-create the user tables (although it DOES not rebuild the data dictionary tables). Therefore, does not change the physical location of lines for user tables. However, there is no guarantee that a further reason for INSERT, DELETE, UPDATE instructions does not change the physical location of ranks. Nor is it a guarantee that a SELECT statement will return always stored in the same order unless an ORDER BY is specified explicitly.
If you export the data while it is still used, you don't avoid update sequences in the source database. Usually results in a mismatching number sequence between the source database and the new database (imported). In fact, even the numbers may be different, unless you use CONSISTENT or FLASHBACK_SCN. (These two options in exp / expdp do NOT prevent update sequences). The right way to manage sequences is to rebuild or increase them in data imported with the values in the data source, once the import is complete.
Hemant K Collette
Tags: Database
Similar Questions
-
IAM get AC-00013: error generating file context after the database upgrade from 10 g to 11 g
Perl adbldxml.pl level = appsuser = apps appspass = XXXX template=/backup/EIGC/eigcdb/11.2.0/appsutil/template out=/oracle/PROD/proddb/11.2.0/appsutil/ servername = ebsapps db
From generation of context for db level files...
Using /backup/EIGC/eigcdb/11.2.0/jdk/bin/java JVM to run java programs...
The log file for this session adbldxml is located at:
/Backup/EIGC/eigcdb/11.2.0/appsutil/log/adbldxml_05310924.log
AC-00013: error: file: /backup/EIGC/eigcdb/11.2.0/network/admin/EIGC_ebsapps/listener.ora is not a valid file, such as the SID database could not be found for connection string: EIGC
Cannot connect to the database with the settings above, please answer the Questions below
Dear Yaanos,
Thank you for your fast & immediate action plan solve the problem.
Kind regards
Anand
-
Expdp/impdp can be used to upgrade the database (instead of DBUA) R12
Hi all
(1) could as possible to convert the database to UTF8 value as part of the database
upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?
(2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
Can I use expdp/impdp instead so I can convert the character at a time? All documentation
that I can follow to use expdp/impdp to do the upgrade?
(3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
the value UTF8?
Thanks in advance!(1) could as possible to convert the database to UTF8 value as part of the database
upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?I do not. You must upgrade, and then convert the characters or convert then upgrade - you can save an SR to confirm this with the support of the Oracle.
(2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
Can I use expdp/impdp instead so I can convert the character at a time? All documentation
that I can follow to use expdp/impdp to do the upgrade?Only DBUA is the way supported in Oracle EBS instance level. Please see this similar thread - Oracle EBS 11i Database Upgrade to 11 GR 2 - Upgrade method Support Manual is?
(3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
the value UTF8?Please see the documentation referenced in this thread - ADADMIN convert character set CUSTOM_TOP
Thank you
Hussein -
Error: no 1639 invalid command line argument. Consult the installer of Windows S
Hello
I am trying to install Oracle 10 g Express on Windows XP SP3. A few seconds after clicking on 'Install' in the Summary window, I get the following error message:
"Error: no 1639 invalid command line argument." Check the kit of development Windows Installer by using the detailed command line. »
Anyone know what to do?
PeterPlease go through the following link (does not directly apply in your case).
http://support.Microsoft.com/kb/326027
HTH...
-
What method is good for the database upgrade of small size
want to upgrade the database 10g to 11g.
Database 10g running on server1 production wants to upgrade to another Server2 Server 11 g
where's the good.
-> > > > 1 upgrade can migrate 2 different server.
-> > > > > 2 migrate then upgrade the database.
-> > > > another question
If am install 11g on server2 and 10g migration directly then there will be future problems on future production.
Instead of 11.2.0.1, I would say that you use 11.2.0.4. For a 5G database, import/export is probably the best option
HTH
Srini -
expdp/impdp: constraints in the child-Parent relationship
Hello
I have a table parent1 and child1, child2 and chld3 tables have foreign key created on this parent1.
Now, I want to do a delete on parent1. But as the number of records is very high on parent1, we go with expdp / impdp with option querry.
I took the expdp parent1 level query. Now I dropped parent1 with option of cascade constraints and all foreign keys created by child1, 2 and 3 that parent1 references are automatically deleted.
Now, if I have the impdp to the query of fire level dump file, are these foreign key constraints will be created automatically on child1, 2 and 3 or I need to manually recreate it?
Kind regards
ANUHello
The CF will not be in the dumpfile - see the code example below where I generate a sqlfile following pretty much the process that you would have done. This is because FK belongs to the DDL for the child table not the parent.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning option OPS$ORACLE@EMZA3>create table a (col1 number); Table created. OPS$ORACLE@EMZA3>alter table a add primary key (col1); Table altered. OPS$ORACLE@EMZA3>create table b (col1 number); Table created. OPS$ORACLE@EMZA3>alter table b add constraint x foreign key (col1) references a(col1); Table altered. OPS$ORACLE@EMZA3> EMZA3:[/oracle/11.2.0.1.2.DB/bin]# expdp / include=TABLE:\"=\'A\'\" Export: Release 11.2.0.3.0 - Production on Fri May 17 15:45:50 2013 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning option Starting "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04": /******** include=TABLE:"='A'" Estimate in progress using BLOCKS method... Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 0 KB Processing object type SCHEMA_EXPORT/TABLE/TABLE Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS . . exported "OPS$ORACLE"."A" 0 KB 0 rows Master table "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully loaded/unloaded ****************************************************************************** Dump file set for OPS$ORACLE.SYS_EXPORT_SCHEMA_04 is: /oracle/11.2.0.3.0.DB/rdbms/log/expdat.dmp Job "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully completed at 15:45:58 Import: Release 11.2.0.3.0 - Production on Fri May 17 15:46:16 2013 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning option Master table "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded Starting "OPS$ORACLE"."SYS_SQL_FILE_FULL_01": /******** sqlfile=a.sql Processing object type SCHEMA_EXPORT/TABLE/TABLE Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS Job "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully completed at 15:46:17 -- CONNECT OPS$ORACLE ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1'; ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1'; ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1'; ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1'; ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1'; ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 '; -- new object type path: SCHEMA_EXPORT/TABLE/TABLE CREATE TABLE "OPS$ORACLE"."A" ( "COL1" NUMBER ) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505 PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "SYSTEM" ; -- new object type path: SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT ALTER TABLE "OPS$ORACLE"."A" ADD PRIMARY KEY ("COL1") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505 PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "SYSTEM" ENABLE; -- new object type path: SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); NV VARCHAR2(1); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; stmt varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,NULL,:14,:15,NULL,:16,:17)'; BEGIN DELETE FROM "SYS"."IMPDP_STATS"; c(1) := 'COL1'; DBMS_METADATA.GET_STAT_INDNAME('OPS$ORACLE','A',c,1,i_o,i_n); EXECUTE IMMEDIATE stmt USING 0,I_N,NV,NV,I_O,0,0,0,0,0,0,0,0,NV,NV,TO_DATE('2013-05-17 15:43:24',df),NV; DBMS_STATS.IMPORT_INDEX_STATS('"' || i_o || '"','"' || i_n || '"',NULL,'"IMPDP_STATS"',NULL,'"SYS"'); DELETE FROM "SYS"."IMPDP_STATS"; END; /
Kind regards
Harryhttp://dbaharrison.blogspot.com/
-
Switch the database 10g from Windows to Linux (new server)
Hi people,
I'm still new here and I'm working on a project. I'm trying to move a database 10 g of Windows on a new server with Linux 5. Please what are the steps I need to take?
* The present Server (Windows 7) is in noarchivelog mode
* There is practically no link between this 2 servers
* This is a development environment, and so I have a lot of time to experiment.
Thank you!
Bouet JohnsonHello
DataPump (expdp/impdp) is the way to go. expdp create a 'logic' of the database dump - create some think it's just a series of statements and insert statements written in a file. This file is generic and can be used on any platform. If your shipping it a long way (not sure how far Virginia is you another site) you can zip it before sending it. At the other end you just need to create a database of "shell" - that is a very basic database which you are then going to create all objects (maybe version different oracle - with some restrictions). Then use impdp to transfer the file and create everything.See you soon,.
Harry -
name of the comic in conflict after the database upgrade
Salvation of DBA
I upgraded the database of 9206 to 10204 successfully.
but when I'm checking the pmon it showed different SID.
My actuall SID is PRD but it's showing Prod., for this reason, I am not able to create the xml file in the database layer.
Oracle@aqherpdb bdump] $ ps - ef | grep pmon
Oracle 31816 1 0 12:16? 00:00:00 ora_pmon_prod
Oracle 31869 31399 0 12:19 pts/3 00:00:00 grep pmon
[oracle@aqherpdb bdump] $
When choosing the database is show the following.
SQL > select name from v$ database;
NAME
---------
PRD
When I am setting up the xml file in the db layer it gives the following error.
level of adbldxml.pl [oracle@aqherpdb bin] $ perl = db = apps appsuser
From generation of context for db level files...
Using /s01/prod/proddb/10.2.0/jdk/bin/java JVM to run java programs...
Password APPS: applications
The log file for this session adbldxml is located at:
/S01/prod/proddb/10.2.0/appsutil/log/adbldxml_03211248.log
AC-00013: error: file: /s01/prod/proddb/10.2.0/network/admin/listener.ora is not a valid file, such as the SID database could not be found for connection string: prod
Cannot connect to the database with the settings above, please answer the Questions below
Enter the host name of the server: aqherpdb
Enter the Server Port: 1521
Enter the database server SID: PRD
Could not connect to the database: ORA-01034: ORACLE is not available
ORA-27101: shared memory realm does not exist
Linux error: 2: no such file or directory
Cannot connect to the database with the settings above, please answer the Questions below
Enter bin server[aqherpdb]:[oracle@aqherpdb the database host name] $
Please guide me to solve the problem above.
Best regards
Suresh GeldaSuresh,
Follow these steps:
-Make a backup of the database-level files
-Run preclone (adpreclone.pl) on the database layer
-Stop the database and the database listener
-Change all the names of directory of PROD to PRD
-Run postclone (adcfgclone.pl) on the basis of data of level and enter the name of the correct database (PRD)
-Check that the database and the database listener are runningKind regards
Hussein -
HI, I'm getting an error code 604 when I try to import images, it comes up with the following message, some import operations were not made, the following files were not imported because they could be read... items 1-100 etc.
I import the raw files from my card, it's no different than when I imported on the free trial version, but now I've updated it wont let me import, everything else seems to work very well with the catalogue, export etc. Please help me as soon as possible, if someone had this problem?
Hi thank you 99jon, you're perfectly right, it's to do with permissions and thanks for putting me on the right track to fix, the destination had for some strange reason changed during the upgrade, so raw files went to a file on the hard drive which has permissions rather than the images where he used to go (until the upgrade). If anyone has this error code 604, please look to see where the images are current, is not always easy to say right away, I saw he entered the hard drive and initially assumed that it would go into pictures where it is before the upgrade, it would be useful that adobe has this error code with an explanation of what this means on their list of troubleshooting , but could not find any information anywhere. It caused me a lot of delays with hundreds of images that I work on different maturities, but thank God its fixed, very happy
-
Is it possible to synchronize an existing database with the database CRM from Adobe?
I have a database that is hosted locally customers, and I would like to sync it with the database hosted on Business Catalyst without manually having to import/export a list of customers. Is there currently a way to do this?
Hello
Look in the API as a possible solution to this...
"This system has a broad framework of the API (application programming interface) that allows you to communicate, synchronize or take action with your own external application." For example if you are an online store and you want to adjust the inventory levels in real time as shoppers buy from you, then you can simply use this API. Other uses of the API include the ability to synchronize your entire customer database on this system with the one on your desktop. The scope of the API will give you indeed freedom to undertake all kinds of specific tasks to the success of your business"
- http://kb.worldsecuresystems.com/635/bc_635.html
Kind regards
-Sidney
-
Hello
Are there docs related to the upgrade of database 9.2.0.5 to 10.2.0.3 on EBS 11.5.10.2
the main problem is running oracle applications after the upgrade, what steps should I follow after database upgrade
Concerning
MoinetFor upgrades of database in general, I strongly suggest you start with Oracle 10 g, companion of upgrade, which is available on Metalink note 466181.1:
https://MetaLink.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=466181.1
For the side EBS, I suggest you watch the wizard of Maintenance EBS, which is Metalink Note 215527.1
https://MetaLink.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=215527.1
It is a useful tool that will help you make sure you do only and exactly the steps you need to follow in an EBS upgrade scenario (including upgrades of RDBMS in an Oracle Applications environment).
-
Hi all
We are passing from 11.2.0.3 to 12.1.0.2 on Solaris.
The first upgrade procedures are successful, but now we get a mistake twice (in 65 of Phase and Phase 69):
Call sqlpatch with LD_LIBRARY_PATH=/opt/oracle/product/12.1.0.2/lib; export LD_LIBRARY_PATH;/opt/oracle/product/12.1.0.2/perl/bin/perl-je /opt/oracle/product/12.1.0.2/rdbms/admin-je opt/oracle/product/12.1.0.2/rdbms/admin/... /... /sqlpatch opt/oracle/product/12.1.0.2/rdbms/admin/... /... /sqlpatch/sqlpatch.pl-verbose > catupgrd_datapatch_normal.log 2 > catupgrd_datapatch_normal.err
returned from sqlpatchThe catupgrd_datapatch_upgrade.err content is:
Can't load ' / opt/oracle/product/12.1.0.2/perl/lib/site_perl/5.14.1/sun4-solaris-thread-multi-64/auto/DBD/Oracle/Oracle.so ' for module DBD::Oracle: LD.so.1:: perl: fatal: libclntsh.so.12.1: open failed: no such file or directory in line /opt/oracle/product/12.1.0.2/perl/lib/5.14.1/sun4-solaris-thread-multi-64/DynaLoader.pm 190.
to opt/oracle/product/12.1.0.2/rdbms/admin/... /... /sqlpatch/sqlpatch.pm line 78
Compilation failed in require to opt/oracle/product/12.1.0.2/rdbms/admin/... /... /sqlpatch/sqlpatch.pm line 78.
BEGIN failed--compilation abandoned opt/oracle/product/12.1.0.2/rdbms/admin/... /... /sqlpatch/sqlpatch.pm line 78.
Compilation failed in require to opt/oracle/product/12.1.0.2/rdbms/admin/... /... /sqlpatch/sqlpatch.pl line 55.Please can someone give me a clue?
Thank you
MichaelI see a Bug 19178851 bug - Datapatch fails if LD_LIBRARY_PATH is not set correctly
the bug above slipped in 12.1.0.2.1 (Oct 2014) database the value updated
If you still want the problems of the guest OS, you can consult:
1 ldd /opt/oracle/product/12.1.0.2/perl/lib/site_perl/5.14.1/sun4-solaris-thread-multi-64/auto/DBD/Oracle/Oracle.so
2. compare the values of environment variables are set properly or not
#env
Kind regards
Himanshu
-
Database 11g expdp, impdp in a 10g database for
Hello
I would like to export an Oracle 11 g server to import it into an oracle database 10 g, which method is correct:
1 - expdp (binary 10g)
2 - expdp (binary 11 g) using the VERSION = 10.2 setting
Thank you
second method, you must specify the parameter version = 10.2 while using the commands the expdp and impdp.
Please refer to this nice blog post: http://dbaoracledba.blogspot.com/2012/07/version-parameter-in-oracle-expdp-and.html
Kind regards
-
Hi all
I followed the below document upgrade of database on EBS 12.1.3 11.1.0.7 Database 11.2.0.2.
"Interoperability note EBS R12 with Database 11 g 2 [ID 1058763.1]"
We finished up to
6. install Oracle Database 11 g products from the CD of examples of 11 g
but not '3.Update application level context file with the new database listener port number (conditional)"
as it was conditional
Old home:-F:\oracle\PROD\db\tech_st\11.1.0
New Home:-F:\app\mocppd\product\11.2.0\dbhome_1
Set ORACLE_HOME=F:\app\mocppd\product\11.2.0\dbhome_1
cd F:\app\mocppd\product\11.2.0\dbhome_1\nls\data\old
define the ORACLE_BASE = F:\app\mocppd
Set LD_LIBRARY_PATH=F:\app\mocppd\product\11.2.0\dbhome_1\LIB
Set PERL5LIB=F:\app\mocppd\product\11.2.0\dbhome_1\perl\lib
Perl cr9idata.pl
Received the error
"Nls/data/9idata 7.Create directory" that
I did not understand why the '/F:/app/mocppd/product/11.2.0/dbhome_1/nls/data directory does not exist' a ' / '.perl cr9idata.pl F:\app\mocppd\product\11.2.0\dbhome_1\nls\data\old>perl cr9idata.pl cygwin warning: MS-DOS style path detected: F:/app/mocppd/product/11.2.0/dbhome_1 Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1 CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames Directory /F:/app/mocppd/product/11.2.0/dbhome_1/nls/data doesn't exist. Can't p roceed.
from the path
Thank you
KatiaBut why this measure usr. We are in windows.
This is an expected output since you use Cygwin.
Please install perl in that you have less RDBMS % ORACLE_HOME % and try again (% ORACLE_HOME%\appsutil\perl).
Thank you
Hussein -
In addition, after the opening of the program, he showed an advisor to remove one of the swatches plug-in library, which I did, and it did not help. I tried to uninstall too no effect.
Please, some advice. I use Windows 8.1
Solved the problem in a logon session. Uninstalling and reinstalling solved the problem.
Sanjay.
Maybe you are looking for
-
No audio with videos not transferred from the phone on PC
My son, I use my phone to video with all its "firsts". (He is 15 months old) I recorded his first steps, dance to the songs, etc. on my phone and you want to share with others! However, when I transfer my videos to my computer using the options of sh
-
block diagram window becomes higher in win7 64-bit using LV2011 32-bit sp1
I have a strange problem and I wonder if anyone has ever seen this behavior. Often, when I go to the block diagram window, it will become the top window that is it is located at the top of all other windows including LabVIEW non-windows! I have to cl
-
Reset bios password of hp mini 110-1145NR
help me to reset bios hp mini 110-1144NR after 3 wrong password it makes fatal error... System CNU938540T
-
Hello Why "LV" uses "I32" rather than "U32"... While the result is never negative? for example:-output 'shift spent some number' service 'chain of decimal number '.-the terminal loop of an iteration loop While, or a loop For...-output 'size' of the t
-
DeskJet 2542: scan to email
I am trying to scan to e-mail, but that is not set up, need help to understand what I have to do