Time model/event

Hi,
what is time model stats in AWR and time event in 10g?
What is the difference between two?
Thanks

Hi,
Below is a description for Time model statistics in AWR. I do not understand what you mean by time waits in AWR - Pls clarify!
Note: Below text is a blatant copy of what Don has to sya on this in his website. This is the simplest description I have got. To look for further info, kindly look into the good old Oracle documentation.
Time Model Statistics
The time model statistics give insight about where the processing time is actually spent during the snapshot interval.
Time Model Statistics  DB/Inst: LSQ/lsq  Snaps: 1355-1356
-> ordered by Time (seconds) desc
                                                       Time      % Total
Statistic Name                                     (seconds)     DB Time
DB time                                         7,274.60      100.00
sql execute elapsed time                        7,249.77       99.66
background elapsed time                           778.48       10.70
DB CPU                                            150.62        2.07
parse time elapsed                                 45.52         .63
hard parse elapsed time                            44.65         .61
PL/SQL execution elapsed time                      13.73         .19
background cpu time                                 8.90         .12
PL/SQL compilation elapsed time                     3.80         .05
connection management call elapsed time              .15         .00
Java execution elapsed time                          .05         .00
hard parse (bind mismatch) elapsed time              .00         .00
hard parse (sharing criteria) elapsed time           .00         .00
sequence load elapsed time                           .00         .00
failed parse (out of shared memory) elapsed          .00         .00
inbound PL/SQL rpc elapsed time                      .00         .00
failed parse elapsed time                            .00         .00
In the sample output of the AWR Time Model Statistics Report shown above, it can be seen that the system spends the most processing time on actual SQL execution but not on parsing.Thanks,
Suddhasatwa

Similar Messages

  • Handling EDT issues when listening to model events with ModelViewPresenter

    I'm planning on using model-view-presenter (passive screen/humble dialog variant) http://martinfowler.com/eaaDev/PassiveScreen.html as the basis for my Swing application.
    view <-> presenter <-> model
    The view is very thin and dumb and only shows what presenter tells it to. Presenter listens to UI events from the view, updates the model based on them, listens to model update events, and reads view state and updates view state.
    I'm now searching for a good practise for handling EDT-threading problem. The model is inherently multithreaded in the sense that we have several threads running concurrently. They for example fetch data from different sources and update the model accordingly. An event is created, presenter listens to it and updates the view.
    There's also operations that the user initiates. Those start in EDT, presenter does some actions on the model and possibly updates the view state as a result. If the action is fast, the whole thing can be done in EDT. If the operation takes a long time, the processing needs to jump out of EDT at some point to not block the UI.
    When thinking about the events that are created from model due to some background thread, where should we jump back to EDT? There's options:
    a) jump to EDT when presenter updates the view
    view (EDT) <- presenter (either EDT or other thread) <- model (either EDT or other thread)
    b) jump to EDT when moving to presenter layer
    view (EDT) <- presenter (EDT) <- model (either EDT or other thread)
    a)
    - could be implemented by creating an AOP aspect for all View interfaces(?) The aspect would jump to EDT if not there yet always when any method of the interface is called
    - if one ModelEvent is received in non-EDT thread in Presenter, and 15 different View setters need to be called to update the view state, causes 15 separate SwingUtilities.invokeLater() calls...problem?
    - model events and eventlisteners are straight forward to implement. Presenter and model do not need to be aware of Swing (existence of event dispatch thread)
    - Presenter is multithreaded and presenter objects need to be implemented so that threading problems do not occur
    b)
    - could be implemented for example by creating special model EventListener implementations that jump back to EDT when event is received
    - model events and eventlisteners are not as straightforward to do as with a). Somewhere the events need to jump to EDT (event source or listener) and you cannot code just "simple plain" listeners and event sources
    - Presenter needs to be aware of Swing (existence of event dispatch thread and need to jump back to it when events come from model) at least in the sense that it uses the correct EventListener implementations
    - View interface could still check that thread = EDT when methods are called (using similar AOP) to ensure threading rules are not broken
    - Presenter can be single threaded (always in EDT) and presenter implementer does not need to worry as much about threading
    - note that above point requires that user-initiated long running operations, that can't be run in EDT, need to jump from EDT the model layer. If view initiates new non-EDT threads (for example using SwingWorker), Presenter still does have multiple threads running on it (although only "one way", from view to model) and needs to be made threadsafe. This is starting to sound bad, but even if Presenter is single threaded only "one way", it may still be easier to implement than presenter that is completely multithreaded?
    I think major point in deciding is the difficulty of creating thread safe Presenters. Thread safe code is notoriously difficult to implement and even things that seem trivial at first sight can cause big problems. I can't help thinking that since the application's core is already multithreaded by nature, how much more difficult can it be to make the Presenters thread safe as well? Presenters should be quite simple in any case, can receiving events from model and calling a few setters on the view cause threading problems?
    Note that this problem is not limited to programs where background threads update the data....any program where some long running operations are run outside of EDT, and may cause events that are listened to in some presenter, has to solve this issue.
    Any views or ideas?

    RickyT wrote:
    Hello Helpful Nokia Users,
    When I am using my BH 103 blue tooth stereo earphones to listen to music on my N900, the sound drops out for about half a second (or less) then the music sounds slower (like a record player that has been slowed down) for about 4 seconds, then goes back to normal. This sometimes happens on each song, one after the other, sometimes it is just @ random times.
    This NEVER happens when using plug in head phones or when I hook it up to my stereo.
    The BH 103 are about 2 years old.... would the battery be failing? Causing them to run out of power super quickly? My N95 8GB used to beep when the battery in the earphones was low, would the N900 be "pausing" instead?
    Are the BH 103 not compatiable with the N900.... even though Nokia store lists them as accessories. Would I be better off with a newer model of ear phones?
    Cheers for your help!
    i think its the battery issue .
    Reality is wrong....dreams are for real... 2pac .
    don't forget to hit that green kudos

  • HT200196 iCal reminders are clogging up my computers, iPads and iPhone.  When I view the Calendar list in iCal, it seems it has added a new calendar every time an event is added.  I have a calendar list that has grown to over 100.  How do I remedy this?

    My laptop, iPad, and iPhone are being clogged by repeated iCal alerts.  Every time an event is added, it seems another Calendar is also added.  When I view the Calendar list in iCal, there are over 100...and the number is growing.  They can not be deleted with a simple "Select all" or "Delete All" and, when deleted individually, the list quickly grows to huge numbers again rapidly.  How do I keep this from happening and eliminate the excessive number of calendars?

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Can I print a calander without showing the times of events?

    Can I print a calander without showing the times of events. Or, alternatively, is there a way to list things without having them be an event. Just notes on the day, for instance.

    It seems like a simple solution must be at hand. There is an option in the iCal Preferences (General) panel--Show event times. With this command unchecked the screen view of the month view is free of the times of day, but when I print the month view the times of day are printed.

  • Help appending how many times an event ID has occurred next to the unique Event ID.

    Hello,
    I am trying to figure out how to find how many times an event occurred and then append that next to the single  -unique Event ID.
    The closest I can find is the Sort-Object Count but I can't figure out how to get that work within the below script.
    Any help would be appreciated, the below script works already. but just doesn't have that Event ID count. 
    Thank you for any help. 
    Below is the
    script to pull all Event Logs for each server, filter them to only display Warnings, Failures, and FailureAudits for Application, System, and Security logs and then remove all duplicate EventIDs so only 1 of each is shown. it then exports that info into a
    .CSV per server.
    param([string]$days= "31" )
    $servers = @("Server1", "Server2" "Server3", "Etc")
    $user = Get-Credential
    #Set namespace and calculate the date to start from
    $namespace = "root\CIMV2"
    $BeginDate=[System.Management.ManagementDateTimeConverter]::ToDMTFDateTime((get-date).AddDays(-$days))
    $store = "C:\Powershell\MonthlyMaintenance"
    foreach ($computer in $servers)
    $filter="TimeWritten >= '$BeginDate' AND (type='Warning' OR type='Error' OR type='FailureAudit')"
    Echo "Pulling Event Logs for $computer ..."
    Get-WmiObject Win32_NTLogEvent -computername $computer -Filter $filter |
    sort eventcode -unique |
    select Computername,
    Logfile,
    Type,
    @{N='TimeWritten';E={$_.ConvertToDateTime($_.TimeWritten)}},
    SourceName,
    Message,
    Category,
    EventCode,
    User |
    Export-CSV C:\Powershell\MonthlyMaintenance\$computer-Filter.csv
    Echo "Done."

    Unfortunately adding that to the script just outputs a bunch of jargon:
    #TYPE Microsoft.PowerShell.Commands.Internal.Format.FormatStartData
    ClassId2e4f51ef21dd47e99d3c952918aff9cd
    pageHeaderEntry
    pageFooterEntry
    autosizeInfo
    shapeInfo
    033ecb2bc07a4d43b5ef94ed5a35d280
    Microsoft.PowerShell.Commands.Internal.Format.AutosizeInfo
    Microsoft.PowerShell.Commands.Internal.Format.TableHeaderInfo
    9e210fe47d09416682b841769c78b8a3
    I did try adding it in various ways and removing the initial # Sort EventCode -unique | # and I just get the same jargon
    Am I adding it in wrong some how? 
    Thank you again for any help.
    param([string]$days= "31" )
    $servers = @("ComputerName")
    $user = Get-Credential
    #Set namespace and calculate the date to start from
    $namespace = "root\CIMV2"
    $BeginDate=[System.Management.ManagementDateTimeConverter]::ToDMTFDateTime((get-date).AddDays(-$days))
    $store = "C:\Powershell\MonthlyMaintenance"
    foreach ($computer in $servers)
    $filter="TimeWritten >= '$BeginDate' AND (type='Warning' OR type='Error' OR type='FailureAudit')"
    Echo "Pulling Event Logs for $computer ..."
    Get-WmiObject Win32_NTLogEvent -computername $computer -Filter $filter |
    sort eventcode -unique |
    select Computername,
    Logfile,
    Type,
    @{N='TimeWritten';E={$_.ConvertToDateTime($_.TimeWritten)}},
    SourceName,
    Message,
    Category,
    User,
    EventCode | Select Name,Count | FT -auto|
    Export-CSV C:\Powershell\MonthlyMaintenance\$computer-Filter.csv
    Echo "Done."

  • In downloading my Events from iPhoto on my Mac to my iPad Air, the Events arrive in the proper order but not showing the Key Photo.  At the same time, the Events arrive in iPhoto on the iPad in totally random order but showing the Key Photo.Why?

    In downloading my Events from iPhoto on my Mac to my Ipad Air, the Events arrive in Photos in the correct order but not showing the Key photo. At the same time, the Events arrive in iPhoto in a totally random order but with the Key phto showing. Why? of course and is there a way to shift the order in Iphoto and get a Key photo in Photos?

    HHi, thank you for the reply. I have checked my iPad and iPhone and neither has iCloud Photo Library (Beta) enabled. Turned off in both. Photostream is turned on.
    i tried to sort it out  by dragging all the photos to Events on the Mac and then deleting them from iCloud - (left hand side of iPhoto under the section 'Shared'). the photos now show up in Events. I did force quit but the issue remains. The message reads ' photos are bing imported to the library. Please wait for import to complete.'
    i can't empty iPhoto trash either. The message read "Delete error. Please wait for import to complete.'
    WHen I was moving the photos to the Events I always had a message about duplicates - to the effect that the photos already existed, did I want to import them? I clicked on Yes, import all duplicates. But when it showed the images - duplicates side by side - one showed the photo and the other was blank.
    I really don't know what to do! And I don't know how to handle my iOS devices. Is it to do with the large number of photos? Any help, advice appreciated.

  • 1ms Time Loop / Event Trigger from Counter

    Hi.  I'm pretty new to LabView so I'm am hoping this is an easy question:
    I need to read the pulse signal from some reluctors (toothed wheels that pulse a signal with each passing tooth).  The amplitude of each pulse is above 2.2V so I was planning on using TTL counters.
    I need to record the status of 5 counters with each increment of one of the counters  For the RPM and tooth count, I can do this with a 1ms timed loop.
    Question:  Can windows successfully give a 1ms (accurate) timed loop?  I know this depends on how much I am doing inside the loop but, for now, I just need to read 5 counters and store the data with a timestamp.
    Is it possible to make a counter throw an event?  If the counter is incrememented, can LabView be notified to then go off and handle a block of code?
    Thanks for any help you can offer!

    I assume you also have an analog input card for the chasis?
    So, it's probably possible to get 1ms timing with software timed loops, however based on my quick check of the manual for your chasis
    http://www.ni.com/pdf/manuals/372780c.pdf (see section 2-2 for example)
    You can use an Analog Comparison Event or a PFI channel to trigger a sample (i.e. your generated pulse is the sample clock). This could allow you to use your pulse to trigger an analog sample. Now, this doesn't get you timing information (it just gets you the value of the analog input at the time the event occurs). To get a time, you can use the counters on the digital card in the same way. You have the counters be driven by a fast sample, on-board clock. Then you can use your pulse events again to sample that clock. So each pulse, you get one analog voltage sample and one time sample from the counter. The resolution on this counter will be great, depending on how fast your counters can be driven (sometimes NI counters can actually be driven faster than the fastest available clock on the card or chasis). 
    Or you can just do the software loop.

  • Taking action only the first time an event executes

    I want a certain action to occur only the first time an event handler for a button is called. Is there a simple way to do this?
    Bill F

    There are two pretty easy ways to do this.
    If you want to continue to trap other events (other event cases in your event structure), use a shift register:
    1. Add a shift register to the loop containing your event structure. (right-click on the left-hand border of your loop and select Add Shift Register).
    2. Wire a numeric constant = 0 from outside the loop to the input (left-hand) terminal of your shift register.
    3. Inside your event structure, in the event case you want to handle only once, put a case structure around the code you want to execute only once. That code should be within the True case.
    4. Add an Equal To 0? function (from the comparison palette) to the loop. Wire the input shift register to the input of Equal To 0?. Wire the output of Equal To 0? t
    o the selctor for your new case.
    5. Within the True case of your new case structure, add a numeric constant = 1. Wire that constant out to the output (right-hand) side of your shift register.
    6. Within the False case of your new case structure, wire the input side of your shift register to the output tunnel created by the wiring in step 5.
    This way the event structure will keep running and handling other events, but the case you just modified will only run the first time: the first time you get the event, the shift register will = 0 so you'll execute the True case of your new case structure. Within that case, you set the shift register to 1. The next time you get that event, the shift register = 1, not 0, so you'll execute the False case and not the code in your True case.
    If you want to stop all event handling after the first event and your event handler is the only thing with its loop, from the event case (for the event you want to stop on), wire a True boolean constant out to
    the Stop terminal of the loop containing your event structure.

  • BPM Attached Timer Intermediate Event

    Hi,
    I read that it is possible in BPM to create an attached timer intermediate event. The basic idea is to attach the timer intermediate event to an acitivity (human), when the timer timeout after certain duration, even the task is not completed, it will nevertheless proceed to the subsuquent activity.
    I could find a way to attach the timer intermediate event to the activity. Anyone kindly enough to show me step by step? 
    - julius

    Hi Julius,
    If it is really the beta then it is definitely below SP2, namely SP0 or SP1. You could open "Help -> About SAP NetWeaver Developer Studio" in your IDE which should display something like this:
    SAP NetWeaver Developer Studio
    SAP Enhancement Package 1 for SAP NetWeaver 7.1 SP*<X>* PAT*<Y>*
    where X is your current SP and Y would be the patch level (if one is applied). Be assured that it is working in the current SP2 release (which was made public last week or so), but if you found out which version you are having then I'll check once again.
    Cheers,
    Martin

  • After Maverick, calendar not showing time of event

    on Friday, my OS was updated to Maverick and now my calendar displys the events but no time on the month view. To see time of events I have to go to week view, which I do not like at all... Anyone knows how to get this resolved? The preferences doe nto give me that choice, at least as far as I can tell. Thanks for the help.

    To see event times in month view, you can either make the Calendar window bigger, or, if you want to keep the window small, you can add the time to event titles.
    (IMO, Calendar works best as a full screen app.)

  • Variances Using Crossover Time Model

    I'm sure this is a standard problem but am unable to find a solution:We're using a crossover time model where three fiscal years, quarters, months and weeks are all descendants of time (there is no year in scenarios).How do we build a member that computes a variance? For example, we'd like the variance for any measure between 2002_Q1 and 2001_Q1.Any help would be appreciated, even if it's just to point me at some appropriate documentation.Thanks.

    To be able to calculate a variance between a selected year/month/quarter and the prior year, you could do it a number of ways:1) Create members in the time dimension to represent the possible variances (that could be a lot of extra members.2) Create a new dimension to store the variances.3) Split the years out of the model and do variances within that dimension.Of course, you could always have the front end tool do the variance for you, but if you want to have it come out of Essbase, those are the choices.You could use an existing dimension to store the variances, but you will have some limitations. For example, if you choose to use the accounts dimension, you will have to select an account on which to do the variance.Are there specific values for which you want to see the variance, or could it be anything?Regards,Jade-------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • BADI for time m. events

    Hello,
    We need to move all our user exists of time management events (pa51, pa61,...)(PBO & API)to a BADI which also would have effect in the interface between Portal and R3.
    Do you know which BADI we have to implement?
    Thanks in advance.

    Hi fariba,
    Have you solve this multiple entries problem in LIST ENTRY?
    I know this is doable for 'WEEK' but not 'LIST ENTRY'.
    Could you share us your experience?
    Thanks,
    Guorong

  • 1046: Type was not found or was not a compile-time constant: Event.

    I am more than a little frustrated.  I'm using Flash Professional CS5.5, attempting to publish ActionScript 3.0 for FlashPlayer 10.2
    My code begins with:
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.events.KeyboardEvent;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    Then much later I have:
    teamFourCar_mc.addEventListener(Event.ENTER_FRAME, trackPosition);
    function trackPosition (event:Event)
    and I keep getting a compiler error:
    Scene 1, Layer 'actions', Frame 1, Line 434
    1046: Type was not found or was not a compile-time constant: Event.
    I have imported the class "Events".  I have successfully used the same construction in other scripts... in fact, virtually the same construction is included in Code Snippets as Fade In and Fade Out.  Adding ":void" after (event:Event) makes no difference.  I have Googled - to no avail - and spent the better part of a day reading through the on-line help files, but the solution is still eluding me.
    It's probably so simple I'm going to smack myself in the forehead and mutter "Duh!" when I find a solution...
    If you can do anything to hasten that event (no pun intended) I (with the possible exception of my forehead) will be very grateful.
    TIA
    Terry

    Sinious:
    The entire code of the main movie clip is at http://pastebin.com/JYfLUhh1
    A sample of one of the four "problem" movie clips is at http://pastebin.com/gQGDyngx
    There is nothing wrong with the "problem" clip.  The problems are in the main movie clip:
    Scene 1, Layer 'actions', Frame 1, Line 427
    1046: Type was not found or was not a compile-time constant: Event.
    Scene 1, Layer 'actions', Frame 1, Line 612
    1046: Type was not found or was not a compile-time constant: Event.
    Scene 1, Layer 'actions', Frame 1, Line 1819
    1046: Type was not found or was not a compile-time constant: Event.
    There are the only three occurrences of a function with (event:Event).  Two are ENTER_FRAME (427 & 1819) The other is COMPLETE from Loader.info
    Auto format reported a syntax error "near 'if(movingCar.currentFrame == (dieRoll * 24) + movingCarPosition)' " but I can't detect what, if anything, is wrong with it.
    I'm not an experienced developer... in fact, the last programming I did before taking up Flash three months ago was with QuickBasic under DOS 6.2... therefore, please try not to roll your eyes too much when you see how inelegant the code is.
    I have a working version, but it's over 7,000 lines and a memory hog.  I'm trying to make it more elegant and more efficient.  BTW, the three (event:Event) functions are in the working version in more or less the same places, with the same calling code.
    I hope you can figure it out.
    Thank you in advance

  • Time zone event shifting problem - please help

    Hi,
    I have a question: i have done my calendar in ical. I travel with my computer constantly and would like to change time zones accordingly, so my emails and emails i receive are displayed with correct time, etc.. I did my calendar when I was in the US (EST), now that I am in Europe and I change the time zone in the preferences, all my events shift 6 hours. If i enable time zone support in ical preferences, it seems to give me an option to assign each event a different time zone. don't want or need this. Can i avoid ical shifting my (correct) times for events alltogether??
    Many thanks for your help!

    Just found a utility recommended on a different thread to this same question: http://discussions.apple.com/thread.jspa?messageID=3854700&#3854700
    The download link for the utility is, http://www.versiontracker.com/dyn/moreinfo/macosx/19409.
    I have not tried it out, but it certainly seems to address the right issue.
    Ron

  • ICloud Calendar 'At time of event'

    Hello.
    We are able to add an alert 'At time of event' to an event in Calendar by using IOS 5. But in iCloud.com, it seems not possible to do that. There is not an option of 'alert' listed as 'At time of event'.
    Will apple fix that?

    Use 'On date of event'.

Maybe you are looking for

  • How to make an animation play on the click of a button

    Hi, I am trying to find an advanced action that allows me to PLAY an animation (swf) on the click of a button. Currently I am showing a swf but this does not allow the animation to play out. Thanks in advance, Liam

  • Invisible bootcamp partition after failed removal

    Hi everyone In the process of removing a Windows partition, I accidentally quit Bootcamp (trying to quit another application). Now, the partition neither shows up in Disk Utility nor anywhere else - of course disk space still taken. Disk repair didn'

  • Can't import RAW files from Canon Powershot S50.

    iPhoto6 will not import RAW files from my Canon Powershot S50. It says the files are "unreadable". Image capture will import to the desktop, but neither iPhoto nor Photoshop Elements can open the file. I checked and the S50 is supposed to be compatib

  • Configuration need befor master data creation?

    hii Experts i have to create master data in IDES for my company code. Before creating master data in SAP easy access, what are the configuration i have to do for master data in SPRO?? Like material , vendor  and inforecord and source list . For above

  • Pipes

    Hi everyone, here is where i am stuck in: after reading the article i have a couple of questions: how can the command mkfifo in java be implemented? Besides, what i have done is as follows: i have an app which is using the runtime to create another p