Getting the SQL query delegated by a derived view

Applies to: Denodo 7.0 , Denodo 6.0 , Denodo 5.5 , Denodo 5.0
Last modified on: 26 Mar 2018
Tags: JDBC data sources Combination ODBC data sources

Download original document

You can translate the document:


When working with views created on top of JDBC and ODBC data sources, the Virtual DataPort query engine will push down SQL queries to the data sources to retrieve the data requested in the queries.

The information about the SQL query delegated by a view to any of these data sources is available in the execution trace of a query

To have the execution trace of a query available, when executing the query from a VDP administration tool Execution panel make sure that the "Execute with TRACE" option is selected. To get the execution trace of a query executed from a VQL shell add a “TRACE” clause at the end of any query.


With these options selected, once the query finishes, to see the execution trace:

  1. Click on the "Execution Trace" button.


  1. From the Execution Trace window, on the left side a tree with the execution plan is displayed.
  2. Both for JDBC and ODBC wrappers, the bottom node of the execution plan for the branch associated to those data sources will be a JDBC route type of node. Click on this type of nodes to see the SQL query that gets delegated to the data sources.


  1. After selecting the node, the right side of the execution trace window shows information about the JDBC connection, including the query sent to the database with the "SQL sentence" label.


Virtual DataPort Administration Guide: Execution Trace of a Statement


Ask a question
You must sign in to ask a question. If you do not have an account, you can register here

Featured content


Ready for more? Great! We offer a comprehensive set of training courses, taught by our technical instructors in small, private groups for getting a full, in-depth guided training in the usage of the Denodo Platform. Check out our training courses.