As per first step towards optimization please rebuild indexes and also check table level fragmentation
This is a ridiculous suggestion - you have NO information whatsoever to suggest that rebuilding indexes will have any effect, or that there might be any problems with "table fragmentation" (in any of the meanings that people give to that term).
Please search the root clauses of db seq. scan and then comment. Fragmented table and indexes are the most freq. reason for this
Wrong - bad execution plans, bad index design, and very large data sets are far more likely causes of "excessive" db file sequential reads.
you have to do optimization for DB file sequential reads as per explain plan.
But we haven't seen any execution plans yet, and you're already telling this person to rebuild indexes !
A couple of notes:
As Randolf has pointed out, there are 48,000 SQL statements in this trace file - if these are the wait statistics for the whole trace file and not just one statement, then this averages about half a read per statement, which
could be very good when accessing a very large table with a high precision index.
As Hemant points out, we don't know much about the total time - the I/O wait time is only 7.17 seconds, but the OP is worried about performance. Consider, though, (a) 7.17 seconds for 27,000 single block reads is an average of 0.26 milliseconds - which is so fast that the reads are obviously coming out of a cache (probably the local file system). It makes you wonder how much CPU time has gone into trace file, and what the elapsed time is, and where the elapsed time went.
You can occasionally find cases where rebuilding indexes or repacking tables (or changing the data structures completely) is important - but suggesting either action without any evidence is far from sensible.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {code} (lowercase, curly brackets, no spaces) so that the text appears in
fixed format
.
"Be very, very careful what you put into that head because you will never, ever get it out."
Cardinal Wolsey