ba6.us - Dave's Database Related Stuff

  • home
  • blog
  • notebooks
  • projects
  • recent
  • about
  • manifesto
  • !
Home

Tag Cloud

apex Application Express Auditing data dbi development export funnies HTML Java linux monitoring oem oracle performance perl rman scripting sql SQL Developer sqlplus tuning unix windows
more tags

Search

RSS Feed

Blog Posts :

Navigation

  • Feed aggregator

User login

  • Request new password

tuning

SQL Tuning Advisor - what profile am I accepting?

dmann — Thu, 10/13/2011 - 12:35

When working on a SQL Tuning issue I often kick off a SQL Tuning Advisor job on the SQL while I gather info about statistics and other things I like to check when tuning. After I get an idea of where performance might be suffering I use the SQL Tuning Advisor results for a second opion. Unfortunately more often than not the SQL Tuning Advisor reports it can dramatically improve the performance of a SQL Statement by using a SQL Profile to force a different plan.
Read more »
  • oem
  • sql
  • tuning
  • dmann's blog
  • Add new comment

"There was a problem creating a SQL tuning task. ORA-13780: SQL statement does not exist. ORA-06512"

dmann — Tue, 07/26/2011 - 13:30

I recently got this error while trying to run a SQL Tuning Task against a SQL statement that was available in AWR but not currently in the library cache.

I got around it by locating the SQL in OEM and using SQL Worksheet to execute it: Read more »

  • oem
  • sql
  • tuning
  • dmann's blog
  • Add new comment

Finding Query Block names for a SQL that you can't modify...

dmann — Tue, 07/20/2010 - 11:36

I recently had an issue where a query being submitted to the database had a large change in performance. I could attribute the change to a recent change in object statistics, but the query wasn't behaving because of a combination of a view, subquery, UNION, and LIKE operators. After spending too much time on this statement I decided to hint it to make it perform like it did before the most recent stats change.
Read more »
  • Hint
  • performance
  • SQL Profile
  • tuning
  • dmann's blog
  • Add new comment

Food for thought - Who Should Tune SQL - DBA or Developer?

dmann — Mon, 07/20/2009 - 11:35

Iggy Fernandez covers the topic of who is better suited to tune SQL - Developers or DBAs. Also listed are 5 Dangerous Beliefs which may influence the answer to that question.

http://iggyfernandez.wordpress.com/2009/07/12/who-should-tune-sql-the-dba-or-the-developer/

-Dave

  • development
  • pl/sql
  • sql
  • tuning
  • dmann's blog
  • Add new comment
Syndicate content


Cornify
  • home
  • blog
  • notebooks
  • projects
  • recent
  • about
  • manifesto
  • !

Content Copyright 2006-2010. Links are copyright of respective owners.