Migrating from non-logging Informix to Oracle (use of transactions)
I wonder what happens when I migrate an Informix non-logging database to Oracle. Since my database doesn't use transaction (that's to say: a single DML sentence defines a transaction and transactions using begin/commit/rolback trans are not used), applications are written with no transaction philosophy. But Oracle is ANSI-compliant and then when I execute a DML sentence, a transaction begin and it'll finish until I send commit or logout. Then, even when migration is ok, my applications will create very large transactions.
What should I do? Is there some parameter to configure Oracle in such way it create single-DML transaction (I heard there's something like that in SQL*Plus, but I'm not sure)? Or should I rewrite applications sending commits after every sentence (The worst case, I think)?
Thanks in advance
Omar Muqoz
Hi Oscar,
Without actually viewing the Client application code, I can only make general assumptions..
You will have to change the client code anyway in order for it to work with Oracle e.g. Informix E/SQL -> Oracle Pro*C. The E/SQL Client code will have to be updated to reflect various changes in the DB environment; for example:
1. The use of REF CURSORS (passing them back to the client code)
2. Changes to the hardcoded Informix SQL statements to make them Oracle friendly (especially OUTER joins if you migrating to Oracle 8i)
3. Altering any E/SQL code that dynamically builds SQL statements (to make sure these SQL statements are syntactically correct in the Oracle model).
4. DB Connection methodologies.
5. Changing Informix #include files to reference equivalent Oracle #includes
6. Differences in date structs and how E/SQL and Pro*C handle dates (Oracle did not support milliseconds until 9i)
7. Exception handling.
8. Datatype changes between Informix and Oracle.
Again, there is no simple solution. A migration project that migrated the DB and Applications 'in tandem' would make it easier to remove logic from the client code and place it in the server (always a good thing) but this may not be feasable in your case.
Similar Messages
-
Migrating from non-loggin Informix to Oracle (use of transactions)
I wonder what happens when I migrate an Informix non-logging database to Oracle. Since my database doesn't use transaction (that's to say: a single DML sentence define a transaction and ttransactions using begin/commit/rolback trans are not used), applications are written with no transaction philosophy. But Oracle is ANSI-compliant and then when I execute a DML sentence, a transaction begin and it'll finish until I send commit or logout. Then, even when migration is ok, my applications will create very large transactions.
Hi Oscar,
Without actually viewing the Client application code, I can only make general assumptions..
You will have to change the client code anyway in order for it to work with Oracle e.g. Informix E/SQL -> Oracle Pro*C. The E/SQL Client code will have to be updated to reflect various changes in the DB environment; for example:
1. The use of REF CURSORS (passing them back to the client code)
2. Changes to the hardcoded Informix SQL statements to make them Oracle friendly (especially OUTER joins if you migrating to Oracle 8i)
3. Altering any E/SQL code that dynamically builds SQL statements (to make sure these SQL statements are syntactically correct in the Oracle model).
4. DB Connection methodologies.
5. Changing Informix #include files to reference equivalent Oracle #includes
6. Differences in date structs and how E/SQL and Pro*C handle dates (Oracle did not support milliseconds until 9i)
7. Exception handling.
8. Datatype changes between Informix and Oracle.
Again, there is no simple solution. A migration project that migrated the DB and Applications 'in tandem' would make it easier to remove logic from the client code and place it in the server (always a good thing) but this may not be feasable in your case. -
Migrate From MS Access 2003 to Oracle using Oracle SQL Developer 3.0
Hello All,
I am trying to migrate Access DB .mdb using the Oracle SQL Dev 3.0 Data Migration Wizard, everything go very nice and smooth until the Capture Step, for sure am using the online mode, in the Capture Step the list of available databases is empty and a Msg Box saying that the DB list should have at leats one database selected, so I don't know what's that mean or how to fix this.
in my .mdb file I have four tables and I can copy the data to Oracle using the Right click and copy to Oracle Function, but it really takes much time.
Any help would be really appreciated and thanks in advance.
yours,
HusseinJust to clarify:
You have created the migration repository and start the migration using Tools => Migration => Migrate
- now you've selected the repositiry
- specified a project
- selected the source database
=> you've choosen the ONLINE Mode
==>> and now you don't see your MS Access database in the "Connection" List
Is this correct?
If the steps you're doing match the steps I've posted above, then please be aware for MS Access migrations you need to choose the OFFLINE method. The MS Access source database information is collected by the MS Access Exporter available from Tools => Migration => MS Access Exporter
Once you've created the XML/OCP file you specify this newly created file during the OFFLINE migration mode.
If your steps differ from mine, please post yours more detailed.
Thx. -
Migration from SQL SERVER 2008 to Oracle 10g issues.
Hi ,
I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
First, I was following a tutorial
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
My first question is how can I either add this option or is there a new way to load the capture script ?
Then I use the migration wizard and after following everything, I had the migration complete message from the application.
When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
What do I do in this case ?
Thanks !Thank you for your reply.
After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
Edited by: 873671 on Jul 20, 2011 7:03 AM
Edited by: 873671 on Jul 20, 2011 7:19 AM -
Syntax errors while migrating from non- unicode to Uni code
What are the syntax errors while migrating from non unicode to Uni code
Hi Sudheer,
u can get the information related to errors while migrating from non- unicode to Uni code from the below...pls go through...
Note 765475 - Unicode Conversion: Troubleshooting
these are the notes related to the issues of migration form non unicode to ounicode.
Related Notes
986907 - SQL Server settings for R3load based system copy
954001 - Error fix: ILLEGAL_SUBSTRING_MODIFICATION in SUMG
936441 - Oracle settings for R3load based system copy
928909 - Repair table data in SUMG in Unicode systems
895804 - Problematic rows in table DMEE_TREE_NODE
895560 - Support for languages only available in Unicode system
885441 - Common Migration Errors
842788 - DB Multiconnect: Unicode Migration
837173 - RADCUCNT in Unicode Conversion: Collective Note
756534 - Automatic Assignment of Languages with Character Statistics
753334 - Unicode Conversion: Problem in Japanese device types
726954 - Private Use Areas in Unicode Systems
722193 - RFC legacy non-Unicode clients and Unicode servers
718329 - R3load terminates the export during a Unicode conversion
695196 - Error in the export for Unicode migration
672835 - Textflags could cause problems during Unicode conversion
627764 - Unicode migration: table pools inconsistent after conversion
614550 - Troubleshooting BC-I18
587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
573044 - Unicode conversion for HR application
480671 - The Text Language Flag of LANG Fields
379940 - Unicode based mySAP availability
79991 - Multi-Language and Unicode support of SAP applications
73606 - Supported Languages and Code Pages
42305 - RSCPINST (I18N configuration tool)
regards,
rudra..
Assign points if helpful -
Data length problem migrating from sql server 7 to oracle 8i
I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.
Hi Roberto,
You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
Oracle 8.
However, the good news is that we have a new verion of the
workbench that will have a plugin that can migrate from SQL
Server 7.0 to Oracle8.
A beta version will be downloadable from this web-site in approx
one week. Eventhough this version is a beta version, it has
undergone some rigourous testing and is very close to production.
Regards
John
Roberto Werneck (guest) wrote:
: I would like to know if it is possible to use the workbench
: 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
what
: kinds of problems would i probably have. If not, how can i get
: the Beta version ?
: Thanks,
Oracle Technology Network
http://technet.oracle.com
null -
Migration from SQL 7.0 to Oracle
Hey guys !
I am required to migrate from MS SQL7.0 to oracle which has around 150 stored procedures and a database schema of 50 tables.
its oracle 8/8i version.
can u suggest how to go about ?
ie. should I used Migration workbench or go doing it conventionally.
thankx in advance
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle Migration Workbench Team:
Hi Ashish,
Download version 1.2.5.0.0 of the Oracle Migration Wrokbench from this site. It allows you to migrate SQL Server 7.0 to Oracle 8i running on any platform e.g. solaris, NT etc
Regards
John<HR></BLOCKQUOTE>
null -
Migrating From Sql Server 2005 to Oracle (Uniqueidentifier Issue)
If i want to migrate from SQL SERVER 2005 to Oracle, How Oracle will deal with my primary key columns in almost all tables having datatype of UNIQUEIDENTIFIER ???
is there any concept of uniqueidentifier in Oracle same as in SQL SERVER ????
RegardsWhen you migrate your SP's from SQL Server to Oracle the parser basically does 'as good a job as it can' to migrate them.
Luckily, using SQL Developer you are able to look at the source SP and converted SP in windows next to each other and see what oracle has done to them.
You can also paste your SQL Server code into a window and ask SQL Developer to translate it to oracle for you. Use the 'Translation Scratch Editor' on the migration menu if this is something that interests you. I was told that the parser used by the Translation Scratch Editor is different to the parser used when migrating the whole database. -
Migrating from Sql Server 7 to Oracle 8
I would like to know if it is possible to use the workbench
1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible what
kinds of problems would i probably have. If not, how can i get
the Beta version ?
Thanks,
nullHi Roberto,
You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
Oracle 8.
However, the good news is that we have a new verion of the
workbench that will have a plugin that can migrate from SQL
Server 7.0 to Oracle8.
A beta version will be downloadable from this web-site in approx
one week. Eventhough this version is a beta version, it has
undergone some rigourous testing and is very close to production.
Regards
John
Roberto Werneck (guest) wrote:
: I would like to know if it is possible to use the workbench
: 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
what
: kinds of problems would i probably have. If not, how can i get
: the Beta version ?
: Thanks,
Oracle Technology Network
http://technet.oracle.com
null -
Migration from Interbase 7.0 to Oracle 9i
Hi,
Does anyone have any documents/tool on migration from interbase 7.0 to Oracle 9i.
Thanks,
DivyeshRichard,
To connect to an Informix Dynamic Server, you must copy the ifxjdbc.jar Informix Dynamic Server JDBC driver file to the %ORACLE_HOME%\Omwb\drivers directory before running the Migration Workbench. Otherwise, when you attempt to capture a Migration Workbench database, you receive the following error message:
No Suitable Driver Found.
If you receive this error message, copy the ifxjdbc.jar file to the %ORACLE_HOME%\Omwb\drivers directory, then restart the Migration Workbench.
If this ok and you still get the error message check paths in your %ORACLE_HOME%\Omwb\bin\omwb.bat.
I hope it helps you.
Mireille MEGE -
Migration from SQL Server 7 to oracle 8.1.7 on windows 2000 professional
Hello All,
I am currently working on Database migration from sql server 7 to oracle 8.1.7.
My setup is as follows:
1. Both the databases (sql server and oracle are on the same machine )
2. My sql server database contains 200 tables and 190 stored procedures, which need to be migrated to oracle.
When i am trying to capture the Source database details, its capturing evry thing but when its mapping at the end ...it says "MAPPING ROLE PUBLIC" and its not proceeding furthur..What do u want me to do ? i waited for approx 1 hr , still its not proceeding....How to resolve this bug ?
Also please suggest me the best methodology for Migrating the stored procedures. allmost all my stored procedures have TEMP Tables implemented in it. Please help me in this...
Also please let me know the Timeframe estimate for this total thing to be done..
Waiting for your reply,
Thanks and Regards
SAI SREENIVAS JEEDIGUNTAYou can user Oracle Migration Workbench to migrate from SQL Server to Oracle.
Here is the link which gives info on software usage and download :
http://otn.oracle.com/tech/migration/workbench/content.html
Chandar -
When using the migrate tool to migrate from windows to mac, can you use ethernet to connect the computers to each other? In the Migration tool, I was only given the option of choosing the computer when it appeared on the same network, and didn't see an option to connect them to each other. Even though they're both connected to the same network with a wired connection, the migration is painfully slow.
Yes. The following quotation is from About Windows Migration Assistant
These are the preferred network connections, in order:
Use a CAT6-certified Ethernet cable that is in good condition to connect the Ethernet port of the PC directly to the Ethernet port of the Mac or Ethernet adaptor (USB or Thunderbolt). You shouldn't use an Ethernet cable that has any kinks in it or is missing connector tabs.
Use CAT6-certified Ethernet cables that are in good condition to connect the Mac and PC to your home network router/hub/switch. You shouldn't use an Ethernet cable that has any kinks in it or is missing connector tabs.
For wireless, use the fastest wireless signal possible (802.11n 5Ghz). Try to have the PC, Mac, and the wireless access point all in the same room close to each other. -
Data Migration from MS Excel Sheet to Oracle 9i Database
Can anyone please help me to perform a data migration from MS excel sheet to Oracle 9i Database. I have an excel sheet from which i need to move data to the database. One of the columns in the sheet posseses multiple new line characters, and which causes a problem while migrating data with the help of SQL Loader. I would like to know whether any utility is available to migrate data directly from MS Excel sheet to the database, or it would he really helpfull for me , if anyone provide me with an alternate solution.
I think Christian's suggestion will work for easily and quickly.
1) create table link of Oracle target table in MS Office's ACCESS thru ODBC;
2) from Access screen, you may easily dump the excel data into the linked table.
This is very easy and feasible ways. Don't bother to find other ways. The other ways will need you to clear the unwanted carriage return signs first. -
DB Upgrade+Migrate from 10.1 to 11.2 using IMPDP with network_link param
Dear all,
I would like to upgrade and migrate my 10.1.0.5 DB on old server to 11.2.0.2 on new server.
Here is the background info:
Old server:
OS : Redhat Linux AS 2.1
DB Version : 10.1.0.5 (32 bit)
No RAC
New Server:
OS : OEL 5.5
DB Version : 11.2.0.2
RAC
ASM
What I have done so far:
1. Create new clustered 11Gr2 DB on new server.
2. Pre-create tablespaces on new DB.
3. Migrate 10.1.0.5 to 11.2.0.2 using IMPDP.
impdp system/******* DIRECTORY=dump_file_dir NETWORK_LINK=DWH_DBLINK LOGFILE=log_file_dir:DWH_import_20110621.log FULL=Y SERVICE_NAME=dwhdb.xxx.xxx TABLE_EXISTS_ACTION=replace cluster=N exclude=statistics
4. After IMPDP complete, invalid objects and components are found, run utlrp.sql no help
SQL> select owner, count(*) from dba_objects where status = 'INVALID' group by owner;
OWNER COUNT(*)
WKSYS 16
PUBLIC 12
OLAPSYS 7
ODM 21
SYS 2
WMSYS 11
12 rows selected.
SQL> select comp_name, status, version from dba_registry;
COMP_NAME STATUS VERSION
OWB VALID 11.2.0.2.0
Oracle Application Express VALID 3.2.1.00.12
Oracle Enterprise Manager VALID 11.2.0.2.0
OLAP Catalog VALID 11.2.0.2.0
Spatial VALID 11.2.0.2.0
Oracle Multimedia VALID 11.2.0.2.0
Oracle XML Database VALID 11.2.0.2.0
Oracle Text VALID 11.2.0.2.0
Oracle Expression Filter VALID 11.2.0.2.0
Oracle Rules Manager VALID 11.2.0.2.0
Oracle Workspace Manager INVALID 11.2.0.2.0
Oracle Database Catalog Views VALID 11.2.0.2.0
Oracle Database Packages and Types INVALID 11.2.0.2.0
JServer JAVA Virtual Machine VALID 11.2.0.2.0
Oracle XDK VALID 11.2.0.2.0
Oracle Database Java Packages VALID 11.2.0.2.0
OLAP Analytic Workspace VALID 11.2.0.2.0
Oracle OLAP API VALID 11.2.0.2.0
Oracle Real Application Clusters VALID 11.2.0.2.0
19 rows selected.
5. Check SYS's invalid objects, e.g. DBA_OUTLINE_HINTS, after tracing the reason, find outln.ol$hints is replaced by 10.1.0.5 version. I think it is due to the IMPDP's "TABLE_EXISTS_ACTION=replace" parameter.
Others invalid objects like WMSYS.WM$ENV_VARS, also replaced by old version.
What should I do now?
Do I need to run upgrade script after DB migration using IMPDP?
Is the migration procedure correct?
Please advise
Thanks in advanceHi,
It looks like you've messed up the Non User (Oracle default user) data and/or metadata i.e sys, system, wksys.
How many non Oracle default user do you have? and how big is the database? If you're using this method I'm assuming the data is not really big.
I personally will not do full export/ import across different version, its better to just export the non default Oracle user schema as you might ended up messed up the sys objects, etc
What you might do is
- drop the 11g database and start from beginning again but exclude Oracle default user e.g sys,system, etc
- or try run catupgrd.sql script (this will drop and recreate the objects), -this may or may not be fixing your invalid components
Cheers -
Migration From SQL Server 2005 to Oracle DB through Oracle SQ Dev Problem
Hi all,
we are trying to do a full Migration from MS SQL Server 2005 to Oracle DB 9.2 i
we are using Oracle SQL Developer V 1.5.3,
the capturing of the DB and the conversion to the oracle model completed succefully
however when we try to generate the scripts from the converted model
the script generation hangs on a sequence and no further progress is made (the script generation pop up keeps still on a certain sequence displaying its name, and thats it )
no error messages are displayed,
how can we know the reason for this? or atleast find a log for whats happening...
any suggestions?
Thank youHi,
migrating a sequence shouldn't make a problem. I did a quick test. I created this table in SQL Server:
create table test_seq (col1 int identity(1,1),col2 char(1))
Then I captured the table, converted the table and generated the script. There was no problem.
CREATE SEQUENCE succeeded.
CREATE TABLE succeeded.
Connected
TRIGGER test_seq_col1_TRG Compiled.
As you see, applying the script was also successful.
I am using Oracle RDBMS 11g, I don't know whether this makes a difference. Do you have any 11g instance available to test it?
Can you show me one of the sequences that are causing the hang? Is the CREATE SEQUENCE statement already in the generated script, or not? Your table is for sure more complex than my simple example.
Regards,
Wolfgang
Edited by: wkobargs on Jan 13, 2009 3:01 AM
Maybe you are looking for
-
ERROR for save a form created in XML Form Builder
Hello everyone: I am having an error message when I try to save a form in the XML form builder and I donk know what I need to do for fix it. Warning: An error occurred when copying temporary files. The saved project state can be opened in the XML For
-
ITunes freezes when I connect my iPad, what is causing this?
My iPad continuously boots me out of my apps when i try and use them, Someone suggested I clean it and refill it. My problem is that when I connect it to my PC to sync it with iTunes, my iTune software freezes. I can click on anything with no result.
-
I dropped my macbook...
and I don't know if it is broken. It is dented in where I plug in the adapter to charge the computer. The end of the charger wont fit in right and falls out with slight movement. The screen shifted over to the left side and the left side of the keybo
-
Can I ask if the free trial version that I downloaded is supposed to function fully or is it limited in ways from the paid version? Please answer this specifically....when I just downloaded the free trial of Illustrator, it seems limited in its funct
-
hi, i am using normal alv edit report, in list 2 field date fields, this 2 fields are editable, how to get the date f4 help, pls giveĀ me solution thanks santha