Statistics accuracy
Follow up by mail Click here


Subject: Statistics accuracy
Author: Lauri, Netherlands
Date: Mar 08, 2010, 185 days ago
Os info: All
Oracle info: 10gR2
Message: Hi,

Statistics are re-initialized each time the instance is restarted.
If I modify the value of pga_aggregate_target, should the instance be restarted to reflect the current statistics (in this situation the values of the pga advisor)?

Kind Regards.
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Statistics accuracy
Author: Michel Cadot, France
Date: Mar 08, 2010, 185 days ago
Message:
It depends if you use spfile or init.ora.
Some of the latest values have been written in spfile but surely not v$pgastat.

Regards
Michel
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re-Statistics accuracy
Author: Lauri, Netherlands
Date: Mar 08, 2010, 185 days ago
Message: Hi Michel,

Thanks. I use a spfile.
Does this mean that I should restart the instance to have accurate values in v$pgastat?

Kind Regards.
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Re-Statistics accuracy
Author: Michel Cadot, France
Date: Mar 08, 2010, 185 days ago
Score:   Score: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 Pts
Message:
No, as I said v$pgastat is not in spfile.
If you restart the instance, you also restart instance statistics from 0 and Oracle has to learn again what is your activity.

Regards
Michel
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Re-Statistics accuracy
Author: Philip Wisse, Netherlands
Date: Mar 08, 2010, 185 days ago
Score:   Score: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 Pts
Message: Hi Lauri,

Instance bouncing is not needed:
Base statistics for this view are reset at instance startup and when the value of the PGA_AGGREGATE_TARGET initialization parameter is dynamically modified.

http://youngcow.net/doc/oracle10g/server.102/b14237/dynviews_2015.htm

Regards, Philip
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Re-Statistics accuracy
Author: Lauri, Netherlands
Date: Mar 08, 2010, 185 days ago
Message: Hi,

Thanks for these good answers.
But I when I am modifying the value of pga_aggregate_target I am also concerned by the statistics in v$pgastat and v$sysstat, and these values are cumulative since instance startup. So, I guess that if I want to see accurate values of statistics for the PGA I would need to restart the instance?

Kind Regards.
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here