How to retrive machine, progarm of a SQL_ID

Hi All,
I am having following query
select sql_text, SQL_ID from v$sql where executions > 50000
34 rows selected.but when i joint it with v$session
SQL> select machine, program, sql_text, v$sql.SQL_ID from v$sql, v$session where v$sql.SQL_ID = v$session.SQL_ID and rownum > 50000;
no rows selectedi need to find the machine and program of the queries whose executions > 50000 in v$sql.
please help !!!
Thanks & Regards
Nimish Garg

Hi,
Why did you put that part ?
... and rownum > 50000;It prevents rows from being retrieved :
SQL> select * from dual where rownum > 50000;
no rows selectedMoreover, maybe the sql isn't executed 50000+ times by the same session ?

Similar Messages

  • How to retrive relational data from an XMLType column in Oracle 10g R2

    Hi
    I want how to retrive the data which is in XML document in an XMLColumn in a Table(or an XMLTable which has the XML Document). This XML Document has to be Queried with XQuery as a Relational data(not an XML Document).
    If any body has some ideas please share it across ASAP.
    please share an example for this because i am new to this XQuery.
    Thanks in Expectation,
    Selva.

    Got it working now. I used the 'extract' function in my select statement, but had to add the .getStringValue() fuction. The extract function, just by itself, returns an XMLDocument type. The call for the column in the SQL statement looked like this.
    extract(XML_CONTENT, '/ROOTOBJECT').getStringVal() xml_content
    Thanks so much for your help. Problem solved!

  • How to retrive the data from a sqlite file(.db3) in windows phone 8.1(runtime)

    hey guys
    i installed the sqlite and sqlite-net as requested in other answers i found, changed to x86, and add the .db3 file in my project.
    but the problem is how to retrive the data that already in the file( i am not creating any table or data in the app, just read)
    all the answer i found is to create a table first and then read the table, i tried to skip the step of creating a table, and read from the table directly, but failed with " no such table", by the way, i set the property of the .db3 file as "content",
    "copy if newer"
    can anyone please help? i appreciate that !

    Hello,
    From your description, you want to read data from available sqlite file. When you add the sqlite file into your project, you need to change the sqlite file build action to content. After deploying to device, the sqlite file is located in installation folder,
    you need to copy that file into storage folder before reading data. Please try the following code snippets.
    private async void Button_Click_9(object sender, RoutedEventArgs e)
    //check if file exists in storage folder, and then copy to local storage
    bool flag = await FileExistsAsync("Data.db3");
    if (!flag)
    var folder = await Package.Current.InstalledLocation.GetFileAsync("Data.db3");
    await folder.CopyAsync(Windows.Storage.ApplicationData.Current.LocalFolder);
    // open sqlite and read data
    public async Task<bool> FileExistsAsync(string fileName)
    try
    await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync(fileName);
    return true;
    catch (FileNotFoundException)
    return false;
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • How to retrive dynamic directory structure from data base and show it

    i want to display a directory structur on jsp my problem is that i want to read it from a database how i can read
    a tree structure i found a function to read directry structur but if i use this function i am not able to find who the parent is ? this is the function i found cna any one help me ?
    public void iterate(File someDirectory) {
    Vector allFiles = new Vector();
    File[] dirContents = someDirectory.listFiles();
    for (File f : dirContents) {
    allFiles.add(f);
    for (int i = 0; i < allFiles.size(); i++) {
    File file = (File) allFiles.get(i);
    if (file.isDirectory()) {
    dirContents = file.listFiles();
    for (File f : dirContents) {
    allFiles.add(f);
    // Process 'file' or do whatever
    }

    Thanks for reply i am not actualy deling with files i am creating a web application in which i am having organize functionality
    user creat folders and put there document in that like out look user can creat folder inside folder
    i am storing tham in a database table my problem is how to retrive them so i can show them as a tree structur
    i am using this code to show on jsp
    {color:#808000}<table>
    <tr>
    <td >
    <ul class="flipMenu">
    <li><span class="menu">Folder</span>
    <ul>
    <c:forEach var="folderList1" items="${folderList}" >
    {color}
    {color:#808000}<li ><a class="submenu25" id='<c:out value="${folderList1.id}"/>' href="folderAgreement.htm?folderid=<c:out value="${folderList1.id}"/>" onmouseup="a('<c:out value="${folderList1.id}"/>');" ><span ><c:out value="${folderList1.name}" /> T</span></a>
    <ul>
    <li> <a href="# onclick="window.open('createSubFolder.htm?folderid=<c:out value="${folderList1.id"/>&agreetitle=<c:out value="${agreements.title}"/>', 'invite_wnd', 'height=700, width=800, status=no, menubar=no, toolbar=nu, location=400'); return false;">Add Folder
    </li>
    <li> <a href="folderDetail.htm?folderid=<c:out value=${folderList1.id"/>&flag=folder"><span class="submenu2">Detail</span>
    </li>
    <li> <a id="<c:out value="${folderList1.id}"/>" href="folderDelete.htm?folderid=<c:out value="${folderList1.id}"/>&flag=folder" onclick="conformDelete('<c:out value="${folderList1.id}"/>')" ><span class="submenu2">Delete Folder</span></a>
    </li>
    </ul>
    </li>
    </c:forEach>
    {color}
    {color:#808000}</ul>
    </li>
    </ul>
    </td>
    </tr>
    </table>{color}

  • How to retrive one table records into another table by multiple records

    how to retrive table X records into another table Y by multiple records (means at once i want display 10 records) in form 6i .
    when i am written cursor it is ftching only one record.But i want to display all records at once.
    Declare
    Cursor cur_name is
    select PROTOCOL_NO,DOCNUM,SUBSETSN,REPEATSN,AESEQ,AETERM from coding_ae WHERE PROTOCOL_NO='KP229';
    Begin
    open cur_name;
    loop
    fetch cur_name into :PROTOCOL_NO,:DOCNUM,:SUBSETSN,:REPEATSN,:AESEQ,:AETERM;
    exit when cur_name%notfound;
    next_record;
    end loop;
    close cur_name;
    End;

    Hi,
    Make sure the cursor is in the detailed block. For that use 8GO_BLOCK* built-in. So the code will be
    Declare
    Cursor cur_name is
    select PROTOCOL_NO,DOCNUM,SUBSETSN,REPEATSN,AESEQ,AETERM from coding_ae;
    Begin
    GO_BLOCK('<detailed_block_name>');
    open cur_name;
    loop
    fetch cur_name into :PROTOCOL_NO,:DOCNUM,:SUBSETSN,:REPEATSN,:AESEQ,:AETERM;
    exit when cur_name%notfound;
    next_record;
    end loop;
    close cur_name;
    End;Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • How does Time Machine Handle separate Boot and User Volumes?

    I recently installed an SSD and set it up as my boot drive, and I'm using another hard drive for my Home folder, if I ever run into a scenario that I need to restore my entire system, how will Time Machine handle it?
    Will it restore my system back to the drives that they came off of?, in other words will my Boot volume be restored back to the SSD and my Home folder back to the hard drive, or will it restore everything back on the one disk it asks me to select before I click restore?

    Michael Hoover wrote:
    Ok, so if I tried to access a backup from booting with the Snow Leopard install disk I won't be able to select which volume I need to restore?
    You would restore the OSX volume via the procedure in #14 of [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum).
    You would restore the data-only volume separately, via the "Star Wars" display, per #15 in the FAQ.
    I guess I would be better off doing incremental backups with Carbon Copy Cloner on 2 partitions on the same volume.
    That would also take two separate operations to restore. (It would be a good idea to do such backups +*in addition+* to Time Machine backups, in case there's a problem with either disk drive or backup app, or a user error like erasing the wrong disk.)
    Your scenario is actually quite unlikely; you'd rarely need to restore both volumes at once. If the SSD fails, you'd only need to restore it; if the HD fails, you'd only need to restore that.
    It would get a bit more complicated if you get a new Mac, especially one with a single volume. That's one of the reasons it's a good idea to keep at least a minimal Admin account on the OSX volume.

  • HOW to retrive data from SAP Tabel

    Hi Friends,
       1)Can you please explain how to retrive data from SAP table(example AFRU).
       2) we had requriment based on the qunatity , Product name and date we need to display KPI's .KPI is based no products manfactured per day with some conditions
    Regards
    Srikanth

    Hi Udayan,
        I want to retrive SAP Table data from xMII.can you please explain elabarately how to call "RFC_READ_TABLE" from xMII.
    please do the needful
    Thanks
    Srikanth

  • How to retrive data from SAP Archive (from Cluster or Content Table)

    Hi,
    I am working on HR -ABAP where i have a scenario to retive employee photo and disaplay as output in smartforms.And these employee photo are stored in Cluster table SDOKCONT1 in SAP Archive Link (storage type - SAP System Database).
    Anybody can tell me the way how to retrive data ( employee Photo ) from this cluster and display its output in smartform dynamically.
    Regards,
    Sourabh Shrivastava

    Hello Sourabh,
    If I am not wrong, there are two parts two your query...
    a) Data or Content Retrieval
    b) Displaying Retrieved content
    Here is my feedback
    a) The Content can be Retrieved using the FM ARCHIV_GET_TABLE.
    Pass the Archive Object, SAP Object and the SAP Object ID and based on the Connection table entries (TOA*), the underlying Content Repository (T-code OAC0) is determined and a request for synchronous retrieval is made to the Content Server.
    b) Display of Retrieved content is normally done through dedicated viewers (Ex: Livelink Viewer) or front-end applications (Excel, Word) based on the Protocol (OAA3/OAA4) specified in the Content Reository Configuration. Hence, to my knowledge, you cannot display the content directly in the Smartform.
    With Regards
    Vijay Gajavalli

  • How to retrive question name in msg in procedure by writing custom coding

    how to retrive question name in message in procedure by writing custom coding.........

    My apologies if I've completely missed the boat on where you are going with this...but it seems to me that embedded values in action messages are meant for variable text. In other words, you reference the question variable you want, but it will pull the actual response each time the detail runs, e.g. \AETERM\ will return whatever that is each time the edit fires.
    If you are meaning to place non-variable text into an action message, generally, the fastest way to do this is to simply type it in. I'm sure there is custom code out there to do this, however, simply typing AETERM doesn't take very long--definitely not as long as developing custom code.
    Again, sorry if I've missed the point entirely.

  • How to Retrive the content from Archive folder ???

    Hi,
    1. I was working on the archiving of the documents and was able to archive the docs into a local archive folder.
    Then I had to test a scenario where when the user wants to search for a document with a specific ContentId, if the ContentId was not present in the content repository, then the content manager has to search for the same in the archived documents. Is this achievable?
    While testing the above, the UCM server had stopped indexing and started giving a Interrupted exception for indexing. While we do a normal checkin also the documents are in DONE status and are not getting published. Tried restarting the indexer also but in vain. How can we restart the indexing so as to publish the docs?
    2. indexing not working even for normal checkin the content.its showing error "indexing aborted" ? content never gets released after checkedin the content ? its struch in done status ?
    while importing the content to ucm serverl, i have deleted "testarchive " (which was exported from contentserver) from Archive folder in UCM install directory.. then many contents were in done status at contentmanagement-> workin progress. Errors showing in content server ...
    Indexing aborted. Error: Directory 'C:/UCM/archives/testacrchive' does not exist. Directory 'C:/UCM/archives/testacrchive' does not exist. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csIndexerAbortedMsg!syGeneralError!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive
    intradoc.common.ServiceException: !syGeneralError
         at intradoc.common.FileUtils.testFileSystem(FileUtils.java:452)
         at intradoc.server.archive.ArchiveUtils.readFileEx(ArchiveUtils.java:215)
         at intradoc.server.archive.ArchiveUtils.readFile(ArchiveUtils.java:193)
         at intradoc.server.archive.ArchiveUtils.readArchiveFile(ArchiveUtils.java:158)
         at intradoc.server.IndexerReplication.readArchiveProperties(IndexerReplication.java:279)
         at intradoc.server.IndexerReplication.doReplication(IndexerReplication.java:156)
         at intradoc.server.IndexerReplication.doWork(IndexerReplication.java:92)
         at intradoc.indexer.Indexer.doIndexing(Indexer.java:431)
         at intradoc.indexer.Indexer.buildIndex(Indexer.java:340)
         at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
         at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
    Caused by: intradoc.common.ServiceException: !syFileUtilsDirNotFound,C:/UCM/archives/testacrchive!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive
         at intradoc.common.FileUtils.validatePath(FileUtils.java:801)
         at intradoc.common.FileUtils.validateDirectory(FileUtils.java:781)
         at intradoc.common.FileUtils.testFileSystem(FileUtils.java:437)
         ... 10 more
    Error showing in Archive logs
    Instance idc with archive testAcrchive is no longer being exported. Exception type is 'java.lang.Throwable'. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csReplicationInstanceRemoved,idc,testAcrchive!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(IdcLogWriter.java:81)
         at intradoc.common.Log.addMessage(Log.java:268)
         at intradoc.common.Log.errorEx2(Log.java:216)
         at intradoc.common.LoggingUtils.logMessage(LoggingUtils.java:97)
         at intradoc.common.SystemUtils.reportErrorEx(SystemUtils.java:462)
         at intradoc.common.SystemUtils.errEx(SystemUtils.java:547)
         at intradoc.server.IndexerReplication.doExport(IndexerReplication.java:196)
         at intradoc.server.IndexerReplication.doReplication(IndexerReplication.java:169)
         at intradoc.server.IndexerReplication.doWork(IndexerReplication.java:92)
         at intradoc.indexer.Indexer.doIndexing(Indexer.java:431)
         at intradoc.indexer.Indexer.buildIndex(Indexer.java:340)
         at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
         at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
    Please resove the above issues,
    Please helpme out... this is pretty urgent as i am strucked at my work ? how to get relase the content ?
    thanks inadvance.
    Thanks,
    yt
    Edited by: 792821 on Oct 28, 2010 12:17 PM

    hi,
    We wanted to achieve the following.
    1) Data which is older more than 2 months should be sent and stored in a different storage device[ example: SAN storage / oracle storage etc ].
    2) When user requests for the contentId and if its older more than 2 months, the request has to search / retrieve the secondary storage system and get the documents.
    As of now, we need not required archival things, we just need retrive documents from out side devices. it can be SAS or any other storage device/unit.
    i just need to retrive the content based on metadata from other storage device.
    lets say one example , we have large amount data which is stored in one device or hard disc
    it can be SAS or any storge unit, using UCM, i need to retrive to the content from storage device/unit.
    how to retrive document from out side device ? how i need to configure for other storge unit ? is it possible through provider for providing other system information in UCM server ? is there any other alternate way ???
    how it be achived ? how to config to other storage device using ucm ?
    this requirement is very very urgent and we need proper soluation, so could please let me know soluation with a in detail description.
    thanks in advance

  • How to retrive the deleted data in Z table

    Hi Gyes,
    How to retrive the deleted data in Z table.
    Thanks & Regards,
    Suresh

    Hello Suresh
    If you have not activated the technical setting "Log data changes" in the definition of your z-table (which is unlikely) then there will be no change documents available.
    If you have downloaded your z-table entries sometimes you could use these data for recovery.
    Otherwise your last change is to ask your <b>basis team</b> when the last backup has been made.
    Regards
      Uwe

  • How to retrive the deleted entries in the ztable

    please let me know how to retrive the deleted entries in the ztable.

    >
    Naseer uddin wrote:
    > Hi,
    >
    >   While creating a table have u activated the buffering (full).
    >   if not then it is not possible to retrive the lost data, and if u have activated the full buffering of table then it is possible to retrive data, up to some extent, using transaction Code se14.
    Complete Nonsense.*
    buffering doesn't mean that it will buffer the records back in database ,once you deleted.it means it will allow the buffer the table to memory only while read access.

  • How to retrive the overwritten SAP Default Configuration

    Hi There,
    I was trying to enhance the component BT115IT_SLSO to add some new fields into the table view Items.
    I copied the view configuration to my Z config key but by mistake & added the fields into the default view and saved the changes. Now the default configuration is screwed up.
    Can some one point out how to retrive the SAP standard configuration( where it is stored ). In the configuration tab of the view the configuration looks ok but in Web UI I see all the columns available in the context node, and makes the view useless, when I go to the personlization of the view all fields shows the message < Error in Meta data > and I can not see the details of the fields.
    I have already backed off my enhancement. Now I want to retrive the view configuration.
    Your help will be highly appreciated.
    Thanks,
    Vikash.

    Issue resolved.
    Solution was In BSP workbench when I went to choose configuration I saw that just next to std conf there was column for cust conf. and both were marked X so I deleted the conf and that gave me the standard conf back.
    Thanks,
    Vikash.

  • MessageFileUpload how to retrive the file name?

    Hi there guys,
    maybe it's a stupid question but i cannot find the answer :_( any of you knows how to retrive the file name i am going to upload from the messageFIleUpload item?
    Thank You, Pier Paolo.
    Edit: Found in another post!! eeheh LAZY ME!! :_)
    Message was edited by:
    PandreoL

    Nice to know that you found the solution. You could have as well used the javadoc for the same.
    --Shiv                                                                                                                                                                                                                   

  • How Does Time Machine Help If... iCal Data Lost?

    Hi,
    How does Time Machine help if, say, your iCal database gets messed up? Or, how does it help if you accidentally delete all your playlists from iTunes? I'd be interested to know.

    That's a very good question (although probably better directed at Apple than us). Because Time Machine is new and Apple's in house programs handle data in different ways, there are a range of different means of recovering data for different applications. Not very user friendly and iCal is one of the least user friendly ones.
    As an experiment, because I don't make much use of iCal and have no real idea how it works, I tried to find out how to restore its data. Starting with working with the application: nope, not TM aware at present. OK, where does it restore its data? Next step Spotlight where, as it happens, the obvious search "Calendars" brings up a folder in ~/Library labelled that with a whole lot of mysterious stuff in it. I'm pretty sure that restoring that folder would do the trick. No doubt, if you could figure out which Calendar belongs to what in the above folder you could restore a single calendar that was causing problems. Still, Apple's clearly got some work to do to make this more transparent. Roll on iCal4!
    (By the way Mail also restores from within the program).

Maybe you are looking for

  • How can I export songs from my iTunes to a mail program or laptop?

    How can I export songs from my iTunes to a mail program/computer? The songs in question are originals composed by my boyfriend in Garage Band. We have full rights to them, but they import into iTunes like all the other artists songs. His hard drive c

  • Repeated installation freeze (with screen shots)--suggestions?

    I have an ongoing issue with Flash installation.  Running Windows 7 64bit on a Lenovo T410.  Ancient junker, but doing alright other than this Flash issue.  The Chrome integrated flash is fully operational.  The issue is installation for Firefox 34.0

  • Zte open c problem with sync calendar via https

    I use ownCloud. On my device ZTE Open C use caldav. When I use url of our CalDAV server http that synchronization is good When I use https and click SAve -sync not work. I see "Something is wrong. Try again later". What is the problem ?

  • Missing printer software CD

    I have a used deskjet 940c printer, but no software cd to install it. is there a download available? I have a desktop computer with Windows XP.  Thanks.

  • Want to refresh table S032

    Hi Gurus, I would like to refresh the table S032 as it has got negative valuated stock,could you plz please provide me the function module which refreshes the tableS032. Thanks a lot in advance.