Refresh Fails with Errors ORA-23324, ORA-03135 & ORA-02055 (Doc ID 1401266.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle Database - Standard Edition - Version and later
Information in this document applies to any platform.


On refreshing a Materialized View or running a query through a database link, it aborts with the following errors.

ORA-23324: error ORA-03135: connection lost contact
ORA-02055: distributed
update operation failed; rollback required
ORA-02063: preceding lines from DWH,
while creating deferror entry at "DWH" with error -3135

SQL Net traces shows the following :

[24-JAN-2012 12:19:57:000] nioqper: error from nioqsn
[24-JAN-2012 12:19:57:000] nioqper: ns main err code: 12547
[24-JAN-2012 12:19:57:000] nioqper: ns (2) err code: 12560
[24-JAN-2012 12:19:57:000] nioqper: nt main err code: 517
[24-JAN-2012 12:19:57:000] nioqper: nt (2) err code: 54
[24-JAN-2012 12:19:57:000] nioqper: nt OS err code: 0
[24-JAN-2012 12:19:57:000] nioqer: entry
[24-JAN-2012 12:19:57:000] nioqer: incoming err = 12150
[24-JAN-2012 12:19:57:000] nioqce: entry
[24-JAN-2012 12:19:57:000] nioqce: exit
[24-JAN-2012 12:19:57:000] nioqer: returning err = 3135
[24-JAN-2012 12:19:57:000] nioqer: exit
[24-JAN-2012 12:19:57:000] nioqsn: returning error: 3135
[24-JAN-2012 12:19:57:000] nioqsn: exit
[24-JAN-2012 12:19:57:000] nioqds: entry

While 10046 or SQL trace shows:

PARSING IN CURSOR #4 len=6 dep=2 uid=0 oct=44 lid=0 tim=3109844177511 hv=255718823 ad='0' sqlid='8ggw94h7mvxd7'
PARSE #4:c=0,e=8,p=0,cr=0,cu=0,mis=0,r=0,dep=2,og=0,plh=0,tim=3109844177510
XCTEND rlbk=0, rd_only=0, tim=3109844177597
EXEC #4:c=0,e=85,p=0,cr=0,cu=1,mis=0,r=0,dep=2,og=0,plh=0,tim=3109844177676
CLOSE #4:c=0,e=1,dep=2,type=3,tim=3109844177718
EXEC #5:c=102390625,e=257376250,p=0,cr=897502,cu=31,mis=0,r=0,dep=1,og=1,plh=0,tim=3109844178553
ERROR #5:err=23324 tim=3109844178585 <========= The error is ora-23324 on the MV site
CLOSE #5:c=0,e=25,dep=1,type=0,tim=3109844183018
EXEC #3:c=102890625,e=258224985,p=0,cr=897836,cu=109,mis=0,r=1,dep=0,og=1,plh=0,tim=3109844183226
WAIT #3: nam='log file sync' ela= 3740 buffer#=4739 p2=339435675 p3=0 obj#=-1 tim=3109844187010
WAIT #3: nam='SQL*Net message to client' ela= 50 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=3109844187232
WAIT #3: nam='SQL*Net message from client' ela= 2205 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=3109844189476



The network administrator changed the VPN configuration to improve the efficiency of the TCP/IP network.
The changes performed by implementing the Nagle's algorithm which improves efficiency of TCP/IP networks by reducing the number of packets that need to be sent over the network..


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 hundreds of Community platforms