Re: global method_opt preference and histograms on internal oracle schemas
Date: Wed, 4 Nov 2020 11:26:37 +0000
Message-ID: <DB7PR10MB2090AB1730AFF6646D12417685EF0_at_DB7PR10MB2090.EURPRD10.PROD.OUTLOOK.COM>
Dirk,
From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> on behalf of Tahon, Dirk [GTSBE] <dmarc-noreply_at_freelists.org> Sent: 02 November 2020 10:48
To: ORACLE-L (oracle-l_at_freelists.org) <oracle-l_at_freelists.org> Subject: global method_opt preference and histograms on internal oracle schemas
Hi all,
We're considering to change the method_opt on an existing database from the default FOR ALL COLUMNS SIZE AUTO to FOR ALL COLUMNS SIZE 1. Reason is SQL Plan instability issues, caused by too many histograms getting rather arbitrary different endpoints (because of the small histogram sample size of 5500 [and we'd like to stick with the auto sample size as that gives the better result for the basic statistics]).
Several internal Oracle schemas (including SYS) currently do have column histograms.
Question: has anyone seen performance issues by setting method_opt FOR ALL COLUMNS SIZE 1 as the global preference because of column histograms on internal schemas also being removed?
Note: in our specific case the Oracle version still is 11.2.0.4.
Thanks,
Dirk
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Nov 04 2020 - 12:26:37 CET