My Oracle Support Banner

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 later
Oracle 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

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.