SQL Statement with Parse but no Execute or Fetch on Remote Database for Distributed SQL
(Doc ID 580301.1)
Last updated on OCTOBER 24, 2019
Applies to:
Oracle Cloud Infrastructure - Database Service - Version N/A and laterOracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 7.0.16.0 to 11.1.0.6 [Release 7.0 to 11.1]
Information in this document applies to any platform.
Information in this document applies to any platform.
Goal
When distributed SQL statements are being traced using SQL_TRACE or event 10046 it is possible to trace the session created over the database link in the remote database and examine the performance of the remote SQL fragments in a TKPROF report. We will see in such reports some SQL fragments which do not correspond to a distributed SQL statement issued by the application being traced. Such statements will have a Parse phase but no Execute or Fetch phases. Here is an example:
What are such "Parse-only" SQL fragments issued to the remote database ?
Solution
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
Goal |
Solution |
References |