My Oracle Support Banner

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

Last updated on FEBRUARY 02, 2022

Applies to:

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

Symptoms

DBMS_FILE_TRANSFER is being used to transfer a file from AIX 11.2.0.3 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) -----
BEGIN
  DBMS_FILE_TRANSFER.GET_FILE (
  source_directory_object => 'SOURCEDIR',
  source_file_name => 'indexes.987.123456789',
  source_database => 'TTSLINK',
  destination_directory_object => 'DESTDIR',
  destination_file_name => 'dummy');
END;

Changes

 

Cause

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

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


In this Document
Symptoms
Changes
Cause
Solution
References


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