Querry for get info

Any body help me please to write a SQL query to identify the DML which runs longer than 30 seconds, including user_ip, sql_text, time and weather, enforcement is a session blocking or not?.

I found the solution to get the desired output. Thanks a lot to you all. Here I am pasting my solution that can help you if you need any other body.

The query below will help you identify the user_ip, the Sql_text, and the runtime more than 30 seconds.

SELECT s.machine, S.USERNAME, s.sid, s.osuser, t.sql_id, sql_text, to_char(sl.start_time,'hh24:mi:ss') starttime, sl.elapsed_seconds,.

(sl.sofar/sl.totalwork)* 100%

v $ sqltext_with_newlines t, V$ SESSION s, v$ session_longops sl

where s.sid = sl.sid

and t.address = s.sql_address

and t.hash_value = s.sql_hash_value

and s.status = 'ACTIVE '.

and s.username <> 'SYSTEM '.

and sl.elapsed_seconds<>

This query will show you blocking sessions.

Select distinct s1.username | » @'|| S1.machine | "(INST =' | s1.inst_id |) ' SID = ' | S1.SID |')

blocks ' | S2. UserName | '@' || S2.machine | ' (INST =' | s1.inst_id |') SID =' | S2.SID |') '

LIKE blocking_status, s2.program, s3.sql_id, s3.sql_text gv$ lock l1, gv$ session s1, gv$ lock l2, gv$ session s2, s3 in v$ sql

where s1.sid = l1.sid

and s2.sid = l2.sid

and l1.block = 1

and l2.request > 0

and l1.id1 = l2.id1

and l2.id2 = l2.id2

and s2.sql_id = s3.sql_id;

Tags: Database

Similar Questions

  • MSN account has been blocked, and all valid for get info to reset attempts are not received to my alternate e-mail address

    Hello - I use abrand new account just to register for this problem. My account * address email is removed from the privacy * was blocked - I filled out a form of reset for my alternate e-mail address, but nothing up there. I then retried and and filled out a background form thanks to the regulator blocked to prove my payment options and email of recent information to prove who I am. Still not reset info received to the alternative e-mail address. Today, I tried again and there is no control of the blocked page but my password does not work and I do not have information received to the alternative e-mail address. I understand that you can have some resets sent to mobiles but I can't this configuration. Finally, I asked a password reset today and no still no reception to alt address. Help! You will need to get mail NOW. I pay for this service, but there is no support and I didn't ask for this remove - what number should I call to get this sorted out instantly or, Alternatively, to close the account that I do not pay for a service that does not work... Report as abuse

    This is not an appropriate forum to do so, however...  You want to see what I'm about to post to make sure that you have not missed something...

    You talk directly to Microsoft here.  It is - for the most part - a peer-to-peer forum (those, like you, are simply users of Microsoft products).

    You could go through this article - make sure you have done everything...
    http://www.itechwhiz.com/2011/04/account-recovery-reset-Windows-Live.html

    And someone is probably going to put these links here also:
    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/
    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

  • iCal 'Get Info' is grey for the blue calendar; Other calendars are very good. Model name: iMac model identifier: iMac9, 1

    iCal 'Get Info' is grey for the blue calendar; The other color calendars are very good.

    I deleted the file 'com.apple.iCal.plist '... No luck.

    Please notify. Thank you, Roger



    Presentation of the material:

    Model name: iMac

    Model ID: iMac9, 1

    Processor name: Intel Core 2 Duo

    Processor speed: of 2.66 GHz

    Number of processors: 1

    Total number of cores: 2

    L2 Cache: 6 MB

    Memory: 4 GB

    Bus speed: 1.07 GHz

    Boot ROM version: IM91.008D.B08

    Version of the SCM (System): 1.44f0

    If the problem is still there, try to start safe mode using your usual account.  Disconnect all devices except those necessary for the test. Shut down the computer and then put it up after a 10 second wait. Immediately after hearing the startup chime, hold down the SHIFT key and continue to hold it until the gray Apple icon and a progress bar appear. Startup is considerably slower than normal. This will reset some caches, forces a check for directory and disables all start-up and connection, among other things. When you restart normally, the initial restart may be slower than normal. If the system is operating normally, there may be 3rd party applications that pose a problem. Try to delete/disable the third-party applications after a reboot using the UN-Installer. For each disable/remove, you need to restart if you do them all at once.

    Safe mode

  • My album art does not charge even after it has been added by get info &gt; add work then press OK

    SO I recently did the music on my computer, and I wanted to add to my phone. After you download the tracks to itunes, I tried to add album art, I did. To be honest, it does not work. Here's what I do: Get Info > add an illustration. At this point, I see my art, and when I click it, it changes to be enclosed by a blue square free of deceit. Of course, I click on it so that it appears highlighted, as such, but when I click OK, nothing happens. ITunes is seem to be in the process of loading, but then the three notes "do - do" there, and nothing has changed.

    For reference, the work is a compressed JPEG size 1625 squared.

    What is happening with my itunes? Is this a known bug?

    What is the format of the tracks?  If they are. WAV files, you can't combine work with them.  Otherwise, the issue may be that the files are read-only, or that the Windows permissions prevent the updated files to integrate the image.

  • Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    This can help (from turingtest2):

    Fix iTunes for Windows security permissions

  • Windows Mail keeps asking for my username and password, and even if they are correct he still doesn't and comes repeatedly asks me for the info

    That makes me MAD! Windows Mail - checking the user name and password &!

    It makes me crazy.

    For the last few days my Windows Mail keeps asking for my username and password and even if they are correct it still doesn't and comes repeatedly asks me for the info again and again. I deleted the account mail twice now and re added it but it still does not work. I can send emails but not receive. I have McAfee but I aiinstalle only this yesterday so that isn't the problem. the error message is:-
    Account: 'mail.talktalk.net', server: 'mail.talktalk.net', Protocol: POP3, server response: '-ERR Authentication failed.', Port: 110, secure (SSL): no, Server error: 0x800CCC90, error number: 0x800CCC92

    Please help I need to retrieve my emails! Thanks, Sarah

    McAfee is a huge problem with Windows Mail.  See www.oehelp.com/OETips.aspx#3 if you want to use, wait until you get the job of Winmail.

    Check if you can connect webmail and that works very well and it's not a problem on the end of the server messaging or because of misspelled powers.  Then delete your account in WinMail, compact and repair the database (see www.oehelp.com/WMUtil/) and make sure that you have disabled the e-mail analysis then add your account to mail back again and see if it works.

    Steve

  • 'get info' show only 2 GB available; Finder displays 100 GB available. Where is my space?

    'get info' show only 2 GB available; Finder displays 100 GB available. Where is my space?

    http://pondini.org/OSX/LionStorage.html

    You can have a lot of "other".

    What is 'other' storage and what size should it be?

    You can try an app like Disksweeper

    https://www.OmniGroup.com/more

    or

    http://grandperspectiv.sourceforge.NET/

  • "Get Info" refuses to recognize the face

    I have two pics of a friend (Photos from Mac), but do a right click to 'Get Info' fails to give the possibility to add the name of face!  How can I add a name?

    The photo must be increased, if you want to add a face.

    Double-click the thumbnail of the photo in the browser to view the enlarged photo, and then open the information panel by entering the command I. ⌘I.  Now you should be able to click on the button + to add a face.

  • I've just updated FF 14.0.1 (Mac 10.6.8) and now netflix won't work. He is asked to restart in 32-bit mode and I changed in the Get Info to 32-bit. No luck.

    I've just updated FF 14.0.1 (Mac 10.6.8) and now netflix won't work. He is asked to restart in 32-bit mode and I changed in the Get Info to 32-bit. No luck.

    Yes, I have the same problem. Silverlight 4 does not work in Firefox 14.0.1. Used to use only "restarting in 32-bit mode", but now, who is caught in a loop without end. Silverlight 5 will work, but the video is choppy so badly that it is very bad. I think it's a fall frames in all directions.
    Someone needs to fix this problem yesterday.

  • Accessibility: why is there no shortcut for Page Info in Windows?

    On Linux and Mac, there is a keyboard shortcut for Page Info:
    Linux: ctrl + I
    Mac: cmd + I
    but there is no shortcut for Windows relatives, we are forced to use a mouse. An extension should not be required for basic accessibility features.

    I agree that a keyboard command to open the Info Page on the Windows of Firefox versions should be standard, but unfortunately {Ctrl + I} always open the bookmarks bar, which cam also open with {Ctrl + B}.

    I have been using the extension of Page Info button to add this feature to Firefox since Firefox 1.0.
    https://addons.Mozilla.org/en-us/Firefox/addon/page-info-button/?src=SS

  • I am unable to buy all the apps in canada. I can't change your addess canada for payment info

    I am unable to buy all the apps in canada. I can't change your addess canada for payment info.

    I can browse all apps in the store, but the difficulty to buy. When I submit all my credit card details, I can't change the United States in the Canada.

    Hi Vandu,

    There seems to be a problem when purchasing apps.
     
    You must contact Microsoft Store for assistance.
     
     
    Good day!
  • Where can I get info and download Adobe Photoshop elements 14 app?

    Where can I get info and download Adobe Photoshop elements 14 app?

    nancyc5009177 wrote:

    Where can I get info and download Adobe Photoshop elements 14 app?

    A lot of information here:

    FREQUENTLY ASKED QUESTIONS | Adobe Photoshop Elements 14

  • PowerShell Version requirements for get-vieventplus

    Does anyone know what version of powershell is required for get-vieventplus? I have one report working in Powershell version 4.0, but when I ran on a system with 2.0 it failed.  I can't upgrade this server due to other problems of compatibility, but I need to run a report with get-vieventplus on it.

    That function does use all the special characteristics of the PowerShell, PowerShell v2 should work as well.

    What mistakes do you have?

  • First 10 items cannot get info for my CD drive

    The elements recognizes my CD drive but says there is nothing in it.  Everything worked well on my old computer (Windows 7 and I installed Quicktime on old computer).  Now, I have 10 windows on my new computer and can't seem to find a way to install Quicktime.  I must also tell you that this new computer was giving me problems from the outset that the CD Player did not work correctly in any case.  Finally, Dell was able to determine that a driver is not installed correctly.  They have reinstalled the driver and now everything in my computer recognizes the CD player, except for this problem with first 10: 10 first will allow me to get media from my files and folders, but when I try to get my DVD/CD drive media, said first: "no supported device found". Although yesterday it says something on the aircraft was empty (which sounds like it has detected the device, but it was empty, which it was not).  After that I reinstalled Dell reinstalled the driver, 10 first, but the same words came.  I mainly use the first 10 to edit videos, DVDs (which had been on 16 mm and 8 mm film) to my family and then I upload them to facebook.  I have not tried burned a disc on this yet, because I doubt that it works because the DVD player doesn't work anyway.

    1 do I have Quicktime or some other program to help?

    2. is it a hardware problem? (Dell says no)

    3. is it because I now have 10 Windows?

    4. is there another program other than the elements that an old lady like me could understand for editing, burning, and the Uploader?

    5. an external DVD drive would solve my problem?

    Thank you!

    Dead though it may be, until Adobe provides complete support for Quicktime, you will need to download it in order to Premiere Elements works with your video.

    QuickTime 7.6 for Windows

    You are using an older version of the program, but it should work fine on Windows 10. Worst case, you may need to configure the program to run in compatibility mode Windows 7.

    Although I am concerned by a number of things, you're a statement. First of all, I assume that when you say, you encounter problems with your CD drive interface, you mean actually disc drive of your computer, which has the ability to play and record DVDs, right?

    Second, I'm not sure why Dell offers you this lousy support. But add an external drive won't likely solve your problems.

    Looks like you are trying to extract files from a video DVD to your computer using Premiere Elements. Exactly how you do this? Also, what is the computer processor, the amount of RAM you have and how much free space on your hard drive?

    In any case, it would be very wise to spend at least version 11 of Premiere Elements. Version 11 has been a great step forward for the program. It included an overhaul of the editor so that it is easier to use and access its tools. It is also much more stable than the older versions and many things more automatically, it is so hard to mess up a project.

    You can download the trial version of first elements 14 since the Adobe site and give it a test drive. It is a very different program that five years ago, and you can see that once you work with the new version of the program, you'll never look back!

  • Re installed windows xp home edition and lost device multimedia audio control driver. error code 10__and tailor want to get info for driver FinderTM.

    I checked the support site of intel and audio driver installed, but he showed his controller did not recognize computer.

    Does anyone have tip for this problem?

    I saw on ad for FinderTM driver but I wonder whether you try or not.

    Hello!
    I just make the sound back on my computer.
    I installed the drive the multimedia audio controller from Intel support. (In my case).
    http://www.Intel.com/p/en_US/support?IID=HDR+support

    After unpacking the file winzip says 33 files unzipped successfully.
    See left of the windows of the link showed
    C:\DOCUME~1\Owner\LOCALS~1\Temp. ()

    then open Device Manager and clicked error sign of the audio controller
    Click re install driver
    Assistant update material request looking for software then select No, not this time and click NEXT.
    Choose the installation location specific and FOLLOWING
    Select include this location in the search.
    stuck at this address I have open the file. -C:\DOCUME~1\Owner\LOCALS~1\Temp. () and NEXT.

    After that, my audio driver is installed correctly. (Working!)

    Thanks for all replies!

Maybe you are looking for

  • Problem with reinstall El capitan

    Hi, a macbook pro 13 (2015), I buy with El capitan, and after I tried to reinstall it I can not. After the connection of recovery and to reinstall the menu my macbook to go to install os x yosemite and not el capitan? Sorry for my English.

  • Satellite L750 - WLan controller driver is not installed

    Hello I formatted the laptop above using the hidden partition.Since that the wireless network controller is not installed and I can not find the drivers for it. Could someone help, please Thank youDave.

  • What is the best app/security software on a Mac?

    I have a MacBook Air (2015) and I was wondering what my options are, as far as security.  I want something that will take a photo using the iSight camera if a wrong password is entered in trying to connect to my MacBook and will send an alert on my p

  • What do the buttons on the keyboard of 5000,

    I am at a loss to know what that most average of buttons on this keyboard, especially on the first two lines. There is no instructions, or an illustration of keyboard with precision. How do program you buttons 1 to 5? It's hopeless, when we want to g

  • How to concatenate the string with a digital command?

    Hello How to concatenate the string with a digital command? Thank you.