11gR2 to 10g Export/Import
Hello,
Does exporting from Oracle 11gR2 and importing to Oracle 10g work?
Thank you!
Alex,
this forum deals with migrations from foreign databases to Oracle. Your export/import question should be better posted in this forum:
Export/Import/SQL Loader & External Tables
You might also have a look at the My Oracle Support note:
Article-ID: Note 132904.1
Title: Compatibility Matrix for Export And Import Between
Different Oracle Versions [Video]
Similar Messages
-
Hi,
I imported a couple of tables using the export and import utilities. Here is a break down of the process.
-Exported SH schema as SH.
-Created a new user 'HT' as sys, granted it resource and connect roles.
-Ran import utility as HT and imported only 2 tables (sales & products) from the schema export .dmp file.
-The import runs successfully, saying the tables have been imported.
-I run a select against user_tables as HT to find the imported tables, which returns no rows selected.
Why is this?Hello,
How did you exported the tables?
If you are cloing the entire schema and using conventional export/import utility then do following
exp system/manager owner=userA file=userA.dmp log=userAexport.log
imp system/managet fromUser=userA toUser=userB file=userA.dmp log=userBimport.logAnd if you are importing just couple of tables then do following
exp username/password tables=table1,table2 file=tables.dmp log=tableexport.log
imp username/password tables=table1,table2 file=tables.dmp log=tableimport.log rows=Y ignore=Y
#With tables (make sure table doesn't exists in target schema).
imp username/password tables=table1,table2 file=tables.dmp log=tableimport.log YOu can also use datapump but it has different options and I recommend you should refer to oracle documenation for using datapump.
Regards
Edited by: OrionNet on May 25, 2009 2:27 PM -
10G export / import data pumps
1. What is metadata?
Thanks EricMaybe you've missed some parameters? Expdmp alsways needs to have some sort of info on what you want to export, i.e.:
expdp hr/hr TABLES=employees,jobs DUMPFILE=dpump_dir1:table.dmp NOLOGFILE=y
or
expdp hr/hr PARFILE=exp.par
with parfile contents being:
DIRECTORY=dpump_dir1
DUMPFILE=dataonly.dmp
CONTENT=DATA_ONLY
EXCLUDE=TABLE:"IN ('COUNTRIES', 'LOCATIONS', 'REGIONS')"
QUERY=employees:"WHERE department_id !=50 ORDER BY employee_id"
These examples are from the documentation on Utilities, so you can look up all the possible parameters there. -
Error while Export from 10g and import to 11g
Hi,
I get the following error on few tables when i try to export from 10g and import to 11g DB.
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
. importing TBAADM's objects into TEST
. . importing table "ACCT_AUTH_SIGN_TABLE"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "TEST"."ACCT_AUTH_SIGN_TABLE"."MODE_OF_DESPATCH" (actual: 3, maximum: 1)
How to over come this ?
Regards,
jibuJibu wrote:
Hi,
I get the following error on few tables when i try to export from 10g and import to 11g DB.
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
. importing TBAADM's objects into TEST
. . importing table "ACCT_AUTH_SIGN_TABLE"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "TEST"."ACCT_AUTH_SIGN_TABLE"."MODE_OF_DESPATCH" (actual: 3, maximum: 1)
How to over come this ?
Regards,
jibu
[oracle@localhost sql]$ oerr ora 12899
12899, 00000, "value too large for column %s (actual: %s, maximum: %s)"
// *Cause: An attempt was made to insert or update a column with a value
// which is too wide for the width of the destination column.
// The name of the column is given, along with the actual width
// of the value, and the maximum allowed width of the column.
// Note that widths are reported in characters if character length
// semantics are in effect for the column, otherwise widths are
// reported in bytes.
// *Action: Examine the SQL statement for correctness. Check source
// and destination column data types.
// Either make the destination column wider, or use a subset
// of the source column (i.e. use substring). -
Database Migration 10g, difference in export/import from 8.1.6 and DBUA
i would like to know if there is any difference in migrating using export/import methods from 8.1.6 and migration using dbua from 8.1.6 -> 8.1.7 -> 10g. In terms of tablespaces, datafiles performance .
Will the DBUA convert the tablespaces automatically to take advantage of 10g ?
Thanks .Hi,
If we refer to the Oracle doc, it's depend of your 10g release.<br>
Into Upgrade Paths 10.2, you need to upgrade your 8i firstly in 8.1.7.4.<br>
Into Upgrade Paths 10.1, you you can directly migrate.<br>
Anyway, you need to use 8iexp utility, and 10g imp utility : Using Different Releases of Export and Import 10.1 or Using Different Releases of Export and Import 10.2.<br>
<br>
Nicolas. -
Very Urgent - Export Oracle 10G and Import Oracle 9i
Dear Friends,
I am in a very tense sitution. Please help to sort out this problem. I am running an application against Oracle 10G. Now I want the the data of the application running under 10G(server A) to be imported to Oracle 9i (another Server B) and run the same application. What should I do so that i can export the data from Oracle 10G and import in Oracle 9i.
Please treat this as very urgent.You need to post your question in the database forum. This forum is for Oracle Forms. There are database tools such as SQL Developer that let you move data back and forth between databases.
-
Comparision of Oracle upgrade(9i to 10g) and export/import process
Hi Friends,
I have a schema in Oracle 9i Database and i would like to have it in Oracle 10g.
I ned to know what will be the advantages and disavantages between the Oracle upgrade(9i and 10g) and export/import (9i export and 10g import)process?
Please suggest.
RegardsPlease go this link for new features of 10g:
[http://www.oracle.com/technology/pub/articles/10gdba/index.html]
For export and import go to this link:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm
Regards
Asif Kabir -
Exporting & Importing Contexts in ODI 10g
Hi,
I am using ODI 10g.
I want to export Contexts from topology manager from my ODI test environment and import those contexts in ODI production environment.
My requirement is that I want to export & import the contexts using some scripts and not manually.
What steps can I follow for this?
Thanks,
DivyaHi Divya,
Personally i feel rather than exporting individual components/objects, its suggested to export master repository as such.
You can make use of ODI utility OdiExportMaster (under <ur package>->Tools->Oracle Data Integrator Objects) for exporting and Import Master Repository wizard (All Programs->Oracle-> Oracle Data Integrator->Repository Management-> Master Repository Import )for importing.
Thanks,
Guru. -
Export/import from 9i to 10G
Dear all
i have oracle 9i database on windows
i want to migrate to 10G on windows
i know it is done by export/import utility but how it can be done please let me know as i need step by step documentation of it
please let me know its urgent
RegardsTo do a proper upgrade, I would go through the Upgrade Guide make sure my server hardware and configuration met pre-requirement, there's no compatibility issue between my applications and newly upgraded server etc.
The Guide is very detailed and thorough.
I really don't think there's a document that is both simple and in details.
The upgrade guide even has a section specially talk about export/import option
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14238/expimp.htm#i262247 -
Exporting/importing policies in OAM 10g
How can I export/import policies in 10.1.4.3? Is there a command-line tool for this? Appreciate any advice.
Thanks,
AlexHi,
You can do this by migrating the LDAP data, since all the config/policy data is stored in the LDAP.
Here are a high level steps of what might be required -
(Note: These may not be the complete tasks which you might have to do, and may differ for your settings).
-> Ensure the LDAP (in both envs) are of the same version, and the schema are the same.
-> If the schema has been copied as well, make sure the references have been changed (hostname, IP, etc, if any).
-> Take a backup of the the data in the from/to environment(s).
-> Export the config data (and policy data if req) from the existing env into an ldif file using LDAP commands or using an LDAP Editor (Eg: Apache Directory Studio).
-> Change references (hostname, IP, etc, (if any)) to match the new environment settings. (Eg: obDBAgentHost).
-> Import the ldif file in the new environment.
-> Ensure the components (LDAP, OIS, AAA, Webserver) comes up fine in the new environment. (After installing/configuring the required OAM components).
-> Reconfig components if necessary.
-- Pramod Aravind -
Best choice for exporting / importing EUL
Hi all
I have been tasked with migrating an EUL from a R11 to a R12 environment. The Discoverer version on both environments is 10.1.2 and the OS is Solaris on oracle db's.
I am unfortunately not experienced with Discoverer and there seems to be no one available to assist for various reasons. So I have been reading the manual and forum posts and viewing metalink articles.
I tried exporting the entire eul via the wizard and then importing it to the new environment but i was not successfull and experienced the system hanging for many hours with a white screen and the log file just ended.
I assumed this was a memory problem or slow network issues causing this delay. Someone suggested I export import the EUL in pieces and this seemed to be effective but I got missing item warnings when trying to open reports. This piece meal approach also worried me regarding consistency.
So I decided to try do the full import on the server to try negate the first problem I experienced. Due to the clients security policies I am not able to open the source eul and send it to our dev. I was able to get it from their dev 11 system but I dismissed this as the dev reports were not working and the only reliable eul is the Prod one. I managed to get a prod eex file from a client resource but the upload to my server was extremely slow.
I asked the dba to assit with the third option of exporting a db dump of the eul_us and importing this into my r12 dev environment. I managed this but had to export the db file using sys which alleviated a priviledge problem when logging in, I have reports that run and my user can see the reports but there are reports that were not shared to sysadmin in the source enviroment are now prefixed with the version 11 user_id in my desktop and the user cannot see her reports only the sysadmin ones.
I refreshed the BA's using a shell script I made up which uses the java cmd with parameters.
After some re reading I tried selecting all the options in the validate menu and refreshing in the discover admin tool.
If I validate and refresh the BA using the admin tool I get the hanging screen and a lot of warnings that items are missing( so much for my java cmd refresh!) and now the report will not open and I see the substitute missing item dialogue boxes.
My question to the forum is which would be the best approach to migrate the entire eul from a R11 instance to a R12 instance in these circumstances?
Many thanks
Regards
NickHi Srini
The os and db details are as follows:
Source:
eBus 11.5.2
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
SunOS 5.10 Generic_142900-11 sun4u sparc SUNW,Sun-Fire-V890
Target:
ebus 12.1.2
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production DEV12
SunOS 5.10 Generic_142900-11 sun4u sparc SUNW,Sun-Fire-V890
Yes the DBA initially did an exp for me using EUL_US as the owner but a strange thing happened with privileges and also, some of the imported tables appeared in the target environment under the apps schema(21 tables) even though the eul_us exp had been 48 tables.
I also had a problem on the db with "eul_us has insufficient privileges on table space discoverer" type errors.
I checked the eul_us db privileges and was unable to resolve this initial privilege error even though the privileges were granted to eul_us.
The dba managed to exp as system and then import it with the full=y flag in the import command which seems to bring in the privileges.
Then I ran the eul5_id.sql and then made up a list of the business areas and made a sh script to refresh the business areas as follows:
java -jar eulbuilder.jar -connect sysadmin/oracle1@dev -apps_user -apps_responsibility "System Administrator" -refresh_business_area "ABM Activities" -log refresh.log
This runs successfully and I can log in select business area and grant access to the users. The reports return data.
Then one of the users said she can't see all her reports. I noticed some if I opened desktop that were sitting there prefixed with a hash and her version 11 user id.
So back to the manuals and in the disco admin help the instructions are to first go to view > validate > select all options then go to the business area and click file refresh. This gives me a lot of warnings about items that are missing. I assume this is because the item identifiers brought across in the db dump are the version 11 ones and thus not found in the new system.
Any suggestions?
Many thanks
Nick -
Export/Import in Oracle8i to Oracle10g
Hi,
We have an Oracle8i Enterprise Edition Release 8.1.6.0.0(32 Bit) running on AIX4.3.3,we are planning to upgrade/migrate it to[b] Oracle10g running on AIX5.3.If i do an export from oracle8i whether i can import it in Oracle 10g without any issues.
Regards,
CherryDear All,
Thanks for your efforts.
I have solved this problem and running the db in windows 2000 server without any problem.
Solution:
A tablespace should be created in the same name, size as in the solaris server. we cant transfer a tablespace created by solaris to windows. Before importing the data we need to create a tablespace and assign to the user (empuser).
here is the method that works for me.
1.GENERAL STEPS TO FOLLOW:
WINDOWS 2000 Server:
Install Oracle 9i release 1 (9.0.1.1.1) in windows 2000 server.
Create a database with following parameters;
1. Select 'General Database'
2. Global Database Name: EMP
3. SID: EMP
4. All default Options and click finish to create and start the oracle instance.
5. Login to SQL-PLUS (username: scott, Password: tiger, Hoststring: <empty>)
6. Connect as sys/change_on_install as sysdba;
7. CREATE TABLESPACE empdeploy DATAFILE 'C:\oracle\oradata\EMP\emp_data_new.dbf' SIZE 1000m AUTOEXTEND ON NEXT 100m MAXSIZE 2048m EXTENT MANAGEMENT LOCAL;
8. CREATE USER empuser IDENTIFIED BY emppass DEFAULT TABLESPACE EMPDEPLOY TEMPORARY TABLESPACE TEMP;
9. GRANT DBA TO EMPUSER (Im not sure whether i given this command or not, dont use this unless u get error during import)
10. disconnect
References:
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_8003.htm
http://www.adp-gmbh.ch/ora/sql/create_tablespace.html
SUN-SOLARIS 5.6 (SPARC):
It is running Oracle Enterprise edition 8.1.6.
Get the informations below,
INSTANCE NAME
SID
USER HAVING CONTROL TO THAT INSTANCE (like here it was EMPUSER)
TABLESPACES USED
TABLESPACE NAME
DATAFILE NAME and PATH
ORACLE VERSION
2.EXPORT/IMPORT PROCEDURE:
I) Exporting Database from SOLARIS SERVER:
option-1:
exp empuser/emppass
leave all default options
Select Entire database to export (option 1)
YOU SHOULD GET 'Export terminated successfully without warnings'. (Failure causes may be low disk space, ensure that u have enough disk space)
Option-2:
exp empuser/emppass
leave all default options
Enter the user name whose tables to be exported: EMPUSER
Enter the user name whose tables to be exported: <Enter-to-quit>
YOU SHOULD GET 'Export terminated successfully without warnings'.
Option-3:
exp TRIGGERS=y CONSTRAINTS=y GRANTS=y FILE=expdat.dmp
Username: EMPUSER as sysdba
Password: emppass
leave all default options
Select Entire database to export (option 1)
YOU SHOULD GET 'Export terminated successfully without warnings'.
Option-4 (99% wont Work, RISKY):
EXPORT THE TRANSPORTABLE TABLE SPACE (This is different from exporting tables/data, so if all the above fails then export the Transportable table space and import into windows probably it will fail due to platform issue and CHARACTER SET Conversion)
Now import the expdat.dmp file again and see.
Change the required TABLESPACES READ ONLY.
exp TRANSPORT_TABLESPACE=y TABLESPACES=PMTDEPLOY TRIGGERS=y CONSTRAINTS=y GRANTS=y FILE=expdat.dmp
Username: EMPUSER as sysdba
Password: emppass
YOU SHOULD GET 'Export terminated successfully without warnings'.
Now Again Change the TABLESPACES to READ WRITE. (If you forgot this production server cant able to write to the database, the database will be left in read-only mode.)
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
II) TRANSFERRING EXPORTED DATA FROM SOLARIS TO WINDOWS 2000 Server.
Now from windows system,
Open command prompt.
connect to SOLARIS SERVER USING FTP.
( cd /user1/home/oracle)change to the Path where you have exported the expdat.dmp file.
set the transfer mode to binary (dont use the default ASCII Transfer Mode)
get expdat.dmp
close
quit
Now the database was successfully exported from solaris and transferred to Windows 2000 server.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
III) Importing the Database in Windows 2000 server:
Open a Command prompt,
imp FULL=y IGNORE=n
Enter User Name : empuser
Password : emppass
You should get the same messages what you got during export, with out any other warnings or big messages running in the screen.
After completion you will get,
'Import terminated successfully without warnings'.
+++++++++Now Login thru SQLPLUS using username: empuser, password: emppass++++++++++
#the following query should return the total number of tables (142 here), this should be same as what you get in solaris. If you get 'no rows selected' then the import was failed, may be take a look at creating tablespaces, or around tablespaces)
select * from tab;
142 rows selected.
A kind request:
if you got your problem solved, please update the forum / usergroup and write how you solved the problem. this might be helpful for others who may face the same trouble. for me also there was some old postings that having similar problem. but they haven't given the solution. after their problem solved just left this forums.
Thanks & Regards,
Sakthivel -
Export - Import in Oracle Application Database
The export in Oracle Applications Database works fine.
But the import always show some issue and sometimes never completes.
Even if it completes it complete with error , how to ensure an error free export/import ?
How to handle a table movement if the table consists of a LONG column ?The errors are cannot import this tables..
Also mostly are of Long tables..Any IMP-XXXXX or ORA-XXXXX messages?
Can you explain how long objects are exported and imported ?What type of objects?
What is the database version?
Are you doing a full database import?
Also sometimes import hangs for 2/3 days?Does it hang when importing a specific object?
Did you follow the steps outlined in the following notes when you did the Export/Import?
Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362205.1
Note: 230627.1 - 9i Export/Import Process for Oracle Applications Release 11i
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230627.1 -
Export/import in 904 versus 10.1.2
We have two 10G AS 904 installs (dev and prod - same O/S too). From time to time we move our production portal content to the dev server. We sometimes get corruption and have to use the Schema validation Utility scripts to fix the import to the dev server. Not a show stopper but this adds another manual step to the process.
I see the 10.1.2 version has improved import/export checks. Can anyone give feedback on the improvements in the export/import process?
Thanks
KevinKevin,
Careful with this approach. Passing from DEV to PROD is ok, but then to DEV back again, what I suggest you is that you have a clean start on DEV, ie, clean the DEV machine and later do the same to the PROD. Portal Export / Import works only in one-way and not both ways (this basically has to do with the checks we do make and with possible conflicts with the objects on both sides). Also check the available documentation... which is all compiled in Metalink Note:263995.1 - Master Note for OracleAS Portal Export / Import Issues
As to the improvement of the process, please give it a check on the New Features papers (make a find on "export" - it is easier to pick the references):-
10.1.2 -- http://www.oracle.com/technology/products/ias/pdf/1012_nf_paper.pdf
10.1.4 -- http://www.oracle.com/technology/products/ias/portal/pdf/portal_1014_new_features.pdf
I hope it helps...
Cheers,
Pedro. -
hi,
When i do an export – import from one OWB repository to another of an OWB mapping having a MERGE statement some of the columns are missing in the MERGE. I am using OWB 10g R2.
Eg: if the MERGE is based on columns c1, c2, c3 after the export-import the mapping to a different environment the imported mapping is having the MERGE based on only c1
ThanksThere is Bug 5705198: LOADING PROPERTIES CHANGED AFTER MDL EXPORT/IMPORT (fixed in 10.2.0.4 OWB patchset), similar problem with lost MATCH COLUMN WHEN UPDATING ROW property during MDL import.
Maybe it is your case.
There is not workaround for this problem, only patching to OWB 10.2.0.4
Regards,
Oleg
Maybe you are looking for
-
i'm not very techy - can someone help me in simple, laymen's terms?! thanks.
-
HT4436 How do I change/create a new icloud account associated with my appleid.
I created an icloud email account through my MacBook Pro and need to change it. I deleted the account from appleid.agfa.com, but when i logout from my appleid in icloud on the MacBook Pro and relogin, I can't create a new account. Any way to create
-
After update 8.1.2 i had problem with sync my content from ITunes with IPod
After update 8.1.2 i had problem with sync my content from ITunes with IPod. It stucks on moment when its waiting for implementing changes (step 5 of 5) Hours and hours i'm waiting but still the same. So i cant use my Ipod at all. I restarted Ipod an
-
Updated to iso 5 and the call notifiactions not working
updated to iso 5 for the new notifiactions center and all working fine except the call funcation when someone calls you if you are browsing or playing a game you should get a banner at the top of the screen but i dont i fet the old inturpation and ta
-
Cannot load script for the required change in butt...
I got the email saying Skype will be changed after 15 March. It says we need the new buttons. So I go the site, and then there is a big box which says: "cut and paste this" which is: <script type="text/javascript" src="http://www.skypeassets.com/i/