Tag Archives: Oracle SQL tuning

sqlperf.sql version 1.6 is out

The main inspiration for this new version of sqlperf.sql is the datawarehouse project I’m currently in. They have performance problems and parallellism seems to be one of the issues. So I needed to know over how many sessions parallellism had … Continue reading

Posted in Oracle performance tuning | Tagged , , , , , , , , | 6 Comments

Expensive full table scans on AQ$_SYS$SERVICE_METRICS_TAB_L

A while ago a collegue DBA asked me to help him with a database he had problems with. The database was generating a lot of archives and since there also was a standby database, these archives had to be transported … Continue reading

Posted in Oracle performance tuning | Tagged , , , , , , , , | Leave a comment

sql_sql_id_html.sql version 1.4

[Update]: there is now a non-Diagnostics Pack version here. [Update]: version 1.6 is now out. More on this blogpost. A collegue pointed out that sql_sql_id_html.sql doesn’t show binds with the timestamp data type. It turns out that for bind variables with … Continue reading

Posted in Oracle performance tuning, Oracle scripts | Tagged , , , , , | Leave a comment

sql_sql_id_html.sql version 1.2 is out

[Update]: there is now a non-Diagnostics Pack version here. [Update]: version 1.6 is now out. More on this blogpost. Version 1.2 of my SQL performance reporting script sql_sql_id_html.sql is out. In this version I’ve added query statistics from AWR. And I … Continue reading

Posted in Oracle performance tuning, Oracle scripts | Tagged , , , | Leave a comment

sql_sql_id_html.sql: a SQL performance script with HTML output

[Update]: there is now a non-Diagnostics Pack version here. [Update]: version 1.6 is now out. More on this blogpost. A while ago I read a blogpost by Tanel Poder about HTMLizing your sqlplus output. I used to make sqlplus scripts with … Continue reading

Posted in Oracle performance tuning, Oracle scripts | Tagged , , , , | 1 Comment

sql_sql_id.sql 1.7

Here is thing with SQL tuning: at a certain point you encounter an inefficient SQL statement. You look at it with for example Active Session History. So you find out it does a full table scan on a big table. … Continue reading

Posted in Oracle performance tuning | Tagged , , , , | 1 Comment