Possible to limit the query to any request of a time

Hello


With the help of 11.2.0.3
We have a third-party web reporting tool where sql queries are run on the database sometimes that the user kills the browser session and query still works on the database.

Is it possible ata level of database to set the time max as a query cannot function for example no query n hours. This would kill this type of query.

Also is it possible to Cap individual applications to tell a single query can never use more than n % of cpu, the RAM memory available?

Thank you

user5716448 wrote:
Hello

With the help of 11.2.0.3
We have a third-party web reporting tool where sql queries are run on the database sometimes that the user kills the browser session and query still works on the database.

Is it possible ata level of database to set the time max as a query cannot function for example no query n hours. This would kill this type of query.

Also is it possible to Cap individual applications to tell a single query can never use more than n % of cpu, the RAM memory available?

Thank you

If you have Enterprise Edition licenses, it's simple with the Resource Manager: set a threshold for the MAX_EST_EXEC_TIME and all queries that could go beyond this will be blocked. You also have available CPU limits.
--
John Watson
Oracle Certified Master s/n
http://skillbuilders.com

Tags: Database

Similar Questions

  • Tecra A8 PTA83E: Is it possible to limit the options to start?

    Is it possible to limit the startup options for a user? I want to only non-it professionals to be able to boot from HD rather than USB/CD/diskette etc.

    I checked in the BIOS (1.20) and the Toshiba Control Panel utility but I only seem to be able to adjust the order rather than disabling devices.

    I noticed there is a newer version of the BIOS (2.30) - is there a list of changes for this anywhere?

    Thank you very much in advance for any help.
    Paul.

    Hello

    Now you can not disable the start-up devices.
    As you suggest, you can change the boot order.
    But if you wish, you can set a password to prevent access to the BIOS.

  • Is it possible to get the query Details of the old run from oracle?

    Is it possible to get the query Details of the old run from oracle? I mean, I wanted to know the details of a request executed work, I know the time taken by the query to run? Is it possible to know?

    Yes, it is possible to obtain, provided you use enterprise edition version + additional license *. A few tables to get information of are:

    dba_hist_sqltext

    dba_hist_sqlstat

    dba_hist_snapshot

    dba_hist_sql_plan

    dba_hist_active_sess_history

  • Is it possible to limit the number of windows that can be opened?

    Original title: options in window 7

    I have an autistic son who likes to play on the internet (usually from sesame street, Barney and AFV videos on you tube).  The problem I have is that it will sometimes open many windows which eventually slows down the computer and results in me having to close the windows as well as his frustration.  Is it possible to limit the number of windows that can be opened?

    Hi Brian,.

    Thanks for posting your question in the Microsoft Community. It seems that you need more information to improve the performance of your computer.

    With the current configuration of Windows, there is no option to limit the number of windows that can be opened. You can search the 3rd application using your favorite search engine, which helps you to limit the number of windows that can be opened.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Link reference for more information.

    8.1 Windows, Windows 8 or Windows 7 crashes or freezes.

    http://support.Microsoft.com/kb/2681286/en-us

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    I hope this helps. Please let us know if you need assistance.

  • Is it possible to limit the user to a session?

    Hello
    We have Oracle apps R 12.0.6, single node installation. Due to performance issues, I want to prevent the user not to have only a single session. Is it possible to limit the user to a session?

    Concerning
    Arizuddin

    Hello

    Is it possible to back out if necessary? We have to bounce the server applications after the loading event, subscriptions, or can it be implemented while the instance is up & running?

    You can return back (mentioned in the other thread). I think you have to bounce the application services once you are finished.

    Kind regards
    Hussein

  • Is it possible to limit the number of connections to the remote panel to a vi?

    Hello

    I have an application that runs on a PXI RT system and I use the remote control to access. My license allows me to have several remote connections and it's ok that I sometimes need to open several remote panels at the same time.  However, I would like to limit the number of connections for a particular VI 1.  Is this something that can be done?

    Kind regards

    Patrick Lessnick

    The way it can be done is to interview customers who are connected to the VI through a remote façade.  When you do that, you close the connection to anyone, but the first person who connected to the façade.  In this way, if someone is running the VI, no one else can connect.  Once they are made, someone else can then connect to the remote façade.  I created an example illistrates community this behavior.  You can find it here:

    http://decibel.NI.com/content/docs/doc-9673

    If you have any other questions, let me know.

    Scott

  • Is it possible to limit the Muse to use FTP port 21?

    Hi all!

    Whenever I use the function download FTP in Muse and my internet connection is a bit slow, Muse cancels the download.

    No big problem (sometimes) quite slow (a part of my internet connection).
    Next to this bit: Muse goes ahead and tries each port other than the serial number 21.

    Consequence: my host's firewall blocks my IP automatically, because he thinks I'm trying to hack into their systems.

    Pretty lame, because now I can't download my beautiful sites until my provider has unlocked me (for the 10th time this month..).

    Is it possible to preset the Muse that he doesn't try any port other than 21 No....? Like, never?

    Muchos gracias for your time.

    Norman

    Hello! When you put the IP address, try IP:21

    For example 123.456.7.890:21

  • Is it possible to limit the control parameters of the volume by XP users?

    I work in a classroom and need to find a way to limit the ability of users to transform their way of headset/speaker volume upward.  Is there a way to limit access to the volume control through the user acount/Control Panel settings?

    Hello

    We are only able to activate or to deactivate the volume but will not be able to limit or change the volume control.

  • possible to remove the query hint?

    The next tip gets injected into some of my questions intended only to return one row, when removed the query executes immediately. With the indicator, it takes 5-10 seconds to the process and its liveliness with synchronized methods causing issues.

    / * + FIRST_ROWS * /.

    I tried the following:

    Query ReadAllQuery = new ReadAllQuery (obj.getClass ());
    query.setHintString (null);

    MaxRows or firstResult the assignment will result, on platforms that support it, the SQL generated to include the paging/filtering database. On the OraclePlatform, the pagination for the method code, this includes the / * + FIRST_ROWS * / tip. You can create a custom DatabasePlatform that extends the OraclePlatform and override the method printSQLSelectStatement with the same logic but change or omit the printer.printString (HINT); line.

    Another option is to disable the RownumFiltering completely on the DatabasePlatform via the setShouldUseRownumFiltering method, but it could affect performance when you use the method/firstresult, as it will rely on JDBC pagination via the statement setMaxRows() and absolute() methods of the set of results that are generally much less effective.

    Best regards
    Chris

  • Possible to remove the rechargeable battery (battery) for a long time?

    I have laptop Satellite U940. Is it possible to remove the rechargeable battery, for example, for several months, while I use the laptop with external power only? Is - harmful to the battery?

    When I'm at home, I usually use the laptop with external power supply only. I rarely need to the rechargeable battery.

    Of course, it is possible and you can do it, but I really put t know if it's so important. Long time ago, that it has a meaning, but today, when the laptop uses the latest battery technology something like this is unnecessary.

    I have old Satellite P200 and he is 5 years old. I ve never removed battery and even now I can use the laptop almost 2 hours on battery power (depends on the supply and usage parameters).

    My advice is to use your laptop with battery and from time to time it is empty. These circles are good for the life of the battery.

  • Is it possible to run the query created in Discoverer Plus (v10) from PL/SQL

    Hello

    As a subject - is it possible to create a PL/SQL code (or any other), who runs a query saved in Discoverer?

    Concerning
    Piotr

    Hello

    This table is not part of the discoverer EUL and is probably maintained by a trigger of discoverer. The trigger can save the SQL used in the workbook in a custom table when the workbook is run. This is why the table will contain the last SQL for all workbooks that have been executed. It may be what you want but does not contain the last SQL for all workbooks.

    Rod West

  • is it possible to limit the use of the internet to Windows 7 on a connection counter?

    I use Internet measured recently and was shocked to discover that my Windows 7 laptop has been download tens of megabytes per hour, looking at the State of wireless network connection and also receive messages from the ISP I had grown once more my assignment data.

    Is there a way to indicate to Windows 7 "don't do any internet downloads/uploads in the background? Is there a way to indicate to Windows 7 that I am on a metered connection so that one shot to make reasonable decisions about initiating don't not huge downloads? I'm looking for something similar to what cell phones are where you have parameters to indicate ' do this method when connected to wifi ", but because the wifi itself may be the measured part, just give me a frame that says"do not extra things like when I'm on a measured connection. "

    For lack of a means to limit, is at least a way to understand what app/service is responsible for? I would like to disable or terminate all running the connection of the meter.

    Yes, but the amount of limitation, you can make is limited to your network card...

    Launch the search "view network connections" until see you it, click it, and then find your network adapter (depending on what you use the measured on connection: wifi/ethernet)

    [To disable]

    Right click this map then click on turn off

    To reconnect, right - click on activate then

    [To the controller of the gas/connection speed limit]

    Right-click the map, and then click Properties

    Click Configure...

    Click on advanced

    Click on 'speed and Duplex' or 'Speed' of the property section, and then set the value to the desired speed throttling the connection, you can set this back to auto-negotiation if you stop using a measured connection (I recommend Full Duplex)

  • Is it possible to limit the system size of Pool Paged on 64-bit system?

    There is an application that uses big files (usually more than 1 TB) through particular e/s in some places files and memory mapping.

    We have control over the application, however declining memory map is highly undesirable because of stability issues.

    on 32 - bit systems, everything is perfect. on 64 - bit expanded considerably systems grows and may exceed the size of physical memory.

    resulting in serious performance degradation.

    Poolmon.exe reports that almost all dimensions of pool are used by MmSt, which is the object prototype PTE.

    I guess, that the cause is 128 GB maximum default size of the paged. system would not clean the dead entries.

    is it possible to solve? for as much as I can get, only available registry keys for 32-bit systems.

    Hi Sergey,

    Thanks for posting your question in the Microsoft Community!

    I suggest you to report your question MSDN Forums.

    http://social.msdn.Microsoft.com/forums/en-us/categories

    I hope this helps!

  • Is it possible to limit the "code to a page of the site to a visitor by United Nations profile?

    Freshly Muse user I find its very interesting features, former graphic designer I find myself. However, I'm looking for help on some points.

    Among other things the possibility to assign to a limited category of visitor access to one of the site pages of the.

    Thanks in advance for 'the solution '.

    Please elaborate more as if you're referring to the Security page of the front end of the site content or restrict access to the site to users while making change through in the edition of browser.

    Thank you

    Sanjit

  • Possible to limit the virtual office users to connect to the customer in the room 1 class?

    I apologize if this is an arrogant question but I didn't quite know how to find this without other strange visits.

    What I want to do, is to deploy a classroom with (non-persistent) virtual machines as a CEP. This class can be used by anyone, so I'll need to entitle "Everyone" or "Domain users" to access these machines. However, I do not want to download the VMWare Client on other workstations and use virtual desktops in this pool. We will have a separate pool for this behavior (scenario 2). My original plan was to limit it with a firewall, but this would not at all for the second scenario.

    Is there a solution integrated into the rest of the Horizon to welcome a 'right workstation' or is there a better solution for my problem?

    Thank you very much

    -Brandon

    You will need to create a second connection agent and then tag it and the pool of offices with the same tag.    The next step could be class routing to this particular broker.

Maybe you are looking for

  • How to get Flash in Safari 10.0

    Hi people, Just updated to Safari 10.0 and now I can't watch videos streaming GlobalTV.com (and other sites) because they are looking for the Flash extension. I downloaded and installed the latest version, restarted Safari and still nothing. Help, pl

  • iPad Air2 9.3.4 upgrade problem

    A number of links in Safari does not work after update 9.3.4, and pages not loading completely. No problems before loading the new update. Can I return to 9.3.3?

  • Why is wmiprvse.exe begins with Firefox 32.0.1 under XP SP3?

    Whenever I run Firefox, I see wmiprvse.exe load as a running process. I see this using Process Explorer from Sysinternals. This happened since I updated to the current version of Firefox (32.0.1). It also occurs whenever I start the latest version of

  • Something stuck in the speaker Grill.

    Have anyone of you had this happen and what is the best way to remove this?

  • Windows aero not working not

    well my computer was fixed is not if a long time and when I got back most of the things worked very well, but the windows aero and some other stuff windows did not work how can I get the fi back aero theme is not in the choices when I go to customiza