My Oracle Support Banner

Automatic SQL Tuning and SQL Profiles (Doc ID 271196.1)

Last updated on MARCH 21, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.


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.

SQL Profiles was a feature introduced in 10g and managed through the DBMS_SQLTUNE package or through Oracle Enterprise Manager as part of the Automatic SQL Tuning process. 

This FAQ answers basic questions on using SQL Profiles and provides an example using DBMS_SQLTUNE package.

Ask Questions, Get Help, And Share Your Experiences With This Article

Would you like to explore this topic further with other Oracle Customers, Oracle Employees, and Industry Experts?

Click here to join the discussion where you can ask questions, get help from others, and share your experiences with this specific article.
Discover discussions about other articles and helpful subjects by clicking here to access the main My Oracle Support Community page for SQL Performance.

Questions and Answers

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
 Ask Questions, Get Help, And Share Your Experiences With This Article
Questions and Answers
 What is Automatic SQL Tuning?
 What is a SQL Profile?
 How can the scope of the SQL Profile be controlled?
 To what statements can a SQL Profile be applied?
 How can SQL Profiles be managed?
 Using Enterprise Manager
 Using DBMS_SQLTUNE package.
 Accepting a SQL Profile
 Altering a SQL Profile
 Dropping a SQL Profile
 How do I produce a report of every tuning set?
 Discuss SQL Profiles

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