"SQL*Net message from dblink" Reference Note This is a reference note for the wait event "SQL*Net message from dblink" which includes the following subsections:
See Note:61998.1 for an introduction to Wait Events. Definition:
Parameters: In Oracle8i onwards P1RAW can be decoded into ASCII characters to give a clue as to which Net driver is used. In earlier releases the value here is the value of the disconnect function of the Net driver being used (which is not much use).
The number of bytes we need to receive. This figure may be misleading it is often a "guess" of how many bytes might be sent in the next packet as opposed to the real number of bytes expected. (eg: It may be just 1 even though the expected packet will be much larger, or it may be a large number even if only a few bytes are needed) Wait Time: This wait blocks until a message is received from the remote connection (or until an abnormal end of file condition occurs on the underlying Net transport layer). There is no Oracle timeout on the wait. Finding Blockers: The blocker is the network plus the remote process. If the remote process is another database instance (accessed via a database link) then the information in <<View:V$SESSION>> on the REMOTE database can be used to help find the remote session for the database link connection. You should look at that remote session and determine where is is spending time. If systemwide waits for this event are significant it is best to determine where the remote connections are to and switch attention to the remote instance / instances to determine where they are spending time. One can also look at: · Sessions with high values in <<View:V$SESSTAT>> for: o SQL*Net roundtrips to/from dblink o bytes sent via SQL*Net to dblink o bytes received via SQL*Net from dblink · The Network between the local and remote systems (problems are usually related to time spent ON the remote instance rather than in the network but it is worth checking if the network between the instances is slow / not) It is normally best to see what propertion of the time is actually spent on the remote instance as the most common cause of long waits over a DB link is that the time is actually all spent doing work on the remote instance (either waiting or working). · Trace the local session and the remote session to see what work a user "transaction" actually consists of · Check the execution plans for any distributed queries · See if frequently accessed remote data can be kept in a local snapshot (Materialized View). You can restrict the list below to issues likely to affect one of the following versions by clicking the relevant button:
· '*' indicates that an alert exists for that issue. · '+' indicates a particularly notable issue / bug. · See Note:1944526.1 for details of other symbols used Related: Tracing User sessions Note:62160.1 |