How to Use SQLT (SQLTXPLAIN) to Create a Testcase Containing Application Data
(Doc ID 1465741.1)
Last updated on OCTOBER 23, 2019
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
During the investigation of issues (performance, wrong results, etc) with individual SQL statements it is often useful for Oracle Support to be able to work directly on a reproduction of the issue in house with a testcase.
SQLT is a tool that can be used to diagnose why a specific SQL statement may be performing poorly. It takes a single SQL statement as input and outputs a set of diagnostics that can be used to improve the statement's performance. Additionally, in the process of doing this and by default, SQLT also collects metadata information about the query to enable you to setup a testcase (without data) that will reproduce the issue on a different system.
This document explains how the SQLT tool can be configured to create a testcase which contains data. The default testcase created with SQLT does not contain application data due to security reasons. To get a testcase without data, see:
NOTE: This SQLT feature only works in Oracle 11g and higher. The corresponding functionality is not available in earlier releases.
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
|SQLT release 18.104.22.168 (March 1, 2013) and above|
|Pre-SQLT release 22.214.171.124 (March 1, 2013)|