How can find out long run quries?

Hi,
I have some question
how can find out long run queries , i have use v$session but i have not find out,pls how can find out
these queries.

v$session_longops has some limitations, for example it records only some operations see more [url http://www.gplivna.eu/papers/v$session_longops.htm]here
Another possibility might be using statspack and/or [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#PFGRF02601]AWR
From docs:
The most current instructions and information on installing and using the Statspack package are contained in the spdoc.txt file installed with your database. Refer to that file for Statspack information. On Unix systems, the file is located in the ORACLE_HOME/rdbms/admin directory. On Windows systems, the file is located in the ORACLE_HOME\rdbms\admin directory.
Gints Plivna
http://www.gplivna.eu

Similar Messages

  • How can find out LONG column database?

    Hi,
    in my database ORA-1461 error occured
    01461, 00000, "can bind a LONG value only for insert into a LONG column
    how can find out LONG column in my database ?

    DESCRIBE
    The description for tables, views, types and synonyms contains the following information:
    each column's name
    whether or not null values are allowed (NULL or NOT NULL) for each column
    datatype of columns, for example, CHAR, DATE, LONG, LONGRAW, NUMBER, RAW, ROWID, VARCHAR2 (VARCHAR), or XMLType
    precision of columns (and scale, if any, for a numeric column)
    Extract of the link;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12019.htm#SQPUG040
    Secondly with reference to the error;
    Do not try to insert LONG datatypes into other types of columns.
    Hope this helps.
    Adith

  • How we can find out the running window application ?

    hi all,
    how can i find out the running windows application through my java program?
    if anyone know any methods or classes please inform me soon...........
    one way to ask is "how one can trap the running window's application through java code"?
    Please do inform, if you have any valuable guidelines to achieve this
    Thanks in advance

    I pretty sure this isn't possible. You could write something which uses JNI to call native methods, but you'd have to have methods avaliable to call. So suppose you wanted a process on a Windows machine to read the text in an instance of IE's address text box you'd first need a way to do this with Windows specific code. And I can't think how you'd do that - unless you are directly interacting with the OS. So I'm afraid there is no easy way to do this in Java, and even the very difficult way with JNI may not even be possible.

  • How to find out if running 64 bit jvm

    Hi all,
    I have an application which can be run using 64 bit JNI libraries, or 32 bit libraries depending on the command line parameters. I want to know if there is any way for me to find out if the JVM is running in 64 bit mode (the -d64 parameter was sent to it) or 32 bit mode. If I could find out the command line parameters sent to the JVM it would be as useful.
    Thanks in advance for your help.

    D'oh answered my own question about 5 mins after posting :) If anyone is interested there is, starting in jdk1.4, a property called sun.arch.data.model which will be "64" for a when -d64 is used as a command line argument. This property has 3 states, "64", "32" and "unknown" I don't know on what occasion "unknown" will be used

  • How can i cancel long running queries (red x doesnt work)

    hi there
    i am trying to work with some long running queries - it would be very nice to be able to cancel them (like toads cancel button)
    I have tried the red X in the circle but it doesnt seem to work - it appears to have cancelled it (the cylon-eye style comfort bar stops ocillating) but if i try to use the connection again, or disconnect or open another connection it says:
    "connection currently busy. Try again?"
    i have tried this in the latest release vanilla & the latest release plus patch 2
    thanks
    Martin

    Good news that this will be improved. Can't resist to post this Link: [plsql forum thread about start/stop.. | http://forums.oracle.com/forums/thread.jspa?forumID=75&threadID=927697]
    I have experienced the same and also noted that it feels better to execute stored procedures in sqldeveloper
    - by editing
    - compiling (might hang if already busy)
    - run from the same dialog just to get the the cylon's eye for emergency stops (which waits .... ) meanwhile jump to apex to fiddle with small table triggering exception to stop the procedure.
    If stored procedure is executed from the list via 'right mouse click'-style then you see in the log-region "connecting to databse ... ." but no method to stop nor cancel or cylon's eye is well hidden.
    When such "busy" is running I also noted that the database-connection right mouse click has greyed/inactivated the selections "connect/disconnect" so the next logical step for stopping via "disconnect" is out of the question.
    I think this also boils down also to question whether the user has rights to see gv$session and be able to drop/stop busy/jamming sessions. E.g. public synonyms listing has small icons with mystic red :)
    /paavo
    Java(TM) Platform     1.6.0_14
    Oracle IDE     1.5.4.59.40

  • How can find out the User name?

    Hi Gurus,
    I have created one sales order with my user name. some one has changed order quantity in that sales order, so can u tell how can v find out thier user  name?
    CHeers,
    Sumith

    Hi Sumith,
    Go to VA02 and click on Environment at the top and click on changes. Now based on your line item where you feel changes have been made give your item number and tick overview , and additional info and execute.
    Now double click where you want to drill down and find out for the user name.
    I am sure this will help you. If it does dont forget to reward points for contribution.
    Regards
    Ravi

  • How can find out update on my order online

    how can you find out if your order been update at all and you the same message on their page and no change is there some way of get hold of some on online here

    here what its say on the page
    ORDER STATUS
    Order Date:
    12/16/2014
    Order Number:
    I leave it blank
    Order Status:
    Your order is processing. Your shipping details will be available soon.
    Tracking Number:
    and that what has said since I place the order and their  been no update and the order number I will not post here if you want I post in private to you

  • How can find out what app was charged on my account. I don't recall buying one

    How can I find out what app what charged to my account. I don't remember downloading a non free one on sept 22,2013

    The last four digit of what?
    Why are you telling us?
    We are itunes users just like you.  You are not addressing Apple here.
    Look in your purchase history to see what you have purchased.

  • How to find out on wich port BI Publisher is running?

    Hello,
    I have the following situation: Windows XP, Oracle Database 10.2.0.3, APEX 3.0, Application Server 10.1.3.1 (Advanced, J2EE-Server and Web-Server) and Oracle BI Publisher 10.1.3.2.1 (Advanced, Setup-Type Oracle Business Intelligence Publisher).
    The HTTP-Server and BI Publisher are running.
    Now I want to configure APEX for PDF-printing. How I can find out the port on wich BI Publisher is running?
    I need it for the attribut "Print Server Port" in APEX Instance settings.
    Thanks and regards,
    Susanne

    Hi Susanne,
    I think the default port for BI Publisher is 9704
    There are a couple of things you can do to find the port that BI Publisher is running on. The easiest is to navigate Start -> All Programs -> Oracle - BIPHome1 -> BI Publisher Server.
    This will bring up the homepage for BI Publisher in a web browser. The url for this page will contain the port for BI Publisher: http://localhost:9704/xmlpserver.
    The other way is to open a dos prompt and type netstat -abThis will show you all ports and the applications running on them. BI Publisher will be one of the ones with java.exe running.
    I hope this helps.
    Regards,
    Cj

  • How to find out which server is running on which port

    hi all,
    how to find out which server is running on which port, i want to know both
    from front end and backend?
    thanks and regards
    srikanth

    The best source to get all the ports you have is the Context Files.
    All ports are defined in the Context Files through "AutoConfig Variable". You can get the list of those variables by referring to the following note under "What is the port pool? What if I want to give a specific value to a Server Port?"
    Note: 216664.1 - FAQ: Cloning Oracle Applications Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216664.1
    You can also get that list via OAM.
    Referring to the installation log file should also be helpful (Unless you have changed any of the ports after the installation).

  • How to find out the last date & time on which a program has been run

    Hi Experts,
    Can anybody tell how to find out the last date on which a purticular program has been run.
    Valuable answers will be rewarded.
    Thanks & Regards,
    Satish.

    Hi!
    Try STAD transaction. Unfortunately it contains a huge amount of data, so it is available only for a few days backwards... Maybe some weeks, but you can't make yearly reports from its data... So it's not useful to see, which program is in use or not...
    I planned once to download it weekly, but it was not so important...
    Regards
    Tamá

  • How we can find out reconciliation details for AR.

    Hi,
    We are adding Manual JE as a receipt against for multiple AR invoices. For these entries we are doing reconciliation but my out standing report itu2019s showing as pending amount. In out standing report how we can identify this manual JE is reconciled against for multiple AR Invoices numbers. If we I identify multiple A/R invoice document number then I can disable both entries i.e., AR Invoices and Manual JE in the outstanding report. In JDT1 table intrnmatch field is storing related to reconcilation but itu2019s not stroing against which document numbers they did ? and also I checked AJDT,AJD1 in this also AR Invoice details and for this automatic JE details also itu2019s not storing how we can solve this issues.please guide me.based on docstaus for AR Invoice we can find out but one more i need make cross check.
    SELECT t0.transid, T0.Account, intrnmatch 
    FROM JDT1 T0
    WHERE T0.[TransId] =51162
    Regds,
    Sampath Kumar.

    Hi Sampath,
    I would very strongly recommend you upgrade to version 2007 as soon as possible. Reconciliation behaviour in the lower versions could be inconsistent since there was no partial reconciliation on JE level.
    You will find more info about this here:
    English: http://service.sap.com/~sapidb/011000358700000380562007E
    In order to accurately report on BP balances, make sure you run the ageing report by journal entry in the lower versions.
    I'm not sure I understand what you mean by 'Through manual JE against that bill bumvers (AR Document number) then I need to disable that type of entries.' Do you need to prevent users from posting manual JEs to a BP?
    All the best,
    Kerstin

  • HT201472 Is there any way how to find out where a particular device was when it last went online if longer than 24 hours ago?

    One Mac Book Air was stoilen frm me, I can still see it on Find my Iphone and can see that it has been renamed. The computer was offline for longer than 24 hours, so I am wondering if there is any way how I can find out it's last online location?

    No, you cannot find out where the computer has been. Find My Mac only shows you were the computer is right now if it is online.
    I strongly recommend you change all your internet passwords immediately, notify the police (do not try to recover your MBA yourself), and your insurance company so you can get reimbursed and buy a new Mac. Once you have done all this go back to Find My Mac and click the "Erase" button.

  • Shared services and workspace architecture(How we can find out req &respon)

    Good morning Hyperion folks,
    Does any body have any document or PDF about workspace and shared service architecture...How these both components are communicate each other..any idea or any document..while communicating of these if anything goes wrong,,where we need to check, what is exactly the problem (any suggestible logs)...
    Company are doing big mistake by using this hyperion tool ..These guys are not supporting and even they don't know much about the tool apart Product dev team..and that too they are not disclosure any documents related product...
    **Does anybody found any kind performance tunning guide or lab guide about workspace and shared service HFM,Planning...** I have never seen component wise documents and tunning guide and recommendations.
    I am strong opnion about hyperion is,we would not get any support from oracle and documents so He can migrate Cognos TM1 and Finance management etc........
    Edited by: 888154 on 29/09/2011 02:55

    Thanks john For ur reply ..i have seen these documents long ago ..i am asking about Shared services and workspace architecture and how these are functioning and where we can find out communication error and slow login issue with workspce and shared services.. How authentication is log on ..is there any machanisam they are using for authencation ...We are using OpenLadp ...
    Ex :1.Per suppose log on to workspace that request goes to shared services directory and it will check whether that user is exists or not on Shared services tables ...here what kind of alogirtham using to aunthenticate user...How we can diagonse this process taking to much time,,,is there any specific logs related this (If logs are exsits how we can find out)...
    2.Once authencation done successfully and responce send to workspace and populate workspace home page...then i click on application button (FM application) and it's taki ng to much time to load HFM page.To this where we need to look whta excatly problem? what are logs file helpful to us to diagonse..

  • I activated an iTunes gift card, my iPod showed the amount available ($15) and after downloading 2 songs all I had left was $.04.  Any ideas on what happened to my funds or how I can find out where the rest of the money went?

    I activated an iTunes gift card, my iPod showed the amount available ($15) then after downloading 2 songs my balance was $.04.  Any ideas on what happened to the rest of my funds or how I can find out where the rest of my money went?

    - Have youwent to yur iTunes account looked at your puchase history for purchases thant y might have forgotton?
    - Maybe you had an unpaid balance before redeeming the card.
    - Contact iTunes
    Apple - Support - iTunes - Contact Us

Maybe you are looking for

  • Pse 8 for mac and iphoto 09

    I read on the elements 8 for mac page that it works easily with iphoto. My question is how? I can find nothing in the elements documentation about working with iphoto and when I try to access the iphoto library via file>open and select iphoto library

  • Connecting Air to external monitor (Dell)

    I am trying to help my boss connect his Air (2010 edition) to an old Dell monitor we have here at the office. I bought a Mini DisplayPort to VGA Adapter but when we connected everything his Mac screen didn't appear on the Dell. Is there something els

  • Color noise in highlights in 16 bit comp (DSLR footage)

    Hi, I'm trying out a workflow to get the most out of my DSLR footage and it results in some weird color noise (not sure what to call it) as shown in the picture. Here's the workflow I'm using: https://vimeo.com/39979623 Basically, I import the DSLR f

  • Photoshop Elements Editor 12 from Apple App store is disabling the licensing on Nik Collection

    Hi I am using PSE 12 from the Apple App Store and all of my Nik Collection plugins will only operate in Demo mode. The plugins work fine in Lightroom 5.4, PSE 12 demo from Adobe.com and standalone on the same Mac with no licensing issues. I have work

  • Can MRP be activated at MM level

    Dear all , I need to know whether MRP  can be activated in any configuration setting in MM. I know MRP is activated at plant level , since PP is not in current scope ,  i need to know whether it is possible at MM level itself. Thanks Jinoy