How exp/imp behave
how exp/imp utility will behave when i'll try to migrate data from oracle 8i to 10g when the platform and file system will be different.
what should be the procedure to that?
Ive had to do this recently. You just need to use the 8i exp from the 8i Oracle home for the 8i database to create your dump file. Then, use the 10g imp from the 10g Oracle home to import the dump file into your 10g database. Import is backwards compatible it will read dump files created by older versions of export. And this is the best way to move from one platform to another.
Ryan
Similar Messages
-
How to exp/imp both diff character set tables between in DB1 and DB2?
In the Solaris 2.7 ,the oracle 8i DB1 has NLS_CHARACTERSET
ZHS16CGB231280 and NLS_NCHAR_CHARACTERSET ZHS16CGB231280
character set.
In other linux7.2 system ,the oracle 8i DB2 is install into the
NLS_NCHAR_CHARACTERSET US7ASCII and NLS_CHARACTERSET US7ASCII
character set.
The tables contents of DB1 have some chinese. I want to exp/imp
tables of DB1 into DB2 . But the chinese can't correct display
in the SQLWheet tools. How do the Exp/Imp operation ? ples help
me . thanks .The supported way to store GB231280-encoded characters is using a ZHS16CGB231280 database or a database created using a superset of GB231280 ,such as UTF8 .Can you not upgrade your target database from US7ASCII to ZHS16CGB231280 ?
With US7ASCII and NLS_LANG set to US7ASCII , you are using the garbage in garbage out (GIGO) approach. This may seem to work but there are many hidden problems :-
1. Invalid SQL String Function behaviours - LENGTH ( ) , SUBSTR ( ) , INSTR ( )
2. Data can be corrupted when data is loaded into another database. e.g. EXP / IMP , Dblinks
3. Communication with other clients will generate incorrect results. e.g. other Oracle products - Oracle Text, Forms. , Java , HTML etc.
4. Linguistic sorts not available
5. Query using the standard WHERE clause may return incorrect results ..
6. Extra coding overhead in handling character conversions manually.
I recommend you to check out the FAQ and the DB Character set migration guide on the Globalization Support forum on OTN.
Nat. -
Dear all,
please send me the v$ views of exp/imp, for monitor that process.mithun wrote:
http://www.dba-oracle.com/t_monitor_data_pump_import_job.htm
http://www.oracle-base.com/articles/10g/OracleDataPump10g.php#MiscellaneousInformation
OP doesn't use datapump, so your links aren't usefull for him.
http://www.orafaq.com/wiki/Import_Export_FAQ -
Hi all,
I have one problem in Oracle 9.2.0.8 onRHEL4. Iwant to use exp/imp to update one table from one server to another.
Suppose I have one table abc on A server and it is having around 1 million records and another B server is also having the same no. of records and some of the record have been changed to A server and i also want to imp the same record to another server B.Is there any paramneter in IMP.
Please suggest me.Hi,
Kamran Agayev A. wrote:
user00726 wrote:
but how would i know which table has been updated or modifiedUsing MERGE funtion, you'll merge two tables. This command will updated changed rows and insert non-inserted rows to the second table and make it as the same as the first tableSQL> create table azar(pid number,sales number,status varchar2(20));
Table created.
SQL> create table azar01(pid number,sales number,status varchar2(20));
Table created.
SQL> insert into azar01 values(1,12,'CURR');
1 row created.
SQL> insert into azar01 values(2,13,'NEW');
1 row created.
SQL> insert into azar01 values(3,15,'CURR');
1 row created.
SQL> insert into azar values(2,24,'CURR');
1 row created.
SQL> insert into azar values(3,0,'OBS');
1 row created.
SQL> insert into azar values(4,42,'CURR');
1 row created.
SQL> commit;
Commit complete.
SQL> select * from azar01;
PID SALES STATUS
1 12 CURR
2 13 NEW
3 15 CURR
SQL> select * from azar;
PID SALES STATUS
2 24 CURR
3 0 OBS
4 42 CURR
SQL> merge into azar01 a using azar b on (a.pid=b.pid) when matched
2 then update set a.sales=a.sales + b.sales, a.status=b.status
3 delete where a.status='OBS'
4 when not matched
5 then insert values(b.pid,b.sales,'NEW');
3 rows merged.
SQL> select * from azar01;
PID SALES STATUS
1 12 CURR
2 37 CURR
4 42 NEW
Hello Sir, is this correct?
Regards
S.Azar
DBA -
Export / import exp / imp commands Oracle 10gXE on Ubuntu
I have Oracle 10gXE installed on Linux 2.6.32-28-generic #55-Ubuntu, and I need soe help on how to export / import the base with exp / imp commands. The commands seems to be installed on */usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin* directory but I cannot execute them.
The error message I got =
No command 'exp' found, did you mean:
Command 'xep' from package 'pvm-examples' (universe)
Command 'ex' from package 'vim' (main)
Command 'ex' from package 'nvi' (universe)
Command 'ex' from package 'vim-nox' (universe)
Command 'ex' from package 'vim-gnome' (main)
Command 'ex' from package 'vim-tiny' (main)
Command 'ex' from package 'vim-gtk' (universe)
Command 'axp' from package 'axp' (universe)
Command 'expr' from package 'coreutils' (main)
Command 'expn' from package 'sendmail-base' (universe)
Command 'epp' from package 'e16' (universe)
exp: command not found
Is there something I have to do ?Hi,
You have not set environment variables correctly.
http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABDGCHH
And of course that sciprt have small hickup, so see
http://ubuntuforums.org/showpost.php?p=7838671&postcount=4
Regards,
Jari -
Exp/Imp content Area Portlet..?
How to Exp/Imp "Content area folder published as a portlet" which reside in "WWSBR_SITEBUILDER_PROVIDER".
Anybody from Oracle..?
Thanks.
RakeshI assume you are using the 309 version of portal. It is possible to export out an entire content area or a page but not the granular items. By granular I mean just the folder in this context. If you wish to export/import the entire content area/page, you can run the pageexp/pageimp/contexp/contimp scripts which reside in the WWU directory.
-
Database upgrade from 8i to 10g using exp/imp
Dear Friends,
Please provide the steps to upgrade from 8i to 10g using exp/imp.
Thanks,
RathinavelHi;
Please also see cold backup option
How to migrate from 8i to 10g to new server using cold backup [ID 742108.1]
Also see:
Upgrading from 8i to 10g with import utility
http://searchoracle.techtarget.com/answer/Upgrading-from-8i-to-10g-with-import-utility
Regard
Helios -
Full database exp/imp between RAC and single database
Hi Experts,
we have a RAC database oracle 10GR2 with 4 node in linux. i try to duplicate rac database into single instance window database.
there are same version both database. during importing, I need to create 4 undo tablespace to keep imp processing.
How to keep one undo tablespace in single instance database?
any experience of exp/imp RAC database into single instance database to share with me?
Thanks
Jim
Edited by: user589812 on Nov 13, 2009 10:35 AMJIm,
I also want to know can we add the exclude=tablespace on the impdp command for full database exp/imp?You can't use exclude=tablespace on exp/imp. It is for datapump expdp/impdp only.
I am very insteresting in your recommadition.
But for a full database impdp, how to exclude a table during full database imp? May I have a example for this case?
I used a expdp for full database exp. but I got a exp error in expdp log as ORA-31679: Table data object "SALE"."TOAD_PLAN_TABLE" has long columns, and longs can not >be loaded/unloaded using a network linkHaving long columns in a table means that it can't be exported/imported over a network link. To exclude this, you can use the exclude expression:
expdp user/password exclude=TABLE:"= 'SALES'" ...
This will exclude all tables named sales. If you have that table in schema scott and then in schema blake, it will exclude both of them. The error that you are getting is not a fatal error, but that table will not be exported/imported.
the final message as
Master table "SYSTEM"."SYS_EXPORT_FULL_01" successfully loaded/unloaded
Dump file set for SYSTEM.SYS_EXPORT_FULL_01 is:
F:\ORACLEBACKUP\SALEFULL091113.DMP
Job "SYSTEM"."SYS_EXPORT_FULL_01" completed with 1 error(s) at 16:50:26Yes, the fact that it did not export one table does not make the job fail, it will continue on exporting all other objects.
. I drop database that gerenated a expdp dump file.
and recreate blank database and then impdp again.
But I got lots of error as
ORA-39151: Table "SYSMAN"."MGMT_ARU_OUI_COMPONENTS" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "SYSMAN"."MGMT_BUG_ADVISORY" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
......ORA-31684: Object type TYPE_BODY:"SYSMAN"."MGMT_THRESHOLD" already exists
ORA-39111: Dependent object type TRIGGER:"SYSMAN"."SEV_ANNOTATION_INSERT_TR" skipped, base object type VIEW:"SYSMAN"."MGMT_SEVERITY_ANNOTATION" >already exists
and last line as
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 2581 error(s) at 11:54:57Yes, even though you think you have an empty database, if you have installed any apps or anything, it may create tables that could exist in your dumpfile. If you know that you want the tables from the dumpfile and not the existing ones in the database, then you can use this on the impdp command:
impdp user/password table_exists_action=replace ...
If a table that is being imported exists, DataPump will detect this, drop the table, then create the table. Then all of the dependent objects will be created. If you don't then the table and all of it's dependent objects will be skipped, (which is the default).
There are 4 options with table_exists_action
replace - I described above
skip - default, means skip the table and dependent objects like indexes, index statistics, table statistics, etc
append - keep the existing table and append the data to it, but skip dependent objects
truncate - truncate the existing table and add the data from the dumpfile, but skip dependent objects.
Hope this helps.
Dean -
Running OMBPlus and EXP/IMP in mixed version environment
OWB Mixed Environment Guru's
Current environment:
OWB Client: 10.1.0.2.0 on Windows XP Professional
OWB Server side: 10.1.0.2.0 on UNIX (AIX 5.2)
Repository: Oracle 9.2.0.4 on UNIX (AIX 5.2)
UNIX Listener: 9.2.0.4 on UNIX (AIX 5.2)
Runtime Repository: Oracle 9.2.0.4 on UNIX (AIX 5.2)
I call this a mixed environment since my OWB stuff is 10g and my database stuff is 9.2.
Issues:
1- I can't get the command line exp.sh script to connect to the repository and returns the famous 'ORA-12154, TNS:listener does not currently know of service requested in connect descriptor'. It looks like the 'owbsetenv.sh' script is changing the value of $ORACLE_HOME to point to the 10g areas. Could that be then causing the system to look for a 10g LISTENER which doesn't exist since all my databases are 9.2.0.4???
2- I have the same issue trying to run OMBPlus.sh.
I am ultimately trying to set up a promotion process using the UNIX command line programs (exp/imp and OMBPlus) to get objects from the TEST environment into the PRODUCTION environment which is a separate repository and target schema on a different machine.
Any advice on how to successfully operate in this 'mixed' environment is most welcomed.
Many thanks!
GaryWell it looks like I did it again!
Total brain fart.
The problem turned out that I wasn't specifying the entire SERVICE_NAME for the repository database. I had been leaving off the domain information. Must be a habit from not having to use it in the TNSNAMES.ORA files.
I was able to compelte my test export and connect to OMBPLUS and will now try my test import.
Sorry to clutter the forum but if it helps anyone else with the same affliction I seem to have frequently, I guess that's a small reward.
Until next time.
Gary -
Dear all,
I wanted to migrate database from 8i to 11g(8.1.5 to 11.1.0). I am going for exp/imp method. Which is the best method of doing this task? I mean Full export and Import Or Schemawise export and import? Is there any chances of missing objects or rows while doing this task? If yes, How to avoid? Please help me to take a best decision. I dont want any problem after migration.
Approach is (take exp of 8.1.5 and imp in 9.2.0) then (exp of 9.2.0 and imp it to 11.1.0.6)
OS is HP Unix
Nishant SanthanHave you not yet completed this task? As we have already answered to your question a couple of days back.
Take a look at the similar duplicate thread created by you.
Re: Migrating from 8i to 11g
Regards,
Sabdar Syed. -
Migrating from 9i to 10g through exp/imp
Hi,
We need to migrate a database on 9i in HP-UNIX to 10g in IBM AIX. Can you please tell me whether i can export data in 9i with 9i export utility and import it into 10g using 10g data pump utility for faster import ?
We don't have the 10g software installed in the HP-UNIX platform.
And what other alternatives we have to reduce the amount of time for the migration process as it's a critical Production database ?
Thanks,
JayantaI believe that Justin is correct that if you use exp to unload the data you will need to use imp and not impdp to reload the data.
To speed up the cross-platform exp/imp process I suggest you consider running multiple concurrent exp/imp jobs. You can generate a table=list into a spool file using sql. You can give each large table its own exp job and bunch the small tables.
Depending on how your database objects are organized you might also be albe to export by owner or a combination of owner, tables= exports.
You can use a full=y with the rows=n option to grab the public synonyms, non-owning users, packages, etc.... not brought in by the prior exp/imp.
HTH -- Mark D Powell -- -
Migrate oracle 9207 DB 8 TB size frm Solaris to AIX?dont want Exp/Imp
Hi Guys,PLz help
I want migrate 8TB oracle database from Solaris 8 to AIX 5.
In my last post on the same topic I was told to refer Metalink notes
291024.1,Note:77523.1,Note:277650.1
acc to these notes 'EXPORT/IMPORT IS THE ONLY OPTION TO MIGRATE FROM SOLARIS TO AIX'.
I was not convinced as In http://dba.ipbhost.com/index.php?showtopic=9523
I read
"As both solaris and AIX are UNIX O/S, cloning the DB is also possible from source box to target box"
Also
whats the role of "If the endianness is the same"??????
Can you guys plz comment on this again.....as I'm really confused because exp/imp of 8TB
is going to take half of my life :)
PLz tell in any other option in 9.2.0.7?If we have
ThanxYou can do
SELECT PLATFORM_NAME, ENDIAN_FORMAT
FROM V$TRANSPORTABLE_PLATFORMto check endianness of different platform.
-- Note, the view is only on 10g and above.
datafiles from different endian format can't be directly copied over and use. On 10g you have option to use RMAN convert endianness.
with that said, since Solaris and AIX are all big engianness. That means you can directly copy datafiles over and clone database without using exp/imp.
this article has a list of how to clone
http://www.dba-oracle.com/oracle_tips_db_copy.htm -
question and enhancement request(!) -
some customers/prospects claim teamworking / reusable components. goal is to use a page (including its components like regions,processes,items,...) in another application - could realized by exp/imp if we can do it.
This would improve reusability and also teamworking.
I work together with a collegue on an application at htmldb.oracle.com. We exported the appl. and work on our local databases at different tasks by different pages.
But how we can reimport our results?Lutz,
It's kind of difficult, but Raj described a procedure here: Synonyms
We are aware of the potential value of being able to copy pages between applications and are looking at ways to provide that in future versions of HTML DB.
Scott -
Exp/imp for upgrading database
Hi, Is it a good idea to use exp / imp to upgrade a database from 9i to 11g.To overcome parallel I plan to set ll tables degree to 8 manually and then start the export.Which is better conventional upgrade or exp/imp
HI,
Please check Oracle support id : How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database (Doc ID 286775.1)
Thank you -
I have problem,
I want to imp file.dmp to schemauser
schemauser have tablespace default USERS
then I exp schmeauser from my pc. I named file.dmp
then when
I imp from other pc,
I have prepare for schmeausernew with tablespace default tbspace.
when I imp the data I suprise with my default tablespace tbspace not using.
But my imp it take a place in USERS.
Sow my question is, How to imp automaticly to my default tablespace tbspace ???
I don't want to alter table tablespace when I must one by one and also my index.
Thanks.
for Supporting.Exp/Imp with tablespace autocreate?
imp user/pass tablespaces=dbtothis FULL=Y
Why still not into tablespace=dbtothis.
Still in Tablespace users
Thanks.
For help me.
Maybe you are looking for
-
Pricing: New condition type not getting listed in options in product master
Hi, I have created a new pricing procedure and also created a new condition type for it. I am trying to create a condition record in the product master for this condition type but the condition is not there in the list of conditions. How can I inlcu
-
Issue with Adobe Reader 11.0.0.9
I'm having a problem with Adobe Reader. The company I work for just updated their adobe Reader to version 11.0.0.9. I have a user having a problem opening up any pdf files and the actual program itself. Just get a quick cursor and nothing else. T
-
I am unable to open any old .doc files.
-
Auto-Repeating Layouts: Printing a Table's Rows Across and Down
Hi All, I am trying to do the following: I have a VO that i currently display in an Advanced Table on my page. However, the table displays the rows like this: <Row 1> <Row 2> <Row 3> <Row 4> And so on. My customer has required something like this: <R
-
Read the business role in the code
Hi Gurus, My Requirement is to diffrenciate codes based on business role. More like below pseudo code if BRole1. code 1 will be executed elseif BRole2 code 2 will be executed else. code 3 will be executed endif. Can you please let me know h