"snapshot too old " and undo_retention 2005-09-29 - By Jared Still
You should probably use dbms_stats as you are on 9.2
It may also be unnecessary to compute histograms for all indexed columns, but hard to know what may break if you suddenly stop doing so. That requires testing.
eg.
begin
On 9/29/05, Roger Xu <roger_xu@(protected)> wrote: > > > > "ANALYZE TABLE "SAPR3"."BSIS" COMPUTE STATISTICS FOR TABLE FOR ALL INDEXED > COLUMNS SIZE 1 FOR ALL INDEXES" > > How do I break this into pieces? > > Thanks. > > -- --Original Message-- -- > From: Allen, Brandon [mailto:Brandon.Allen@(protected)] > Sent: Thursday, September 29, 2005 4:38 PM > To: Roger Xu; Oracle-L@(protected) Org (E-mail) > Subject: RE: "snapshot too old" and undo_retention > > > Are you computing stats (100% sample size)? Perhaps you could/should > estimate a small portion, like 5% instead? > > -- --Original Message-- -- > From: oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)]On > Behalf Of Roger Xu > > > > We have a huge table and it takes more than 24 hours to collect its > statistics. > > > > > This e-mail is intended solely for the person or entity to which it is > addressed and may contain confidential and/or privileged information. Any > review, dissemination, copying, printing or other use of this e-mail by > persons or entities other than the addressee is prohibited. If you have > received this e-mail in error, please contact the sender immediately and > delete the material. > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ _____ > This email has been scanned for all viruses by the MessageLabs Email > Security System. Any questions please call 972-721-8257 or email your > request to tech_support@(protected) >
-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist -- http://www.freelists.org/webpage/oracle-l
|
|