Thanks for the question, Paul.
Asked: June 03, 2021 - 10:28 am UTC
Last updated: June 09, 2021 - 12:46 pm UTC
Version: 11.1.0.6
Viewed 1000+ times
set serveroutput off select * from t where t_id = 1; select * from dbms_xplan.display_cursor( format => 'BASIC +PREDICATE'); --------------------------------------------------- | Id | Operation | Name | --------------------------------------------------- | 0 | SELECT STATEMENT | | | 1 | TABLE ACCESS BY INDEX ROWID| T | |* 2 | INDEX UNIQUE SCAN | SYS_C008715 | --------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 2 - access("T_ID"=1)
Paul Brown, June 09, 2021 - 10:05 am UTC
grant select on sys.v_$session to ...; grant select on sys.v_$sql_plan to ...; grant select on sys.v_$sql to ...; grant select on sys.v_$sql_plan_statistics_all to ...;
Paul Brown, June 09, 2021 - 1:05 pm UTC
Get all the information about database performance in the Database Performance guide.