ORA-3106 When Using DBMS_FILE_TRANSFER.GET_FILE
Last updated on SEPTEMBER 08, 2016
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
***Checked for relevance on 09-Sep-2016***
DBMS_FILE_TRANSFER is being used to transfer a file from AIX 126.96.36.199 database to Linux 12.1 database.
However the issue lies specifically with the transfer of the files over a dblink with DBMS_FILE_TRANSFER which works fine for smaller files (2.3Gb file transfer is fine) but not for larger files (30G file transfer failed) which fail after transferring 1.9Gb of data with ORA-3106.
The error is easily reproduced using SQLPlus:
----- Error Stack Dump -----
ORA-03106: fatal two-task communication protocol error
ORA-02063: preceding line from TTSLINK
----- Current SQL Statement for this session (sql_id=dshf6bfxrdgkk) -----
source_directory_object => 'SOURCEDIR',
source_file_name => 'indexes.987.123456789',
source_database => 'TTSLINK',
destination_directory_object => 'DESTDIR',
destination_file_name => 'dummy');
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms