Session details if we know the sql name.

Hi,
Suppose there is sql named xyz.sql runinng for long time in database, and not consuming high CPU. Is there any way to get SID/Process id, if we know sql name? from v$session or joining any other tables?
Regards,
Sunil.

We have got a ticket that SQL runing in VNC is continuing for long time. It came to DBA's to confirm whether it completed. Analyst who executed that script forgot to note process ID. Now we tried from AWR and ADDM to identify whether it's info would be there, but it's not in top SQL list or top resources consuming list. We just know he connected to db node and executed the sql. We, also searched with ps -ef | grep sqlplus, listed with processes in db node. Those processes did't contain any info. As we know the sql, we tried from v$sqltext view to get the sid from sqltext. It did't fetch any result. At thispoint we need to confirm whther SQL has finished it's execution. Since we, don't know it's SID, it's becoming difficult to confirm whether it's session exist or not. We juss know the SQL name. It's did't come out of sqlplus prompt in vnc.
Regards,
Sunil.
Edited by: user11907716 on Jan 23, 2011 8:36 PM

Similar Messages

  • How to know the database name?

    I have installed oracle 10g and developer suite.. I am trying to create forms now.
    But its error out: TNS: could not resolve the connect identifier specified!!!
    I forgot the Data base name.. How can I know the database name??
    Thanks in Advance!!!!!!!!!!

    I have installed oracle 10g and developer suite.. I'm sorry, but you are going to have be more specific as what you installed!
    If you installed Oracle Database 10g Express Edition then it is not (by default) configured to allow a connection through SQL*Plus. It is primarily configured to open a connection through the "Go To Database Homepage" url/link in the Start Menu => Oracle Database 10g Express Edition => Go To Database Homepage. In order to connect to the database from SQL*Plus (which is included with Oracle Developer Suite 10g) you will need to run the Net Configuration Assistant to configure your TNSNAMES.ora and SQLNET.ora files. Go to Start Menu => Oracle - DevSuiteHome1 => Configuration and Migration Tools => Net Configuration Assistant to run the assistant. After you run the assistant, test to make sure can connect through SQL*Plus before you attempt to connect through Forms.
    Hope this helps,
    Craig...

  • To know the job details if u know the jobname

    Hi,
    can we know what excatly job purpose is like for what purpse it is created or in other words what is the basic idea behind creating job, who has created the job , when he has cretaed the job etc if u know the job name?
    Thanks,
    Ravi

    Hi...
    1.Go to SM37--put job name as * and username as *.
    tick all jobs scheduled,finished ,cancelled...etc and then execute..
    2.Double click on any of the jobs...whose details you want to view....now..click on job details F7 you will view all the details..
    and job log ..to view how the job was executed...etc.etc..
    3.point the cursor on your job...and click on step button....now on next screen you will find ..top menu..GOTO --select variant to view variants of the job..

  • Get to know the UserField Name

    Hi All,
    I want to know the UserField name of a EditText in AR-Invoice gui.
    Is there any way to get know that?
    Buddhika

    Hi,
    Just Activate the View-->System Information in the menus and then u can see the required details in the status bar area, u can see the form type, the Item UID and the Database table.
    Hope this helps u.
    Vasu Natari.

  • Hi All.. i want to use my iphone 4 to play poker on facebook with the zynga..  idont know the apps name,, thank's for ur help, and how to upgrade ios 4.3.3, now i'm still using ios 4.1.1, thank's

    hi All.. i want to use my iphone 4 to play poker on facebook with the zynga..  idont know the apps name,, thank's for ur help, and how to upgrade ios 4.3.3, now i'm still using ios 4.1.1, thank's

    when you connect your phone with your computer and use itunes you can click on the phone
    and click on an update button
    about facebook games then think they are all flash based and iphones cant do flash so thats not possible

  • Is it possible to know the file name of images loaded?

    Hi:
    I have a folder containing some images named 01_image_name.jpg, 02_image_name.jpg, 03_image_name.jpg, ... wich names I read with a PHP script. Then I loop loading each image and waiting until all are loaded to display them
    1. The PHP script reads file names and returns a string with names separated by a "|" char, then I use the split method to store them in imagesNames array and sort it
    2. I loop trough imagesNames array loading images
    3. Anytime a new image arrives I push it in imagesContainer array and check if all images are loaded to show them
    The problem is there's no guarantee they arrive in the same order they were requested. So, how I sort the imagesContainer array by file name, i.e. in the same order they are in imagesNames array?
    Thanks in advance

    if you know when a new image arrives and you can retrieve that new image file name ...
    Well, that's precisely my doubt, how can I know the file name? Is there a property/method for it?
    function loadImages() {
    for (var i:int=0; i<imagesNames.length; i++) {
    var imgLoader:Loader=new Loader;
    imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
    imgLoader.load(new URLRequest(imgPath + imagesNames[i]));
    function imgLoaded(par:Event):void {
    trace(par.target,par.target.content,par.target.content.name);
    Output window:
    [object LoaderInfo] [object Bitmap] instance160
    [object LoaderInfo] [object Bitmap] instance159
    [object LoaderInfo] [object Bitmap] instance161    

  • Need to know the exact name and P/N of a spare part, cannot find it anywhere.

    Hello,
    I would like to know the exact name and P/N of the -Touch Panel Control Assembly- for the HP Pavilion dv3510nr?.  
    or is it -Touch Panel Kit-?
    or is it -Multimedia Touch Control Panel-?
    Recently, mine got physically damaged and none of the touch buttons work, I cannot even turn the WiFi on. So I need to replace it, but I cannot find this spare part anywhere.
    It does not appear on the list of spare parts for this laptop, with any of those names.
    Does anybody know where can I find this spare part?
    Thanks very much.
    Glendy

    In case it was not very clear, the spare part that I am referring to is the panel placed above the keyboard, that has touch sensitive buttons for multimedia functions and for enabling the wireless device.
    Buttons appear In this order:
    MediaSmart button
    Audio on/off button
    Volume control
    Skip backward button
    Play/Pause button
    Skip forward button
    Stop button
    WiFi enable/disable
    Glendy 

  • How to know the column name using the index name for a particular table

    Hi All,
    I have small query regarding, I have index name and table name so by using this how can I know the column name associated with that index of that particular table specific to Oracle9i.
    Thanks
    Sudheer

    select *
    from user_ind_columns -- or all_ind_columns
    where table_name = UPPER('&table_name')
    and index_name = UPPER('&index_name');
    Regards
    Arun
    Gurgaon

  • How to know the Column name which contains some value?

    Suppose if a table contains 30 columns, and I want to know the name of the Column that contains my search text(Value).
    For Eg. I have a Table named Allowances contains 20 columns for referencing 20 types of allowances. The columns are named like Allw_1,Allw_2,...etc..I know the allowance name(Like "Incentive") and I want to know the Column name on which this allowance name presents.
    Pls. help me.

    Change your DB model.
    A Table with columns called allw_1, allw_2, ... begs to be normalized.

  • How To Know The Column Name Of The Internal Table

    HI ,
            i have an internal table .
    f1          f2           f 3         f4            f5  
    matnr   mbrsh    mtart     meins       minbe
    i want to know the column name which depending on the value i.e . if it is matnr then f1 , if mbrsh it is f2 ..so on
    Thanks.

    Hi ,
          thanks for your replies . i am elaborating my query .
            I have an internal table with 80 fields i.e.f1,f2,f3......f80 . In the first index i will be having the fieldnames
    i.e.matnr , mbrsh , meins , mtart ..... . From second index onwards i will be having the corresponding data  for the field name.  i need to display a particular field in a table control . Here i will be knowing the fieldname. If i can get to know the column name i.e whether f1 or f2 or ... .i Can populate the data into the table control.
    Wht i have done is taken a field symbol  and used the following code.
    read table i_upload index 1  assigning <lv_upload>.
    here i will get the initial first record i.e
    F1                                             MATNR
    F2                                             MBRSH
    F3                                             MTART
    F4                                             WERKS
    F5                                             LGORT
    F6                                             VKORG
    F7                                             VTWEG
    F8                                             MAKTX
    F9                                             MEINS
    F10                                             MATKL
    F11                                             BISMT
    F12                                             BRGEW
    F13                                             GEWEI
    F14                                             NTGEW
    F15                                             GROES
    F16                                             KLART
    F17                                             CLASS
    F18                                             SPART
    F19                                             VRKME
    F20                                             UMREN
    now i want to the field name .
    Hope it is clear this time .
    Thanks.

  • I know the user name and password but forgot the secret question

    I know the user name and password but forgot the secret question

    Check the AppleCare number for your country here:
    http://support.apple.com/kb/HE57
    Call them up, and let them know you would like to be transferred to the Account Security Team.@

  • I want to know the table name and field name of this description

    i want to know the table name and field names of this description
    supplieriddomain

    Hi SV,
    Try this:
    1) Go to SE15 (Repository info system)
    2) Expand ABAP Dictionary
    3) Expand Fields
    4) Click on Table Fields
    5) Enter the field name you want to search in field name or use wild cards with keywords in short decription field (like supplier ) and Execute.
    OR
    If it's a screen field, do a F1 on the field and click on Technical information on the help window popped up from Menu..this will tell you the field name along with structure or table name.
    Hope this helps you.
    Regards,
    Vivek

  • I want to know the table name and field names of this descriptions

    i want to know the table name and field names of this descriptions
    FPAApprover.UniqueName,FPAApprover.PasswordAdapter

    Hi Ramana,
    Go to the system table DD03T , use the table contents..
    In the field ' DDTEXT ' , give your keywords...
    for ex : say Unique name... as  UniqueName* in field DDTEXT
    Execute.. u will find the entries....
    May be ur problem will be solved...
    Thank u...
    Reward if useful and close the thread..
    Rajiv

  • If i know the extract strucute how to know the DS name

    Hi All,
    If i know the extract structure name how to find the DS name?
    Regards
    Kiran

    If it is for LO extractors we can identify the datasource based on the extract structure.
    say if the extract structure name is MC11VA0HDR , 11 will be the application component, VA is the event for salesorder , HDR gives the level of the data it is extracting .So in this case the data source name will be 2LIS_11_VAHDR.
    For MC12VC0ITM the data source will be 2LIS_12_VCITM(12 is the application for delivery ,VC the event for delivery)
    But for generic and other extractors it is not possible to know the datasource name by seeing the extractstructure. We will have all the datasources information in the roosurce table. Here we can check the datasource which is having that extract structure.

  • I like to know the table name where all the Interface name ( Data Type and

    Dear Friends,
    I like to know the table name where all the Interface name ( Data Type and Message Type in IR ) is stored.
    Thanks.

    Hi,
    Please find the repository API’s in the SE24 class builder that can be used for accessing repository objects from the ABAP stack of SAP XI. Check CL_SRAPI* in the SE24 transactions for digging further.
    location of interface objects
    CL_SRAPI_DATA_TYPE---data type
    CL_SRAPI_DATA_TYPE_ENH---data type enhancement
    CL_SRAPI_FAULT_MESSAEG_TYPE--fault message type
    CL_SRAPI_MESSAGE_TYPE--message type
    CL_SRAPI_INTEGRATION_SCENARIO--integration scenario
    have a look at the table SXMSPMAST, SXMSCLUP & SXMSCLUR
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4fbe7b8e-0a01-0010-b69b-b7e717378f22#search=%22SXMSPMAST%20%2B%20XI%22
    That document has references to lot of tables maybe it can be of use to u.
    Look at the below thread for SXMB_MONI tables and Function module:
    In Which Database Table the Messages are Stored in XI
    Message Monitoring  --> corresponding tables?
    Edited by: Dharamveer Gaur on Oct 8, 2008 10:40 AM

Maybe you are looking for