We help IT Professionals succeed at work.

Oracle sql profile used in the query

Oranew
Oranew asked
on
I did the explain plan on a sql query and it says "SQL Profile Used" as below:-

Note
-----
   - dynamic sampling used for this statement (level=5)
   - automatic DOP: skipped because of IO calibrate statistics are missing
   - SQL profile "SYS_SQLPROF_017cb4701f920005" used for this statement
 
How can I check what is there in this SQL Profile ?
I mean, Is there any sql or dba view to get the information?
Comment
Watch Question

Production Manager / Application Support Manager
Commented:
you can check in this :

select * from DBA_SQL_PROFILES;

you also need to understand few more things related to tuning before you can get on everything with SQL profiles. So browse through this link and it has detailed information

http://docs.oracle.com/cd/B28359_01/server.111/b28274/sql_tune.htm#i35947

Also the below link is giving good information but if you are aware, just skip it and no need to read everything.

https://docs.oracle.com/database/121/TGSQL/tgsql_profiles.htm#TGSQL596

And this gives the basic yet fundamental difference between sql profile & sql plan baselines

https://blogs.oracle.com/optimizer/entry/what_is_the_different_between

Thanks,

Author

Commented:
Great !