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

oem

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

Recording User Defined Metrics in Oracle Enterprise Manager OEM

dmann — Wed, 07/21/2010 - 14:52

Did you know that OEM has a built in interface for executing simple ad-hoc queries and recording the results? Here is how I set up a recurring query to find the number of user logins every 15 minutes and record the data. 1) Navigate to a database instance in OEM
2) Select the Related Links -> User Defined Metrics link from the bottom of the Database Instance Home tab.
3) Select the Create button to create a new User Defined Metric a. Enter the Metric Name
Read more »
  • oem
  • Oracle Enterprise Manager
  • dmann's blog
  • Add new comment

oracle.sysman.emSDK.emd.comm.OperationException: could not write to targets.xml.bak file

dmann — Mon, 01/26/2009 - 15:19

I had some trouble adding a new database to an OEM Grid installation this weekend.

I didn't find too many references to the above error so I wanted to post about it here. Of course Metalink was all doom and gloom. Note 745795.1 says to stop the agent, run fsck on the AGENT_HOME filesystem, then start the agent. After that you should be able to add new targets.

targets.xml lives in AGENT_HOME/sysman/emd. At the OS prompt I changed to that directory I was able to create new files there but for some reason the above error kept popping up when Grid tried to save a new target. Read more »

  • grid
  • oem
  • oracle
  • dmann's blog
  • 7 comments
Syndicate content


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

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