Database Performance Problem Review
Rass rass, December 02, 2016 - 3:50 am UTC
Hi Connor McDonald,
Thank you so much for your reply. Especially your quick and easy way to look at the most expensive SQL's on my system. It's so wonderful that's what I need. It's like a charm.
I want to ask more. For case no one(1) about hardware. Do you have any idea about the specification on which parts of hardware that must be higher priority than hard-disk for Oracle Database. Is it on memory or processor or all ?
As info. My database hard-disk space is remain 78 GB from 350 GB. Memory 64 GB and Processor E5606 @ 2.13 GHZ 4 CPU.
December 04, 2016 - 1:09 pm UTC
Very much depends on the requirement.
If you have a data warehouse, then I/O bandwidth is critical. For OLTP, then latency perhaps is more important.
I like to think of it this way - if you can't max out your CPU, then you have an imbalance somewhere.
More details
A reader, December 02, 2016 - 7:30 am UTC
Q1: what do you mean by "and track them back to the schema objects that are being referenced. "?
Q2: say the qry returns 1 sql Id having gets more than 1000000. And say this sqlid figures in AWR
How investigate on AWR report to find out the reasons of this sql qry slowness? Taking more than 2 hours whereas yesterday finished in 5 min!
December 04, 2016 - 1:11 pm UTC
1) Well, if a query says "select * from abc.x" I know it references the ABC schema. And I can look at PARSING_USER_ID as well to see where it cames from.
2) Check the children for that SQL_ID in V$SQL and check the plans for each.