![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This is 11.2.0.2 database, with the April PSU applied, on Linux 32bit. These are the numbers I see in SYS.AUX_STATS$: SQL> select pname,pval1 from sys.aux_stats$ 2 where pname like '%READTIM'; PNAME PVAL1 ------------------------------ ---------- SREADTIM 90819.71 MREADTIM 72565.924 I thought that these were durations of an average single/multi block reads, expressed in milliseconds. This doesn't work, even in microseconds. Also, SREADTIM is larger than MREADTIM, which I find rather strange. Has anybody noticed that? Did the units change? Should I start playing with DBMS_STATS.SET_SYSTEM_STATS? Ask Tom is busy as usual, impossible to ask question there. |
#3
| |||
| |||
|
|
On Wed, 07 Sep 2011 21:16:39 +0000, Mladen Gogala wrote: This is 11.2.0.2 database, with the April PSU applied, on Linux 32bit. These are the numbers I see in SYS.AUX_STATS$: SQL> select pname,pval1 from sys.aux_stats$ * 2 *where pname like '%READTIM'; PNAME * * * * * * * * * * * * * * * * *PVAL1 ------------------------------ ---------- SREADTIM * * * * * * * * * 90819.71 MREADTIM * * * * * * * * * 72565.924 I thought that these were durations of an average single/multi block reads, expressed in milliseconds. This doesn't work, even in microseconds. Also, SREADTIM is larger than MREADTIM, which I find rather strange. Has anybody noticed that? *Did the units change? Should I start playing with DBMS_STATS.SET_SYSTEM_STATS? Ask Tom is busy as usual, impossible to ask question there. I should have searched Metalink, before asking the question: Bug 9842771 - Wrong SREADTIM and MREADTIM statistics in AUX_STATS$ [ID 9842771.8] Both versions of 11.2.0 are affected. It's going to be fixed in 11.2.0.3 and the workaround is to set it manually. This will do wonders for the folks who upgrades database and expects the queries to work normally. |
#4
| |||
| |||
|
|
There are apparently two related bugs, the comment by Sokrates at the following link states that there is a patch for 9842771, but I do not recall locating that patch: |
#5
| |||
| |||
|
|
recall locating that patch: http://hoopercharles.wordpress.com/2...ct-statistics/ |
#6
| |||
| |||
|
|
Great note! I wish I saw it earlier, I would have known immediately. It does need an update, though. In Oracle11, you should collect stats for SYSMAN, not SYSADM. |
#7
| |||
| |||
|
|
http://oracle-randolf.blogspot.com/2...-is-time-next- generation.html |
#8
| |||
| |||
|
|
I should have searched Metalink, before asking the question: Bug 9842771 - Wrong SREADTIM and MREADTIM statistics in AUX_STATS$ [ID 9842771.8] Both versions of 11.2.0 are affected. It's going to be fixed in 11.2.0.3 and the workaround is to set it manually. This will do wonders for the folks who upgrades database and expects the queries to work normally. |
#9
| |||
| |||
|
|
Ah yes, of course: 12.0 comes out in October and 4 months later only "dinosaurs" will still use anything older and then openly defined as buggy. Same old crap of the last 12 years... |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |