Hi Tom,
Version 10204.
I collected system statistics for few day and found
that almost always SREADTIME > MREADTIM as you can see bellow:
DATEM SREADTIM MREADTIM CPUSPEED MBRC [blocks]
[ms] [ms]
==========================================================
03/01/2009 00:33 10.98 5.16 1113 6
03/01/2009 01:33 11.34 4.27 1064 6
03/01/2009 02:33 12.56 5.73 1037 8
03/01/2009 03:33 8.42 3.55 999 8
03/01/2009 04:33 8.69 2.69 1087 8
03/01/2009 05:33 8.11 4.64 1079 7
03/01/2009 06:33 8.25 4.65 1053 6
03/01/2009 07:33 4.55 3.95 1115 7
03/01/2009 08:33 12.99 1.41 1075 8
03/01/2009 09:33 13.73 2.50 964 7
03/01/2009 10:33 3.31 1.73 984 8
03/01/2009 11:33 1.95 3.65 1044 8
03/01/2009 12:33 2.38 2.85 1102 9
03/01/2009 13:33 9.22 2.70 1111 8
03/01/2009 14:34 10.20 2.18 1116 9
03/01/2009 15:34 11.37 2.04 1121 9
03/01/2009 17:34 9.14 1.99 1119 12
03/01/2009 16:34 10.98 5.34 1111 9
03/01/2009 18:34 12.09 2.64 1120 11
03/01/2009 19:34 6.97 1.47 1121 10
03/01/2009 20:34 4.69 1.22 1118 8
03/01/2009 21:34 6.98 2.44 1047 11
03/01/2009 22:34 4.32 3.12 1120 6
03/01/2009 23:34 3.59 5.40 1109 5
...
This SANs storage (HP, XP12000) and as mr. Jonathan Lewis wrote and
confirmed by vendor the problem related to the read-ahead.
I decided not to implement the system statistics and as suggested ,
asked the vendor to supply :...."the manufacturers spec sheets to calculate
the notional sreadtim and mreadtim - based on the MBRC,
I/O seek time, and data transfer rates..."
A dba vendor suggest to :
"
Due to the read ahead used by XP, sreadtim is greater than mreadtim.
So the CBO optimizer will not accept the workload system statistics.
So the optimizer stops to use the cpu algorithm costing.
I think this is why the customer complains that sreadtim > mreadtim and decided NOT
to implement the system statistics.
Now I would suggest two tests :
- the customer might need to adjust the mreadtim and sreadtim manually using
the get_system_stats/set_system_stats procedure from the dbms_stats package and check
how the performance are affected on the sql queries
- the customer can do several tests with db_file_multiblock_read_count = 8, 16, 32, 64, 128
and check if the sreadtim and mreadtim statistics are changing when using
different "db_file_multiblock_read_count" settings.
"
After reading Mr. Lewis blog :
http://jonathanlewis.wordpress.com/2007/04/30/system-statistics/ I am not 100% sure that those are the right test cases i should take.
Mr lewis suggest a different approach to collect those values and also said
"...The intention was to do a completely ¿off-db¿ test, using an external program"
I would appreciate your/Mr. Lewis opinion regarding the test case suggested by the vendor
Thank you