Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Poor performance of inserts over dblinks

Rosh_dbaSep 29 2015 — edited Oct 2 2015

Hi,

Our production and warehouse database was recently upgraded from 10.2.0.3 to 11.2.0.4.

There is a bulk insert of rows from production to the warehouse using a dblink. After the upgrade, the inserts are taking 10 times longer and is very very slow.

The wait events are SQL*Net more data from client and SQL*Net more data to client.

The top wait event in the destination is

EventWaitsTotal Wait Time (sec)Wait Avg(ms)% DB timeWait Class
SQL*Net more data from client1513448.522838166.5Network
The top wait event in the source is
EventWaitsTotal Wait Time (sec)Wait Avg(ms)% DB timeWait Class
SQL*Net more data to dblink1432161.31511419.2Network

The SDU in listener.ora is set to 32KB. Any suggestions ?

The query which is run is something like this

Insert into dest_table@dest_db_link(col1,col2,col3)

from source_table where rowid='ADAasfdfgdgDADDADFF'

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 30 2015
Added on Sep 29 2015
13 comments
3,267 views