Please let me know how can i compare two tables with same data in Oracle which has huge volume of data. My requirement is like this:
I have two environment ..1)Oracle Source ---informatica ETL---Oracle target and 2) Oracle Source ---Datastage ETL---Oracle target. (OS is UNIX Solaris for both)
Once the data get generated into Oracle, i need to compare the table data to find out whether the data gerneated using the ETL tools are in Sync or not. The table will have huge volume of data.
I tried with some DBcomparison tools, but it takes very long time for comparison.
One thing i can do is, i can write the table data into a flat file and do the data comparison.
The problem in this approach is, 1) the order of record may be different and so i need to the orderby based on index columns in the table itself before writing into flat file. i.e I need to make sure that the record order should be the same in both the flat files.
2) I need to skip the columns that holds the time data for the comparison, otherwise all the records will show as mismatch.
Please suggest me the ways to implement this or any new way (sql procedure/shell scripting/or any other method) to solve this issue.
All your help is really appreicated.
Thanks in Advance.
I have two environment ..1)Oracle Source ---informatica ETL---Oracle target and 2) Oracle Source ---Datastage ETL---Oracle target. (OS is UNIX Solaris for both)
Once the data get generated into Oracle, i need to compare the table data to find out whether the data gerneated using the ETL tools are in Sync or not. The table will have huge volume of data.
I tried with some DBcomparison tools, but it takes very long time for comparison.
One thing i can do is, i can write the table data into a flat file and do the data comparison.
The problem in this approach is, 1) the order of record may be different and so i need to the orderby based on index columns in the table itself before writing into flat file. i.e I need to make sure that the record order should be the same in both the flat files.
2) I need to skip the columns that holds the time data for the comparison, otherwise all the records will show as mismatch.
Please suggest me the ways to implement this or any new way (sql procedure/shell scripting/or any other method) to solve this issue.
All your help is really appreicated.
Thanks in Advance.