sql - Export Huge Volume of Data to flat files from tables in Oracle -
i using oracle 11g. requirement compare data of 2 different db's. there around 350 tables in each db , out of these 350 tables, approx 40 tables have more 1 million records. data comparison, wrote 1 perl script compare using hash , tested few files. also, tried unix awk command check performance , asked forum on unix solution , got excellent help.
now problem find out best way extract data tables files.
both db's have same number of tables , each table have same number of columns in both db i.e. layout in both db's same.
options think , searched are
1) using sqlloader - think performance bad in case
2) using data pump - not sure if can extract few set of columns via sql using data pump , load text file
3) using bulk collect -- same above. possible extract each table , each table set of columns. if yes, how can done. performance.
4) sqlplus or else. cannot download software on machine.
basic sql selecting set of columns each table both db's can done easily. looking @ best approach export data flat files.
please suggest
you can in database using dbms_comparison.
http://docs.oracle.com/cd/e11882_01/appdev.112/e25788/d_comparison.htm#chdheffj
Comments
Post a Comment