Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

High buffer gets vs performance

$
0
0
We have noticed that one of INSERT statement has been taking longer time than earlier to get executed. DBA's has done some profiling and provided me
with some stats for a three hour window ( INSERT statement execition was longer this 3 hr window)
Below are readings for 3 SQL statements. We noticed that the first two select queries got higher number of buffer gets.
These 2 SQL statements were not unexpected to run during that window. So, i wanted to figure these 2 select statements had an adverse affects on the INSERT statement.

Please note that the database is oracle 10g.

My Questions:
1. 126631 value for buffer gets/execution is really too high??
2. Can this impact the performance of the other SQL statements (like Insert statements) running on the same database on different tables?
Because we noticed during this period one of the INSERT statement was taking more time. The log file sync wait event (18ms) was listed in the TOP 5 events during this period



Select SQL1

Buffer Gets: 371,031,088
Executions: 2,930
Gets per Exec: 126,631.77
%Total: 34.61
CPU Time (s): 1416.82
Elapsed Time (s): 1526.85
SQL Module: JDBC Connect Client



Select SQL2

Buffer Gets: 370,418,828
Executions: 2,932
Gets per Exec: 126,336.57
%Total: 34.56
CPU Time (s): 1800.82
Elapsed Time (s): 1802.95
SQL Module: JDBC Connect Client



INSERT SQL1

Buffer Gets: 5,957,708
Executions: 786,108
Gets per Exec: 7.58
%Total: 0.56
CPU Time (s): 495.41
Elapsed Time (s): 498.38
SQL Module: JDBC Connect Client


Your suggestions are greatly appreciated.

Thanks

Viewing all articles
Browse latest Browse all 13329

Trending Articles