i could have swarn i read in multiple places that in a high transaction system hitting v$views repeatedly kills performance? causes excessive latching?
ill have to test it to see if this is better than a count. Gonna be ugly either way. > > From: "Jamadagni, Rajendra" <[EMAIL PROTECTED]> > Date: 2003/12/30 Tue PM 01:29:25 EST > To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> > Subject: RE: Re: help with estimate row count from asktom > > Don't be afraid to access v$ views, just beware of the bug that throws a ora-600 > when selecting 'filter_predicates' and 'access_predicates' under 9202. As a > workaround, don't select those two columns. If I were you, I'd make sure that users > are *very* clear that the number you are going to get is an 'ESTIMATE' only. > > We run with statistics_level=ALL, haven't seen any noticeable difference, YMMV. > Raj > -------------------------------------------------------------------------------- > Rajendra dot Jamadagni at nospamespn dot com > All Views expressed in this email are strictly personal. > QOTD: Any clod can have facts, having an opinion is an art ! > > > -----Original Message----- > Sent: Tuesday, December 30, 2003 1:19 PM > To: Multiple recipients of list ORACLE-L > > > im concerned about hitting the v$views in production. we have 30,000 users. its > either that or do counts. Its a requirement from the users. not sure what to do. > doesnt tom kyte do this on asktom? > > ************************************************************************************** > This e-mail message is confidential, intended only for the named recipient(s) above > and may contain information that is privileged, attorney work product or exempt from > disclosure under applicable law. If you have received this message in error, or are > not the named recipient(s), please immediately notify corporate MIS at (860) > 766-2000 and delete this e-mail message from your computer, Thank you. > **************************************************************************************4 > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Jamadagni, Rajendra > INET: [EMAIL PROTECTED] > > Fat City Network Services -- 858-538-5051 http://www.fatcity.com > San Diego, California -- Mailing list and web hosting services > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: <[EMAIL PROTECTED] INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).