maxsatula / ocp

Oracle Copy utility
GNU General Public License v2.0
13 stars 2 forks source link

Allow >4Gb file for transfer #18

Open maxsatula opened 9 years ago

maxsatula commented 9 years ago

Failed to obtain Oracle remote file size ORA-01455: converting column overflows integer datatype

maxsatula commented 9 years ago

Believed to be a bug when compiled in 32-bit only

maxsatula commented 9 years ago

Perhaps need to replace off_t sourceSize with ub8 sourceSize everywhere

maxsatula commented 8 years ago

Another symptom for >2G file transfer on 32-bit platform:

file.dmp                                                                             -117% 2048MB   7.9MB/s   00:38 ETError writing to a local file
maxsatula commented 8 years ago
GZIP: DATA_PUMP_DIR:file.dmp                                                           87% 2048MB  18.6MB/s   00:16 ETA
Failed to compress file in oracle directory
ORA-01426: numeric overflow
ORA-06512: at line 1`
maxsatula commented 8 years ago

No more need to replace off_t by ub8, because an AC_SYS_LARGEFILE macro in autoconf makes off_t to be 64-bit even on 32-bit systems