Re: SQL profile questions

Two ways

1) v$sql.sql_profile
2) select * from from(dbms_xplan.display_cursor('<sql_id>', <child_number>);


================================
Dion Cho - Oracle Performance Storyteller

http://dioncho.wordpress.com (english)
http://ukja.tistory.com (korean)
================================


On Sat, Feb 21, 2009 at 2:30 AM, Jason Heinrich <jheinrichdba@xxxxxxxxx>wrote:

> 1. Is there a way to determine if an SQL profile (part of the tuning pack)
> is actually being used?  The dba_sql_profiles view shows that the profile in
> question is 'ENABLED', but we had a performance issue with the query this
> morning that shouldn't have happened if the profile was working.
> 2. The database was restarted last night.  Does the profile continue to be
> applied after a restart?
>
> Answers or links to documentation with the answers are greatly appreciated.
>
> --
> Jason Heinrich
>

Other related posts: