My Oracle Support Banner

ORA-3106 When Using DBMS_FILE_TRANSFER.GET_FILE (Doc ID 1913877.1)

Last updated on AUGUST 05, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 12.1]
Information in this document applies to any platform.


DBMS_FILE_TRANSFER is being used to transfer a file from AIX 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');




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.