Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> REPOST: Re: MONITORING

REPOST: Re: MONITORING

From: Brian Tkatch <SPAMBLOCK.Maxwell_Smart_at_ThePentagon.com.SPAMBLOCK>
Date: Thu, 24 Jan 2002 21:53:27 GMT
Message-ID: <3$--$%%%%---_-%__$@news.noc.cabal.int>


On Thu, 24 Jan 2002 20:34:40 +0000, Connor McDonald <connor_mcdonald_at_yahoo.com> wrote:

>Brian Tkatch wrote:
>>
>> When is an item considered stale, so that GATHER STALE collects
>> recollects statistics?
>>
>> Also, I hacked this together:
>>
>> SELECT UT.Table_Name, UT.Num_Rows,
>> UTM.Inserts, UTM.Updates, UTM.Deletes,
>> ROUND((UTM.Inserts + UTM.Deletes) / DECODE(UT.Num_Rows, 0, 100,
>> UT.Num_Rows) * 100, 2) || '%' "Percent Added/Deleted",
>> ROUND((UTM.Inserts + UTM.Updates + UTM.Deletes) /
>> DECODE(UT.Num_Rows, 0, 100, UT.Num_Rows) * 100, 2) || '%' "Percent
>> Changed",
>> UT.Last_Analyzed, UTM.Timestamp "Modification time"
>> FROM User_Tables UT, User_Tab_Modifications UTM
>> WHERE UT.Table_Name = UTM.Table_Name
>> ORDER BY (UTM.Inserts + UTM.Updates + UTM.Deletes) /
>> DECODE(UT.Num_Rows, 0, 100, UT.Num_Rows) DESC
>>
>> Does it make sense?
>>
>> Brian
>
>I remember reading somehwere that gather_stale is based on 10% deltas,
>but please don't take that as gospel.

But 10% of INSERTs and DELETEs, or do UPDATEs count as well.

I'm watching GATHER STALE. I just want to know what to watch.

Brian

This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers. Received on Thu Jan 24 2002 - 15:53:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US