How about this for a strategy? I'm only suggesting this because its what I implemented on a site some time back where the requirement was "we want to get stats, but you cannot store anything on our database" (so statspack et al was prohibited).
So we ended up with a "stealth" storage approach: We dumped into a database pipe (one row from v$sesstat = one message) the non-zero stats. Then every 'x' mins, we read back from the pipe, spit out anything that has a positive delta from the current v$sesstat, and store the current set back into the pipe. In this way, we got "close" to reasonable stats, the shortfalls being a few data inconsistencies with sid's that get reused across sampling periods. The pipe also nicely handles the db shutdown issue (simply because the pipe disappears so you counters get automatically reset) hth connor --- "MacGregor, Ian A." <[EMAIL PROTECTED]> wrote: > I want to start sampling this table, however > collecting data on the 200+ statistics for each > session would produce a prohibitively large result. > I'm trying to pare the 225 statistics to something > more reasonable, but I cannot decide which ones to > discard and which to record. > > Does anyone have a listing of the most useful > statistics that they would like to share? > > Ian MacGregor > Stanford Linear Accelerator Center > [EMAIL PROTECTED] > -- > Please see the official ORACLE-L FAQ: > http://www.orafaq.com > -- > Author: MacGregor, Ian A. > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: > (858) 538-5051 > San Diego, California -- Public Internet > access / Mailing Lists > -------------------------------------------------------------------- > 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). ===== Connor McDonald http://www.oracledba.co.uk http://www.oaktable.net "Remember amateurs built the ark - Professionals built the Titanic" __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: =?iso-8859-1?q?Connor=20McDonald?= INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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).
