RE: gather stats

  • From: Ahmed Aangour <ahmed.aangour@xxxxxxxxx>
  • To: MAdams@xxxxxxxxxxxxxxxxxxx
  • Date: Mon, 9 Nov 2015 19:16:44 +0100

The potential issue does not concern frequency histograms but rather Height
Balanced histograms. The fact that some values can be seen as popular one
day and not popular another day can constitute a cause of instability
Le 9 nov. 2015 7:07 PM, "Matt Adams" <MAdams@xxxxxxxxxxxxxxxxxxx> a écrit :

I can understand not gathering histograms across all columns due to the
potential time it would take to do so. Is there any other technical reason
not to..(perhaps some issue with the optimizer I'm not currently aware of)?

I routinely gather histogram information for all INDEXED columns.

Matt Adams

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Wolfgang Breitling
Sent: Monday, November 09, 2015 12:13 PM
To: kp0773@xxxxxxxxx
Cc: Oracle-L@xxxxxxxxxxxxx
Subject: Re: gather stats

Use auto_sample_size and refrain from gathering histograms on all columns
( method_opt 'for all columns size 1')

Sent from my iPhone. Typing errors may have occurred.

On Nov 9, 2015, at 10:01, K R <kp0773@xxxxxxxxx> wrote:

All,

What is the recommended way of gathering stats on 11gR2 database (
2.5 TB) . If i keep estimate percent 10,15 then some of the table are
taking hours and hours .
Please let me know .

Thanks in advance.

Kart.
--
//www.freelists.org/webpage/oracle-l



**** This communication may contain privileged and/or confidential
information. If you are not the intended recipient, you are hereby notified
that disclosing, copying, or distributing of the contents is strictly
prohibited. If you have received this message in error, please contact the
sender immediately and destroy any copies of this document. ****

--
//www.freelists.org/webpage/oracle-l



Other related posts: