Re: silly dbms_stats question
- From: Yong Huang <yong321@xxxxxxxxx>
- To: Thomas Day <tomdaytwo@xxxxxxxxx>
- Date: Thu, 30 Apr 2009 05:18:06 -0700 (PDT)
--- On Thu, 4/30/09, Thomas Day <tomdaytwo@xxxxxxxxx> wrote:
>
> We have tables that are being truncated nightly and then being re-loaded
> with data that is 99.99% identical with the previsous data.
> ...
> Other than exporting the good stats and re-importing them daily, is there
> any way to stop Oracle from marking the stats as stale?
I think this works. In 9i, alter each table nomonitoring. In 10g, set
statistics_level to basic, or an undocumented way but more precisely
controlled, set _dml_monitoring_enabled to false. This is a system
wide setting. So you may set it to false before the truncate and set
to true after the reload.
Yong Huang
--
http://www.freelists.org/webpage/oracle-l
- References:
- Re: silly dbms_stats question
- From: Thomas Day
- Re: silly dbms_stats question
Other related posts:
- » silly dbms_stats question - Crisler, Jon
- » Re: silly dbms_stats question - GBA-DBA
- » Re: silly dbms_stats question - Jared Still
- » RE: silly dbms_stats question - Crisler, Jon
- » Re: silly dbms_stats question - Jared Still
- » RE: silly dbms_stats question - Mercadante, Thomas F (LABOR)
- » RE: silly dbms_stats question - Sweetser, Joe
- » RE: silly dbms_stats question - Crisler, Jon
- » Re: silly dbms_stats question - Niall Litchfield
- » RE: silly dbms_stats question - Crisler, Jon
- » RE: silly dbms_stats question - Wolfgang Breitling
- » Re: silly dbms_stats question - Rakesh Tikku
- » Re: silly dbms_stats question - Yong Huang
- » Re: silly dbms_stats question - Thomas Day
- » Re: silly dbms_stats question - Yong Huang
- » RE: silly dbms_stats question - Crisler, Jon
- » RE: silly dbms_stats question - Brady, Mark
- » RE: silly dbms_stats question - Paresh Patel
- » Re: silly dbms_stats question - Fuad Arshad
- » RE: silly dbms_stats question - Crisler, Jon
- » Re: silly dbms_stats question - Thomas Day