Welcome to my repository of Oracle performance scripts. I've used them a lot in the past when I was an Oracle DBA and they helped me solve many performance issues.
Unfortunately I won't update these scripts anymore. After 20 years I left the world of Oracle and became a Hadoop specialist in March 2017. Read more about my new adventures here: http://marcel-jan.eu/datablog
Retrieves a lot of information about a SQL statement, based on SQL_ID.
Previously known as sql_sql_id_html.sql. Same as sql_sql_id.sql, but with HTML output. You need the Diagnostics Pack if you want to run this! It will run anyway, but usage will be counted as usage of AWR in dba_feature_usage_statistics! See my explanation of the output of this script here: https://mjsoracleblog.wordpress.com/2014/02/10/a-walkthrough-through-sqlperf-1-6-output-video/
sqlperf.sql for the Diagnostic Pack impaired. Does the same as sqlperf.sql, except every query that would count as Diagnostics Pack use.
Previously known as stats_sql_id_html.sql. A script for table/index statistics for objects accessed in the execution plan. You need the Diagnostics Pack if you want to run this! It will run anyway, but usage will be counted as usage of AWR in dba_feature_usage_statistics!
Similar to sql_sql_id.sql, to use if you don't have the sql_id, but do have the old hash values found in Statspack.
Retrieves information concerning the use of SQL plan baselines.
If you quickly need to trace one or more sessions based on username, program or whatever in v$session. Read more about this script here: https://mjsoracleblog.wordpress.com/2015/05/25/trace-column-1-3/
Use this to find out information about SQL's mentioned in ORA-1555 messages.
Show the 10 SQL statements in the shared pool
Still had this somewhere. You'll never know when it comes in handy, although hopefully not ;)