db file scattered read by index range scan
Hello experts,
Today I have found an interesting SQL performance issue in a reporting database which gets refreshed every night and turns into read write mode in the morning.Below is the environment details.
opatch lspatches
24917954;OJVM PATCH SET UPDATE 11.2.0.4.170117
24006111;Database Patch Set Update : 11.2.0.4.161018 (24006111)
17501296;
uname -a
SunOS 5.11 11.3 sun4v sparc sun4v
One query used by SQL server report usually takes 1-3 minutes but takes 15-45 mins between 8 and 9:30 AM.We know there are other jobs runs during that time and lot of parallel salves are used by underlying query during that time.I have attached awr sqlreport and ASH report.What I have observed is db file scattered read for below operation.