I have a flat file with 2500 items in it with two values per item. I need to match and compare these values to the corresponding values in an Oracle database to find out which values are different. What is the best way to do this?
As I see it I have the following options:
-Load everything from the file and database into arrays for comparison.
Issue: Memory pig and network congestion.
-Load the flat file into an array and then create a record set of data from the database from comparison.
Issue: increase in network traffic
-Create temp tables in the database and fill them with the data from the file and from the database and use views and minus in SQL to find the items that are different.
Issue: Overhead?
Thank you in advance,
TRC
************
My purpose in life is to show others what not to do.
<!--Caution, dates on calendar are closer then they appear.-->