Hi Jonathan, my comments are in-line
On 11/09/2015 01:54 PM, Jonathan Lewis wrote:
Bear in mind that even though auto_sample_size means 100% approximate_ndv forIf there is a table for which such method produces undesirable SQL execution plans, it is possible to set table preferences on per table basis. This is, as a matter of fact, what I usually recommend my clients. Sample size can be set in table level preferences.
simple stats Oracle will still sample for histograms; so many of your
histograms could be built on a sample of about 5,500 rows; with some built on
larger samples.
I think "for all hidden columns size 254" might be implied by "for all columns size
254", but the way - that might only be true for relative new versions of Oracle, of course.