Posiible to limit query time for any one query

Hi,
Using 11.2.0.3
We have a third-party web-based reporting tool where sql queries are initiated on the database- sometimes the user kills the browser session and query still runs on the database.
Is it possible ata dtabase level to set max time any one query can run e.g. no query over n hours. This would help kill such queries.
Also is it possible to cap individual queries to say one query can never use more than n% of cpu, ram available?
Thanks

user5716448 wrote:
Hi,
Using 11.2.0.3
We have a third-party web-based reporting tool where sql queries are initiated on the database- sometimes the user kills the browser session and query still runs on the database.
Is it possible ata dtabase level to set max time any one query can run e.g. no query over n hours. This would help kill such queries.
Also is it possible to cap individual queries to say one query can never use more than n% of cpu, ram available?
ThanksIf you have Enterprise Edition licences, this is straightforward with the Resource Manager: set a threshold for MAX_EST_EXEC_TIME and all queries that might exceed this will be blocked. You also have CPU limits available.
John Watson
Oracle Certified Master DBA
http://skillbuilders.com

Similar Messages

  • How do I use Airport Extreme to limit internet time for my kids?  His computer is hardwired to the modem.

    How do I use Airport Extreme to limit internet time for my kids?  His computer is hardwired to the modem.

    You can set up daily time limits for each computer that connects using wireless, but it is not possible to do this when a computer is connecting directly using a wired Ethernet connection.
    Open Macintosh HD > Applications > Utilities > AirPort Utility on your Mac and click Manual Setup
    Click the Access Control tab below the icons
    Select Timed Access
    For more details on this, click the Help menu at the top of the screen and enter the following phrase into the search box:
    Controlling access to your wireless network
    A more sophisticated approach would be to use a service provided by OpenDNS. From your computer, this would allow you to monitor web sites visited, and block any unsuitable sites. More info is here:
    http://www.opendns.com/landings/familyshield

  • Spool printing takes a long time for just one user

    Hello,
    Could someone please guide on what could be the reason that spool printing takes a long time for just one user ?
    I've monitored all the spool processes through SM50, and I've found that a very long time elapses before the printing job appears in one of the four spool processes.
    Thanks in advance.
    Reda

    Hi,
    very long time elapses before the printing job appears in one of the four spool processes.
    can u check the trace file(Red color error) of that spool process. Also can u see if there are any system logs in SM21 related to that spool request.
    Also see how many pages the user is giving print @ 1 shot. Suppose if the printer to whcih the user is giving print is a network printer, see the network response time.
    Have u tried to ask the same user to give print to some other printer. Also have u asked some other user to print to that problematic printer. Check the responses under this scenario also.
    Regards,
    Ravi

  • My ipod won't let me connect to wi-fi, won't let me restore or reset it, and it keeps telling me i knew a passcode for any one and I never set a password up. How do I fix this?

    My ipod won't let me connect to wi-fi, won't let me restore or reset it, and it keeps telling me i knew a passcode for any one and I never set a password up. How do I fix this? Says try again in 6180146 min. my passcode setting is off, but restrictions are on. Very frustrated. please help

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Can Mac OS Server limit up time for clients

    Can Mac OS Server limit up time for clients like a linksys router can? I want to base the time limit on mac addresses.

    what exactly do you want to limit?
    uptime is the time since the computer has been turned on (total time running), sounds more like you would like to limit internet acccess...??

  • Ideal execution time for any program

    Hi,
    Is there any method to determine the ideal execution time for a program ?
    Or else how to determine that ?
    I just wanted the max. time that a program can take so that the performance would not be hampered.
    Thanks,
    Binay.

    did you ask for the 'ideal execution time' or 'how to measure execution times'?
    The second question was answered in one of your other questions.
    Optimization:
    Do SQL Trace, go to Summary by SQL statement, check 10 Top contributions (time = duration).
    Try to optimize them, note minimal time per record, if larger than 10.000 microsecodns, then you should index usage.
    Do SE30, go to hit list, sort by net time, again address 10 Top contributions, try to optimize, check the coding.
    Do optimization and trace again, check again 10 Top contributions ....
    Siegfried

  • How to add wait time for any of the process in Process chains?

    HI
    I want to add the wait time for the process in the process chains. How to do it?
    Regards
    Priya

    Hi there,
    Here you go:
    REPORT  ZREPORTNAME. "the name of your report
    WAIT UP TO 90 SECONDS. "a wait is set to 90 seconds before starting the chain
    "call your chain to be executed after that
    CALL FUNCTION 'RSPC_CHAIN_START'
      EXPORTING
        I_CHAIN             = 'ZYOURCHAIN'. "the name of the chain you wish to run
    Diogo.

  • Is the siri down for any one

    is siri down for any one

    There have been several posts tonight reporting it as being down. It being down for some may not mean it is for others, it's based on multiple factors like location. You're not alone, just wait it out.

  • Is there a way to add multiple borders to a single cell with one click or do I have to add one border at a time for example, one cell with borders on three sides?

    I would like to know if there is a way to add multiple borders to a single cell or selection of cells in one click.  At this time, if i want to add for example a top border and a bottom border to a single cell I have to do this in two steps: first select the top border, style, thickness, and color, and then next select the bottom border, style, thickness, and color.  Is there a way to select the top and bottom border of a cell in one click?  Clicking on the top border then holding down the command key while selecting the bottom border does not work, nor does holding down the option key, the control key, or the shift key work. Thanks for your help.

    Thank you for the suggestion but this did not work for my Mac.  When a cell is selected for which I want borders, the entire cell is lit up.  Then when I go to the border tool and select style, thickness, and color, the entire lit up cell takes on the border, that is the Outside Edges of the cell now have a border.  So selecting the style, thickness, and color first doesn't work.
    If I select the top border first (or any border), the drop down goes away and I can't select multiple borders - I get to choose one at a time.  After selecting one border, style, thickness, and color, said border is now on the spreadsheet.  Then I go back to the border selection and pick another border and the the previously selected style, thickness, and color reverts to null, so I start over with the new border style, thickness, and color.  Yes, it is tedious.
    The Fix would allow the user to select multiple borders, say left and right, before the drop down goes away after selecting only one border
    Does it have something to do with Allow or Disallow border selection?
    I have Numbers '09 version 2.1 (436)

  • Just paid $6.99 for iPad highlighter at App Store.  It's supposed to let me highlight things in a PDF file.  I see no way to make it work in a PDF file.  Thanx ahead of time for any help.

    Just paid $6.99 for iPad highlighter at App Store.  I can find no way to make it work in the iPad file when I call it up.  It just sits there like any other app.  Thanx in advance for the help. [email protected]

    See if the developer has a website with intstructions. Check around in the app for instructions. They're often under settings. Contact the developer.

  • MBAM "Enterprise Compliance Report" not updating "Last Contact" date/time for any/all systems.

    Running BitLocker/MBAM 1.0.1237.1.
    About 1 month ago, "Last Contact" date/time listed in MBAM "Enterprise Compliance Report" stopped updating (last updated 1 month ago) for all systems. However, reporting against these exact same systems individually via
    "Computer Compliance Report" shows current/correct "Last Contact" date/time (last updated today).
    Have tried http://support.microsoft.com/kb/2620269/en-us but no luck.
    Hoping someone has experienced this before, fixed, and can share insights.
    Thx,
    DCL

    You may want to look for communication errors under the MBAM node in Event Viewer.
    You may also want to review the registry settings discussed under the
    Configure Lab Computers for MBAM Evaluation section of this TechNet article:
    HKLM\Software\Policies\Microsoft\FVE\MDOPBitLockerManagement\ClientWakeupFrequency
    HKLM\Software\Policies\Microsoft\FVE\MDOPBitLockerManagement\StatusReportingFrequency
    HKLM\Software\Microsoft\MBAM\NoStartupDelay
    Specifically the StatusReportingFrequency
    key.
    Brandon
    MDOP on the Springboard Series on TechNet

  • Limit of time for recording?

    Hi,
    I need to record an interview which is 2-hours long with my computer. I would like to use Soundtrack (which come with Final Cut Express HD). I don't want any interruption during I'm recording... it's very important for me.
    Is it a good idea tho record during 2-hours with Soundtrack? My hard drive has as much space for that, but I don't know if my RAM or the software are correct for that...
    Thank you very much,
    François
    Soudtrack version: 1.2.1
    Note: I know that Final Cut Express HD is not working on Intel, but Soundtrack is OK...

    with each minute of 16bit/44.1khz/stereo audio at 10Mb in size, two hours would be ~ 1.2Gb.
    So your relatively new MBP would most likely still have available space, and w/512Mb RAM, you should be fine.
    The only way to use SoundTrack Pro on Intel natively, is to buy the Final Cut Studio package. All the other versions of ST/STP are PPC only. Of course with Rosetta translation, ST or STP should still run on your MBP.
    Ideally, you would have an external FW drive to record to, as this would free up the boot drive from having both to host the operating system tasks and also capture your incoming audio simultaneously. However, I would bet that the overall system speed of the MBP would still allow you to record without problems.
    Post back and let us know how you do !

  • Can 2 bluetooth devices be used at the same time for iPhone (one for audio and one for data)?

    I have an iphone 5 which actually connects to my car (Infiniti FX35)  bluetooth phone system, and I want to know if I buy, for example, the Cobra iRadar (which connects via Bluetooth with the iphone) it can be connected simultaneously with my cars phone bluetooth?
    If the car bluetooth manage the phone audio while the iRadar (irad-200) manage data (i think), they can be simultaneously connected to an iphone?

    Yes, the iPhone will support multiple simultaneous bluetooth connections as long as they are not using the same profile.
    I use a bluetooth heart monitor and bluetooth headset at the same time with my iPhone on a daily basis.

  • Does anyone have time for this one? photoshop 2014 gradient not working.

    Working on a project with photoshop 2014 updated thursday night using foreground to transparent gradient. The edges of the picture are staying white instead of being transparent over the background or other pictures. I thought I was using the gradient correctly converting the pic to a png file, setting the mask, then applying the gradient to the edges. Is there something I am missing??? Please help.

    below is a snip of the effect i am looking for. i remember it working in the trial version late 2013 photoshop. it was so simple i thought it would be hard to forget how, but i must be missing something. i looked, clicked and checked all around the work space to find a way to change from "background layer" and did not find it. the trial version (lets call it "trial period" because its all the same except paid for now along with updated to ps 2014) did also have the layer change in an easy to find way. i believe it was double click or right click over the currently active layer in the list as in the lower snip pic.
    the pic above did work during my trial period so i know it works somehow. i dont know what i am missing now. right click or double click now does not bring up the layer type selection in the menu like you suggested to change from backgroung layer. also every new picture file i open makes its own new layer. when i make a new layer i havent figured out how to put a pic in it. if you could show me how to create this effect or find my missing step that would be awsome.

  • Create/update date and time for any object

    Hi All,
    How to find that at what date and time at which perticular object is created or updated.
    Thanks,
    Nitesh

    Example below:
    [email protected]> alter session set nls_date_format='dd-mm-yyyy hh24:mi:ss'
    2 /
    Session altered.
    [email protected]> select owner, object_name, last_ddl_time
    2 from dba_objects
    3 where owner = 'MOB' and object_name = 'T';
    no rows selected
    [email protected]> create table t(id int);
    Table created.
    [email protected]> select owner, object_name, last_ddl_time
    2 from dba_objects
    3 where owner = 'MOB' and object_name = 'T';
    OWNER OBJECT_NAME
    LAST_DDL_TIME
    MOB T
    30-08-2006 14:15:58
    [email protected]> column object_name format a30
    [email protected]> /
    OWNER OBJECT_NAME LAST_DDL_TIME
    MOB T 30-08-2006 14:15:58
    [email protected]> alter table t add x int;
    Table altered.
    [email protected]> select owner, object_name, last_ddl_time
    2 from dba_objects
    3 where owner = 'MOB' and object_name = 'T';
    OWNER OBJECT_NAME LAST_DDL_TIME
    MOB T 30-08-2006 14:16:25
    Best Regards
    Krystian Zieja / mob

Maybe you are looking for