an useful article http://dbakevlar.blogspot.com/2010/02/lead-developer-and-i-have-been-working.html
I love parallel. I am thrilled with the performance gains I can attain when hashing large tables when accessing multiple partitions. I do not love parallel when someone decides to put a group by or order by into the statement. If any sorting has to occur on the statement, I've been seeing some odd behavior in about 80% of the executions. It appears that when sorting, it's not Oracle sorting the data all at once, but sorting one parallel slave's data set at a time. This creates an escalation in temp space usage that can become insanely difficult for Oracle to process efficiently and performance degrades immensely.
Moral:
Carefully test any parallel processing when sorting is involved. You may not receive performance benefits as expected.
New scripts: vstat.sql & dstat.sql for showing Oracle Sysmetric history
with 1-minute granularity
-
Here are two scripts for showing GV$SYSMETRIC_HISTORY contents in a simple
tabular way: vstat.sql - show up to one hour of current history at 1-minute
gran...
Acum 5 zile
Niciun comentariu:
Trimiteți un comentariu