SQL*Net more data from dblink Reference Note
-
Versions 7.3.4.5 - 11.2.0.3
- P1 =
-
-
driver id
In Oracle8i onwards P1RAW can be decoded into ASCII characters to give a clue as to which Net driver is used.
Eg: P1RAW=0x62657100 = 'beq\0' , P1RAW=0x54435000 = 'TCP\0' etc.In earlier releases the value here is the value of the disconnect function of the Net driver being used (which is not much use).
-
#bytes
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)
-
driver id
Wait Time:
This wait blocks until the next message chunk 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 <> on the REMOTE database will have the same client details as the V$SESSION entry on the local database for the blocked session. You need to look at the remote instance to determine where that session is spending time.
Systemwide Waits:
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 <
> for:
- SQL*Net roundtrips to/from dblink
- 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)
Reducing Waits / Wait times:
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 session locally and at the remote instance 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).
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29477587/viewspace-1154600/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【等待事件】SQL*Net more data from dblink事件SQL
- [20180918]等待事件SQL/Net more data from client.txt事件SQLclient
- 【等待事件】SQL*Net message from dblink事件SQL
- 【等待事件】SQL*Net more data to client事件SQLclient
- [20180925]等待事件SQLNet more data from client 6.txt事件SQLclient
- [20180922]等待事件SQLNet more data from client 4.txt事件SQLclient
- [20180920]等待事件SQLNet more data from client 3.txt事件SQLclient
- [20180926]等待事件SQLNet more data from client 7.txt事件SQLclient
- [20201110]How to get the Data Guard broker configuration from a SQL query.txtSQL
- SQL Server建立dblink至MySQLServerMySql
- get_data_from_yml
- OAF export data from VO in xlsx formatExportORM
- sql中select列有自定義函式 dblinkSQL函式
- SQL2012報錯:cannot find one or more cpmponentsSQL
- MySQL主從複製報錯:Got fatal error 1236 from master when reading data fromMySqlGoErrorAST
- java.sql.SQLException: The server time zone value ‘???ú±ê×??±??‘ is unrecognized or represents moreJavaSQLExceptionServerZed
- MySQL 8.0 Reference Manual(讀書筆記41節-- Data Types(3))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記40節-- Data Types(2))MySql筆記
- MySQL 8.0 Reference Manual(讀書筆記39節-- Data Types(1))MySql筆記
- Citus 分散式 PostgreSQL 叢集 - SQL Reference(SQL支援和變通方案)分散式SQL
- Citus 分散式 PostgreSQL 叢集 - SQL Reference(查詢分散式表 SQL)分散式SQL
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- 【轉載】使用 BAPI_BUPA_CREATE_FROM_DATA 建立BPAPI
- SQL-Hive中的Select From解析SQLHive
- ABP Framework Consuming HTTP APIs from a .NET ClientFrameworkHTTPAPIclient
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- scrapy-redis記錄之,重寫make_request_from_data和make_requests_from_urlRedis
- MySQL案例09:Last_IO_Error: Got fatal error 1236 from master when reading data from binary logMySqlASTErrorGo
- 建立dblink
- 閱讀筆記(Communication-Efficient Learning of Deep Networks from Decentralized Data)筆記Zed
- Software-Defined Networking and Security From Theory to Practice (Data-Enabled Engineering).pdf ...
- Citus 分散式 PostgreSQL 叢集 - SQL Reference(查詢處理)分散式SQL
- 備忘錄:SQL SERVER2014 出現:“Cannot find one or more components”SQLServer
- Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404HTTP
- 【譯】Using .NET for Apache Spark to Analyze Log DataApacheSpark
- Azure Data Lake(一) 在NET Core 控制檯中操作 Data Lake Storage
- MySQL 8.0 Reference Manual(讀書筆記53節--Optimizing SQL Statements)MySql筆記
- Connect SQL Server from Linux Client using Windows Authentication and troubleshoot stepsSQLServerLinuxclientWindows
- 域遷移DA | Learning From Synthetic Data: Addressing Domain Shift for Se | CVPR2018AI