Migrate Informix 11 to Oracle 11g
Hi,
Are there any Oracle or third-party tools to assist with the migration of a database from Informix 11 to Oracle 11g? All the stuff I've found seems to stop at Informix 9.
Thanks
Brian
Hi Brian,
If your management do not want to pay for Dg4Informix then you could use the Database Gateway for ODBC (DG4ODBC) which is included in your RDBMS license but needs a third-party ODBC driver. It has less functionality than the DG4Informix but can be used for simple processing.
See the following -
Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases (Doc ID 233876.1)
Note.252364.1 Functional Differences Between DG4ODBC and Specific Database Gateways (Doc ID 252364.1)
Regards,
Mike
Similar Messages
-
After DB migration(Informix to Oracle), SQLs need to review & change?
Dear all,
We migrate our system DB from Informix to Oracle 9i.
The current problem is: All data in CHAR fields will have "SPACE".
For example,
There is a table named TABLE1, and one field named FIELD_1 in it.
The type of FIELD_1 is CHAR, 4 characters.
In Informix, the data in TABLE1 is
FIELD_1
===============
CM
ALL
TEST
After migrate to Oracle, the data "looks like the same".
FIELD_1
===============
CM
ALL
TEST
But, when using TOAD or SQL/PLUS to query the length of these data, like:
SELECT LENGTH(FIELD_1) AS LEN, FIELD_1 FROM TABLE1;
And, the return result is:
LEN FIELD_1
==== ==============
4 CM
4 ALL
4 TEST
All length is 4..........Orz......
So, all SQL in current AP need to review and change(if necessary).
for example, the statement likes:
WHERE FIELD_1 = 'CM' will change to WHERE TRIM(FIELD_1) = 'CM'
Does anybody have the same probelm?
And another question is, if we always use TRIM in the WHERE statement, will cause bad performance or not?
(because I try to change one SQL and get the return result.....takes more time than before)
Thanks a lot.
Best Regards,
ClaireThe current solution is review all codes in AP and change the WHERE statement.Don't do that! You'll have all kinds of problems and any new code you develop, you'll have to remember this hack. Instead, fix the tables once so they are correct. Continuing my example:
SQL> alter table t modify (object_name varchar2(30));
Table altered.
SQL> update t
2 set object_name = trim(object_name);
7852 rows updated.
SQL> commit;
Commit complete.
SQL> select length(object_name), count(*)
2 from t
3 group by length(object_name);
LENGTH(OBJECT_NAME) COUNT(*)
1 1
3 22
4 14
5 33
6 46
7 213
8 283
9 266
10 295
11 288
12 291
13 339
14 354
15 367
16 428
17 396
18 368
19 377
20 348
21 340
22 353
23 306
24 347
25 320
26 325
27 269
28 332
29 299
30 232
29 rows selected.For each table, you can do one modify and one update statement to fix it. With a little clever use of the data dictionary, you might even be able to script it.
Much easier than hacking your code.
Message was edited by:
Eric H -
Hello,
We have a customer that wants to migrate from sybase to Oracle 11g. I know you can migrate through SQL Developer but therefor you have to connect to the sybase database.
If you may not connect to the sybase database, due to security reasons, is there another solution to migrate?
For example take an export from sybase, get the dump file and import into Oracle? Or setup a replica sybase database and export/import the original sybase database and then migrate to Oracle?
Many thanks.Yes there is. You can do an OFFLINE migration using SQL Developer.
The offline migration using SQL Developer is based on scripts (generated by the SQL developer) that export mandatory information from the Sybase database, put that info into flat files which SQL Developer will then read in to collect the foreign database information and finally to create with that information the Oracle model.
Same can be done for the data move which will then export all data from the tables you want to migrate and to import them using SQL*Loader.
So get SQL Developer and then click on Tools -> Migration -> Create Database Migration Scripts, then choose Sybase database and if the Sybase admin wants to export the Sybase database information from a Unix or Windows based client. The tool will now create scripts for you that you can pass to the Sybase admin. Let him run them which will create 2 directories with a couple of data files in it. Let the Sybase admin now zip them and pass them to you to start the Offline migration.
- Klaus -
Database migration informix to Oracle
Hello
Could you tell me the technical improves of changes our Informix DB to Oracle. We have an SAP system with 800 GB over Informix and a good functionality and response time, therefore I´d like to know how Oracle could help us to increase this features.
So, the question is, why to migrate our database??Scalability, reliability, security, performance, availability.
If you have no issues with the above then you may not have a compelling business need to migrate.
If you have problems with SAP running on Informix then Oracle may/will be able to resolve them. -
Migrating from Informix to Oracle 11g
Hi,
I have downloaded the Migration workbench, and the plug-ins Inofrmix7.jar from http://www.oracle.com/technetwork/topics/index-095746.html. Kindly could you please tell me from where i can download the ifxjdbc.jar. Are these files same with different name.
RegardsHello,
What you need is the Informix Dynamic Server JDBC Driver, version 1.4 JAR file, ifxjdbc.jar.
This driver is shipped with the Informix Dynamic Server software. I am not sure you can download it freely.
Regards,
Jean-Patrick -
Can I use Oracle Migration Workbench to migrate from Informix Dynamic Server 7.0 to Oracle 8.1
Thanks in Advance
Alessandro GuimaraesHi,
We have not tested against version 7.0, but the Workbench does migrate 7.23 and 7.3.
download it and try it. If it doesn't work, then you can upgrade your schema from 7.0 to 7.3,. Use the workbench to migrate the schema. You can then use the workbench to generate Informix unload and Oracle SQL Loader scripts to migrate the data from Informix 7.0.
If you need further clarification then please contact [email protected]
Regards
John -
Why migrating Informix to Oracle ?
Can anyone tell how can I convince my client to migrate to Oracle from Informix?
My customer may ask are there any technical issue beside using the WorkBench ?
Thank youThere are many reasons to move to Oracle. However, most of these reasons are not business reasons. If the business decides to move from Informix, then the logical choices arising will be DB2 or Oracle.
In this case, the next steps are comparing DB2 to Oracle. Here are some of the Features which Oracle supports but are limited by DB2
Here are some various points that may be used.
Multi version read consistency
IBM has table and page locking, leading to escalating locks and potential deadlock under load. It also allows dirty reads and has the potential for writers to block readers and
vice versa.
Then there's the clustering story. Most IBM cluster additions need extensive rewrites. For example, their TPC C benchmark
From examination of their TPC FDR -
TPC Benchmark - Full Disclosure Report for IBM Netfinity 8500R using IBM DB2 Universal Database V7.1 and Microsoft Windows 2000 Advanced Server - Submitted for
Review, July 3, 2000. (58 pages of Database design scripting (at 100+ lines of script per page))
Also a paper given at a user group - DB2 UDB EEE as an OLTP Database, Gene Kligerman, DB2 and Business Intelligence Technical Conference, Las Vegas, Oct 16-20,
2000
The list goes on from Business intelligence features such as range partitioning available only on as/400 to essential security features like fine grained auditing.
regards,
Barry
<disclaimer>
These opinions are my own and do not construe a corporate opinion
</disclaimer> -
Urjent help !!!Error during running script root.sh for oracle 11g migration
Dear All,
My databse is Oracle 9.2.8.0 and i am migrating it into oracle 11g.
During installation of oracle 11g (with software only option) , it asked me to run the script root.sh in another terminal,
During running i got the below error.
What i should do now. shall i continue with the error...............
Kindly help ? It's urjent....
Script Output :
[root@cmssbigt dbhome_1]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/product/11.2.0/dbhome_1
Enter the full pathname of the local bin directory: [usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
/bin/mkdir: cannot create directory `/opt/ORCLfmap': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/bin': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/etc': No such file or directory
/bin/mkdir: cannot create directory `/opt/ORCLfmap/prot1_32/log': No such file or directory
/bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/bin': No such file or directory
/bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/bin': No such file or directory
/bin/chmod: cannot access `/opt/ORCLfmap/prot1_32/bin/fmputl': No such file or directory
/bin/chmod: cannot access `/opt/ORCLfmap/prot1_32/bin/fmputlhp': No such file or directory
/bin/cp: cannot create regular file `/opt/ORCLfmap/prot1_32/etc': No such file or directory
[root@cmssbigt dbhome_1]#
You have new mail in /var/spool/mail/rootBiswa wrote:
If u have any problem with urjent word then mention in the forum during regestration that , only who having 5 to 6 days of time can only post. Because the issues will be solved within this time interval.
Ok ..........No. It is NOT okay to claim that everyone else here that posted problems need to be ignored and your problem be given priority attention because you deem it to be urgent. You have not a single valid excuse for claiming your posting is more important on OTN that other postings.
It is not acceptable. Learn some basic etiquette please when posting online! -
Oracle 11g dg4odbc OpenLink postgres odbc driver for Linux... Integer issue
We were using scuccessfully the openlink driver for postgres odbc driver to connect oracle and postgres in solaris and oracle 10g hsodbc
we are migrating to Linux Oracle 11g and installed linux psotgres odbc driver and configured oracle 11g dg4odbc gateway.
We could connect from oracle and retrive the data from postgres.
Issue we have is
The integer data is not showing correctly…
For example in the postgres the value is 1 and in oracle its shown as 4294967297.
thanks,
Sirishathis is the trace when its working for
select * from "cognos_enrollmentdtl_s"@testag where "trial_id" = 39
and for 39 its returning 167503724583 thsi value in the result set.
Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "testag"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:testag
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=31
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/30-10:39:28
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/OpenLink/lib/libodbc.so"
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab20640
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaab18a10
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaab153d0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaab10200
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab080c0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab05e00
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab1a360
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab09440
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab0a7a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab1fbd0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab111d0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab0a210
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab1f870
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab11f70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab09ce0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab17f70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab08a20
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab08680
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab180b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab1fa30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab1bc10
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0xaab1b890
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColumns
symbol_peflctx=0xaab007b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLConnect
symbol_peflctx=0xaab05c50
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0xaab17d50
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0xaab07d30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0xaab092e0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0xaaaffc20
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0xaab1d8a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescField
symbol_peflctx=0xaab1cfe0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescRec
symbol_peflctx=0xaab1c3b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0xaab0ed30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0xaab0d5a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0xaab130a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0xaab1f6e0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0xaaafd250
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0xaab16560
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0xaaafeed0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0xaaafe550
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0xaaafdad0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0xaab1df70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0xaab1f260
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0xaab1cb30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0xaaafb6f0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLTables
symbol_peflctx=0xaab01d70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Exiting hgolofn, rc=0 at 2010/09/30-10:39:28
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/30-10:39:28
Entered hgolgon at 2010/09/30-10:39:28
reco:0, name:readonly, tflag:0
Entered hgosuec at 2010/09/30-10:39:28
Exiting hgosuec, rc=0 at 2010/09/30-10:39:28
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using readonly as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/30-10:39:28
HS_FDS_CONNECT_INFO = "testag"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/30-10:39:28
dsn:testag, name:readonly
optn:
Entered hgocip at 2010/09/30-10:39:28
dsn:testag
Exiting hgocip, rc=0 at 2010/09/30-10:39:28
##>Connect Parameters (len=40)<##
## DSN=testag;
#! UID=readonly;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2010/09/30-10:39:28
Entered hgolosf at 2010/09/30-10:39:28
ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFD7F 0x015F 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xFA00 0x3F5F
Exiting hgolosf, rc=0 at 2010/09/30-10:39:28
DriverName:pgr7_mt_lt.so, DriverVer:06.01.0524 OpenLink PostgreSQL Lite Driver
DBMS Name:PostgreSQL, DBMS Version:07.02.0000
Exiting hgocont, rc=0 at 2010/09/30-10:39:28
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 32 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/30-10:39:28
Entered hgoulcp at 2010/09/30-10:39:28
Entered hgowlst at 2010/09/30-10:39:28
Exiting hgowlst, rc=0 at 2010/09/30-10:39:28
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xa
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N for SQL_COLUMN_ALIAS
5 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
capno:3007, context:0x00000000, add-info: -3, translation:"36"
Exiting hgoulcp, rc=0 at 2010/09/30-10:39:28
Entered hgouldt at 2010/09/30-10:39:28
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/30-10:39:28
Entered hgobegn at 2010/09/30-10:39:28
tflag:0 , initial:1
hoi:0x2db07578, ttid (len 26) is ...
00: 4D4D4D41 54524958 2E623835 34333234 [testac.b854324]
10: 322E382E 31332E37 3936 [2.8.13.796]
tbid (len 23) is ...
00: 4D4D4D41 54524958 5B382E31 332E3739 [testac[8.13.79]
10: 365D5B31 2E345D [6][1.4]]
Exiting hgobegn, rc=0 at 2010/09/30-10:39:28
Entered hgodtab at 2010/09/30-10:39:28
count:1
table: cognos_enrollmentdtl_s
Allocate hoada[0] @ 0x5f38a60
Entered hgopcda at 2010/09/30-10:39:28
Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
The hoada for table cognos_enrollmentdtl_s follows...
hgodtab, line 876: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 0 0 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 0 0 0/ 0 0 0 200 site_name
Exiting hgodtab, rc=0 at 2010/09/30-10:39:28
Entered hgodafr, cursor id 0 at 2010/09/30-10:39:28
Free hoada @ 0x5f38a60
Exiting hgodafr, rc=0 at 2010/09/30-10:39:28
Entered hgopars, cursor id 1 at 2010/09/30-10:39:28
type:0
SQL text from hgopars, id=1, len=151 ...
00: 53454C45 43542041 312E2274 7269616C [SELECT A1."trial]
10: 5F696422 2C41312E 22747269 616C5F6E [_id",A1."trial_n]
20: 616D6522 2C41312E 22737562 6A636E74 [ame",A1."subjcnt]
30: 222C4131 2E22746F 74616C5F 65787065 [",A1."total_expe]
40: 63746564 5F656E72 6F6C6C6D 656E7422 [cted_enrollment"]
50: 2C41312E 22736974 655F6E61 6D652220 [,A1."site_name" ]
60: 46524F4D 2022636F 676E6F73 5F656E72 [FROM "cognos_enr]
70: 6F6C6C6D 656E7464 746C5F73 22204131 [ollmentdtl_s" A1]
80: 20574845 52452041 312E2274 7269616C [ WHERE A1."trial]
90: 5F696422 3D3339 [_id"=39]
Exiting hgopars, rc=0 at 2010/09/30-10:39:28
Entered hgoopen, cursor id 1 at 2010/09/30-10:39:28
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/30-10:39:28
Entered hgodscr, cursor id 1 at 2010/09/30-10:39:28
Allocate hoada @ 0x5f38a60
Entered hgopcda at 2010/09/30-10:39:28
Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:2, octet:256, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
hgodscr, line 880: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
Exiting hgodscr, rc=0 at 2010/09/30-10:39:28
Entered hgoftch, cursor id 1 at 2010/09/30-10:39:28
hgoftch, line 130: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
Performing delayed open.
SQLBindCol: column 1, cdatatype: -16, bflsz: 4
SQLBindCol: column 2, cdatatype: 1, bflsz: 65
SQLBindCol: column 3, cdatatype: -16, bflsz: 4
SQLBindCol: column 4, cdatatype: -16, bflsz: 4
SQLBindCol: column 5, cdatatype: 1, bflsz: 257
SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15, (bfl: 64, mbl: 64)
SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23
SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23, (bfl: 256, mbl: 256)
SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35
SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35, (bfl: 0, mbl: 256)
SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
i will paste the remaing trace in another reply..as the 30000 char exceeded
Edited by: Kodali.S on Sep 30, 2010 8:22 AM
Edited by: Kodali.S on Sep 30, 2010 8:25 AM -
Migrate Informix 7.31 Database into Oracle
Dear all,
I intend to import an Informix Dynamic Server 7.31 Database into Oracle; In this case it's the database of an old system which is not in use anymore, so the purpose is strictly readonly.
No triggers, few procedures and functions.
I'd like to import the data into Oracle 11g, is this possible or do I have to import into 10g and then upgrade to 11g?
The docs say the migration workbench is the tool of choice, is there anyone who can provide me with some experience?
How do I verify the migration was successful and the data was imported exactly the way it was?
Thanks in advance,
AndyAndy,
Informix can only be migrated using the older Oracle Migration Workbench 10.1.0.4 and as it says on the web site -
http://www.oracle.com/technetwork/database/migration/informix-085032.html
the only supported versions for the workbench are 9i and 10g.
However, this is only for running the workbench itself and creating the repository. If you do an offline migration then you can run the scripts created by the migration utility in any version of Oracle and load the data using any version of SQL*Loader.
It may be that you can create the repository for the 10.10.4 workbench in an 11g database but I've never tried it.
As for testing there is a section in the documentation -
Oracle® Migration Workbench User’s Guide Release 10.1.0.4 for Microsoft Windows 98/2000/NT/XP and Linux x86
Chapter 7 - Testing the Oracle Database
that discusses how you can test the migrated data.
I've only ever run small test migrations and issues can depend on the complexity of the data and particularly stored procedures and embedded SQL.
If you have no triggers, few procedures and functions then it should be fairly straightforward.
It is planned to include Informix migration in a later version of SQL*Developer but there is no date for that yet.
Regards,
Mike -
Oracle Forms & Report Upgrade/Migrate from 6i to 11g
Hi All,
We are planning to upgrade/Migrate from Oracle Froms and Reports 6i to 11g. Can some one please give me an high level steps to upgrade and migrate from 6i to 11g version.
Many thanks in advance.
Kind Regards,
Mohanhi ,
use below steps for Eliminate this issue
To start the wizard version of the Forms Migration Assistant:
1. On Windows systems, set the environment variable FORMS_PATH:
SET FORMS_PATH=%ORACLE_HOME%\forms
On UNIX systems, set the variable FORMS_PATH as in the example below:
setenv FORMS_PATH $ORACLE_HOME/forms
2.
In Windows, from the Start menu, select ORACLE_HOME | Forms Developer |Oracle Forms Migration Assistant (GUI Mode), or at the command line, start the conversion utility by entering: frmplsqlconv.bat mode=wizard.
or
in UNIX, enter frmplsqlconv.sh mode=wizard.
The Conversion Wizard Welcome dialog displays.
Regards,
Babu -
Migrating from MySQL to Oracle 11g
can u tell me the steps to migrating database from MySQL to Oracle using SQL Developer?
I have installed Oracle 11g(11.1.0.6.0) in server and SQl Developer in my local system.
I connected to MySQL and Oracle in SQL Developer and tried to MIgrate everything in MySQL to Oracle using Quick Migrate option.
it took one and half day but didn't work at last...
is there any pre tasks that i need to do before migrating to oracle from MySQL?
and also when i export the MySQL data to Oracle using SQL Developer,it is giving data type mismatch errors like (date, boolean etc...).
please give a reply what i need to do and any refferences also very much appreciated.hi Turloch ,
I followed the steps mentioned above.
When I right click my MySQL server db Connection and click "Capture MySQL server", it just shows a dialog with "Close" enabled.
after clicking the close button, it gives following error messages.
oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
the same error is coming no of times.
Kindly help me in this regard. -
Oracle 11g Migration performance issue
Hello,
There a performance issue with Migration from Oracle 10g(10.2.0.5) to Oracle 11g(11.2.0.2).
Its very simple statement hanging for more than a day and later found that query plan is very very bad. Example of the query is given below:
INSERT INTO TABLE_XYZ
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
While looking at cost in Explain plan :
on 10g --> 62567
0n 11g --> 9879652356776
Strange thing is that
Scenario 1: if I issue just query as shown below, will display rows immediately :
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
Scenario 2: If I create a table as shown below, will work correctly.
CREATE TABLE TABLE_XYZ AS
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
What could be the issue here with INSERT INTO <TAB> SELECT <COL> FROM <TAB1>?Table:
CREATE TABLE AVN_WRK_F_RENEWAL_TRANS_T
"PKSRCSYSTEMID" NUMBER(4,0) NOT NULL ENABLE,
"PKCOMPANYCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKBRANCHCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKLINEOFBUSINESS" NUMBER(4,0) NOT NULL ENABLE,
"PKPRODUCINGOFFICELIST" VARCHAR2(2 CHAR) NOT NULL ENABLE,
"PKPRODUCINGOFFICE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKEXPIRYYR" NUMBER(4,0) NOT NULL ENABLE,
"PKEXPIRYMTH" NUMBER(2,0) NOT NULL ENABLE,
"CURRENTEXPIRYCOUNT" NUMBER,
"CURRENTRENEWEDCOUNT" NUMBER,
"PREVIOUSEXPIRYCOUNT" NUMBER,
"PREVIOUSRENEWEDCOUNT" NUMBER
SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
TABLESPACE "XYZ" ;
Explain Plan(With Insert Statement and Query):_
INSERT STATEMENT, GOAL = ALL_ROWS Cost=9110025395866 Cardinality=78120 Bytes=11952360
LOAD TABLE CONVENTIONAL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS
NESTED LOOPS OUTER Cost=9110025395866 Cardinality=78120 Bytes=11952360
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=115 Cardinality=78120 Bytes=2499840
VIEW PUSHED PREDICATE Object owner=ODS Cost=116615788 Cardinality=1 Bytes=121
SORT GROUP BY Cost=116615788 Cardinality=3594 Bytes=406122
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=116615787 Cardinality=20168 Bytes=2278984
SORT GROUP BY Cost=116615787 Cardinality=20168 Bytes=4073936
NESTED LOOPS OUTER Cost=116614896 Cardinality=20168 Bytes=4073936
VIEW Object owner=SYS Cost=5722 Cardinality=20168 Bytes=2157976
NESTED LOOPS Cost=5722 Cardinality=20168 Bytes=2097472
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW PUSHED PREDICATE Object owner=ODS Cost=4 Cardinality=1 Bytes=20
FILTER
SORT AGGREGATE Cardinality=1 Bytes=21
TABLE ACCESS BY GLOBAL INDEX ROWID Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=4 Cardinality=1 Bytes=21
INDEX RANGE SCAN Object owner=ODS Object name=PK_AVN_F_TRANSACTIONS Cost=3 Cardinality=1
VIEW PUSHED PREDICATE Object owner=ODS Cost=5782 Cardinality=1 Bytes=95
SORT GROUP BY Cost=5782 Cardinality=2485 Bytes=216195
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=5781 Cardinality=2485 Bytes=216195
SORT GROUP BY Cost=5781 Cardinality=2485 Bytes=278320
HASH JOIN Cost=5780 Cardinality=2485 Bytes=278320
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=925 Cardinality=1199 Bytes=73139
SORT GROUP BY Cost=925 Cardinality=1199 Bytes=100716
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=4854 Cardinality=75507 Bytes=3850857
SORT GROUP BY Cost=4854 Cardinality=75507 Bytes=2340717
VIEW Object owner=ODS Cost=4207 Cardinality=75507 Bytes=2340717
SORT GROUP BY Cost=4207 Cardinality=75507 Bytes=1585647
PARTITION HASH ALL Cost=3713 Cardinality=75936 Bytes=1594656
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3713 Cardinality=75936 Bytes=1594656
Explain Plan(Only Query):_
SELECT STATEMENT, GOAL = ALL_ROWS Cost=62783 Cardinality=89964 Bytes=17632944
HASH JOIN OUTER Cost=62783 Cardinality=89964 Bytes=17632944
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=138 Cardinality=89964 Bytes=2878848
VIEW Object owner=ODS Cost=60556 Cardinality=227882 Bytes=37372648
HASH GROUP BY Cost=60556 Cardinality=227882 Bytes=26434312
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=54600 Cardinality=227882 Bytes=26434312
HASH GROUP BY Cost=54600 Cardinality=227882 Bytes=36005356
HASH JOIN OUTER Cost=46664 Cardinality=227882 Bytes=36005356
VIEW Object owner=SYS Cost=18270 Cardinality=227882 Bytes=16635386
HASH JOIN Cost=18270 Cardinality=227882 Bytes=32587126
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=13445038
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522
VIEW Object owner=ODS Cost=26427 Cardinality=227882 Bytes=19369970
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=18686324
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=26427 Cardinality=227882 Bytes=18686324
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=25294902
HASH JOIN Cost=20687 Cardinality=227882 Bytes=25294902
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=12826 Cardinality=34667 Bytes=2080020
HASH GROUP BY Cost=12826 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=7059 Cardinality=227882 Bytes=11621982
HASH GROUP BY Cost=7059 Cardinality=227882 Bytes=6836460
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=6836460
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522 -
How do I migrate views from MS SQL 2008 to Oracle 11g through SQL Developer
Is there any way to migrate the views from MS SQL 2008 to Oracle 11g through SQL Developer? Please give me some detail steps. Thanks for your help.
KevinHi Kevin,
user13531850 wrote:
Hi Turloch,
When I use migrate to oracle, I got a problem, the migrate tool create a new schema for me in my case (AZTECA_KSMMS), it migrates all the stuffs under that schema (AZTECA_KSMMS). However my application need the all the Oracle data under schema AZTECA instead of AZTECA_KSMMS. Is there any way to specify specific schema (AZTECA) for target oracle database? Schema remapping is available:
First Capture (separately) then during right click convert on the captured model there is a Specify the conversion options with a Object Naming tab where the schema (and other) name changes are editable.
I have not used this recently.
Also during the migration process, when I choose repository, there is a check box for truncate to reset repository to empty state, Do I need to check that truncate Check Box so the repository will be cleared from last migration?The repository can hold multple migration attempts. Check truncate to get rid of previous attempts information. This cleans up the repository - not the destination database.
There are also online database and offline database options during the migration process, what are the difference between these two choices? After I migrated to Oracle, all my views has a red cross icon next to it. Does that mean the view migration is failed or not? Please give me your comments. Thanks for your help.offline: for big (amount of data) databases with simple data types,
uses bcp + files + scripts + sqlldr.
online: for small (amount of data) databases (easier),
uses (Java) jdbc.
The view is likely to be broken - recompiling it may help.
The Oracle schema is created using a .sql file - see under generated in the directory you gave originally in the wizard. There is a .out file that contains the result of running this script including any errors. During conversion there are also likely to be warnings displayed on the UI.
There may be a single issue that is causing multiple issues - if viewa depends on functionb, and functionb is broken, viewa will also fail.
>
Kevin-Turloch
SQLDeveloper Team -
Hi,
When I use OMWB to migrate Informix 9.4 to Oracle 10.2, I encounter many errors as follows:
===========================================================
java.sql.SQLException: ORA-12899: value too large for column "ROGER"."ABB_FILE"."ABB04" (actual : 32, maximum: 30)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:182)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:630)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1081)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2905)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2996)
at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:1473)
at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
==========================================================
But when I check the Source column length, it is not long then column length in Oracle actually. I don't know why....
Does anybody have idea? Thanks!Hi Donald,
Thanks for your reply.
"ROGER"."ABB_FILE"."ABB04" means in user "ROGER" schema, have a table "ABB04", and have a column named "ABB04".
So the column's name is "ABB04", not exceed 30 characters.
The table's description in Informix as follows:
create table "roger".abb_file
abb00 char(2),
abb01 char(12),
abb02 smallint,
abb03 char(24),
abb04 char(30),
abb05 char(6),
abb06 char(1),
abb07 decimal(16,3) not null ,
abb08 char(10),
abb11 char(15),
abb12 char(15),
abb13 char(15),
abb14 char(15),
abb15 char(4)
And the table in Oracle's description:
CREATE TABLE "ROGER"."ABB_FILE"
"ABB00" VARCHAR2(2),
"ABB01" VARCHAR2(12),
"ABB02" NUMBER(5),
"ABB03" VARCHAR2(24),
"ABB04" VARCHAR2(30),
"ABB05" VARCHAR2(6),
"ABB06" VARCHAR2(1),
"ABB07" NUMBER(16, 3) NOT NULL,
"ABB08" VARCHAR2(10),
"ABB11" VARCHAR2(15),
"ABB12" VARCHAR2(15),
"ABB13" VARCHAR2(15),
"ABB14" VARCHAR2(15),
"ABB15" VARCHAR2(4)
)
Maybe you are looking for
-
Can you choose which apps to sync
Hi, I can see that on iTunes you can tick videos and songs to select if you want them to sync or not, how do you do this with apps? There does not seem to be a tick box even if I put it in list view
-
Color swatch vs. pattern swatch
Whenever I try to create a new CMYK color swatch it automatically opens pattern swatch name panel. Why won't it let me create a color swatch? WZ
-
Wrong date format when import CSV files
When you import a CSV file that contains fields with German date formats, these fields are displayed incorrectly. Example: Contents of the CSV file "01.01.14". After importing the corresponding cell in Numbers has the content "40178". A reformat the
-
Iphone 3GS Screen Has A Yellow Tinge Help
Hi I looked at my iphone today and it looked a bit yellowish and i compared it to my friends one and it was clear and my one has a yellow tinge to it and im wondering how it could of got their or how do i get rid of it Hopefully someone will manage t
-
Hello I am using Weblogic 6.1 on os from HP. I have a hyperlink which allows downloading .xls file. Following is the code... <% out.println("<a href=\"RTAList.xls\">Download</a>"); %> Above link is working very fine on Weblogic 6.1 on Windows 2000 Se