Find long running database objects over week (without using V$ views)

find long running database objects over week (without using V$ views) as v$ views contains information only upto objects resides on main memory . I want to know the objects which takes highest time withing one week.

Hello,
welcome to the forum.
This is the forum for the tool {forum:id=260}. Your question about v$views should be posted in {forum:id=61} or {forum:id=75}. There is a FAQ {message:id=9360002}: especially the part about providing essential informations like 4 digit version number :-)
Regards
Marcus

Similar Messages

  • I have just updated my 4s to IOS7. and now my battery discharge is significantly increase. With my Iphone fully charged, the battery run out within 6 hours without using the phone at all. Would it be possible to get the IOS 6.1.3 back to my 4S?

    I have just updated my 4s to IOS7. and now my battery discharge is significantly increase. With my Iphone fully charged, the battery run out within 6 hours without using the phone at all. Would it be possible to get the IOS 6.1.3 back to my 4S?

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • What is the best way to find a file on the servers disk without using web.xml?

              What is the best way to find a file on the servers disk without using web.xml?
              I want to find a configuration file not contained within the war file I have
              created. Is there a way to pass information into the ServletContext with out
              rebuilding the ear or war files? Tomcat 4.0 can do this in its server configuration
              files. Does BEA have the equivalent?
              Regards,
              Eric
              

    You can specify the path to the file as a system property
              eg
              java -Dconfig.file.location=./mydirecotry/myfile.txt com.test.MyApp
              "Eric White" <[email protected]> wrote in message
              news:[email protected]..
              >
              > What is the best way to find a file on the servers disk without using
              web.xml?
              > I want to find a configuration file not contained within the war file I
              have
              > created. Is there a way to pass information into the ServletContext with
              out
              > rebuilding the ear or war files? Tomcat 4.0 can do this in its server
              configuration
              > files. Does BEA have the equivalent?
              >
              > Regards,
              > Eric
              

  • How to run MRP for Bulk Material without using LTP

    Hi, how can I run MRP for BULK material without using LTP.
    Thanks in advance
    BK

    Hi,
    Use trasnsaction code OPPQ and goto BOM Explosion and selection depends on
    Field selected
    No dependent requirements are created for informational purposes for bulk material items in the plant selected. This can improve system performance.
    Field not selected
    Dependent requirements are created for bulk material items in the plant selected. These dependent requirements are displayed in the planned order for informational purposes only. They are not considered in the net requirements calculation; that is, they are not included in material requirements planning (MRP) and are not displayed in the stock/requirements list
    Reg,
    Deepak.
    Edited by: deepak k b on Nov 11, 2008 6:56 AM

  • Finding the largest values of an array without using if condition

    Hi,
    I am trying to find the largest values of an array without using any if condition. Can any one tell me the solution for that..
    Thanks

    I am trying to find the largest values of an arrayThe 'S' to values suggests that you want not only the largest one, but multiple ones among the largest ones. The best way, I think, is to sort the array, so that its largest values are grouped topgether. If the type is already Comparable, the following single line does the job:
    Collections.sort(myArray);After this, the last values of the array are the largest ones.
    Jerome.

  • Calculate the MAX without using a VIEW

    Is there a method to finding the Operator (OPERATORE) that respond at the maximus number of calls (CHIAMATE) without using a view like in the example?
    CREATE OR REPLACE VIEW MassimoChiamate as
    SELECT Operatore, Count(*) AS NUMERO_CHIAMATE
    FROM Chiamata
    GROUP BY Operatore;
    SELECT Matricola,Cognome,Nome, numero_chiamate
    FROM MassimoChiamate, Operatore
    WHERE NUMERO_CHIAMATE=(SELECT Max(NUMERO_CHIAMATE) FROM MassimoChiamate) AND Matricola=Operatore
    ORDER BY Operatore;where
    CREATE TABLE Chiamata (
    Cliente VARCHAR2(10) REFERENCES Cliente(NTelefono)ON DELETE CASCADE,
    Campagna VARCHAR2(20),
    Azienda VARCHAR2(20),
    Operatore VARCHAR2(10) REFERENCES Operatore(Matricola) ON DELETE CASCADE,
    Tipologia VARCHAR2(15) CHECK (Tipologia IN ('assistenza','informazioni','reclami', 'nulla', 'pubblicità')),
    Verso VARCHAR2(10) CHECK (Verso IN ('entrata','uscita')),
    DataOraInizio TIMESTAMP,
    DataOraFine TIMESTAMP,
    PRIMARY KEY (Cliente, Campagna, Azienda, Operatore),
    FOREIGN KEY (Campagna,Azienda) REFERENCES Campagna(Nome,Azienda) ON DELETE CASCADE,
    CHECK (DataOraFine > DataOraInizio)
    CREATE TABLE Operatore (
    Matricola VARCHAR2(10) PRIMARY KEY,
    Cognome VARCHAR2(20),
    Nome VARCHAR2(20),
    Tipo VARCHAR2(15) CHECK( Tipo IN ('semplice','supervisor','amministratore')),
    Username VARCHAR2(15),
    Password VARCHAR2(15),
    Responsabile VARCHAR2(10)
    );

    One way would be:
    SELECT matricola, cognome, nome, numero_chiamate
    FROM operatore o,
         (SELECT operatore, COUNT(*) numero_chiamate
          FROM chiamata
          GROUP BY operatore
          HAVING COUNT(*) >= ALL (SELECT COUNT(*)
                                  FROM chiamate
                                  GROUP BY operatore)) m
    WHERE o.matricola = m.operatore
    ORDER BY OperatoreAnother, using analytics could be:
    SELECT matricola, cognome, nome, numero_chiamate
    FROM operatore o,
         (SELECT operatore, RANK() OVER (ORDER BY numero_chiamate) rn
          FROM (SELECT operatore, COUNT(*) numero_chiamate
                FROM chiamata
                GROUP BY operatore)) m
    WHERE o.matricola = m.operatore and
          m.rn = 1
    ORDER BY OperatoreTTFN
    John

  • Finding long running queries inside procedure

    Hi All,
    Without using trace file or not modifying the existing procedure, is there any way to find out the query which is taking longer time (say out of 20) inside oracle procedure?
    Thanks in Advance,
    Geetha

    Hi,
    if you are on your development or test database the best tool (after the sql trace :)) is DBMS_PROFILER. It's easy to use and shows you how long does it take to execute every line of procedure. It helps to find not only slow SQL but also bottlenecks in pl/sql code.
    Another option could be Active Session History that every 1s creates snapshot of active sessions. You have to open new session, run the procedure and use query like this:
    select *
    from v$sql s
        (select sql_id, max(sample_time) - min(sample_time) as duration
        from v$active_session_history
        where sid = sys_context('userenv', 'sid') --SID of the session that executed the procedure
        ) ash
    where s.sql_id = ash.sql_id
    order by duration desc;

  • Find destination of database objects..

    I've got all database schema in one Oracle dmp file. I know that schema from this file was stored on 2 servers, but when I import this file I have all tables, procedures and other database object in one user. Is there any possibilities to know in which server was which tables and procedures? I try to use SQLDeveloper to find on which tablespace works procedures and functions, but I can't find tablespace's path in OS :/ Or maybe better idea is to find this information not on imprted schema, but on dmp file?!
    I add that this schema is too huge to search my answer step by step, because it has about 1300 tables :/
    Please help.

    Please clarify your previous message and intentions.
    I've got all database schema in one Oracle dmp file.Export was done in full mode, you mean?I hope yes. It's old dmp file and I've got only short description about this dmp file.
    >
    I know that schema from this file was stored on 2 servers,I have no idea what this means... How was the export
    done?It's mean that in this file are database object from both server. One server was for transformating data and second for reporting and diagnostig. Both of them have database objects and I try to know which of them was on which server.
    >
    but when I import this file I have all
    tables, procedures and other database object in oneuser.
    So, how was this import done? E.g. what imp command
    line options did you use?
    I use full imprt option.
    Is there any possibilities to know in which
    server was which tables and procedures?Not sure what you want. Perhaps you could ask the one
    who did the export?
    I I explain this above in this post.
    I try to use
    SQLDeveloper to find on which tablespace works
    procedures and functions, but I can't findProcedures and functions are schema objects, and uses
    [url=http://download.oracle.com/docs/cd/B19306_01/serv
    er.102/b14220/physical.htm#i15436]the SYSTEM
    tablespace for storage.
    tablespace's path in OS :/ Or maybe better idea isto
    find this information not on imprted schema, buton
    dmp file?!What kind of information?
    Information about which database objects on dmp file was stored on which server..
    >
    Is my answer are clearer now? If yes, please suggest solution.

  • Long running database call

    Hi
    I have a scenario where a call to PLSQL is taking about 15+ minutes to complete.
    Calls to database through database adapter is a sync call in BPEL, so yes the timeout is making the transaction JTA inactive.
    I understand that increasing the transaction time out is not an option as the time to complete might vary based on amount of data to process.
    What are the best practices for designing this scenario?
    Every Little Help
    Kalidass Mookkaiah

    This is not a very good pattern as you have no viability of the second BPEL process, if this never gets invoked the first process will be none the wiser.
    Plus how does your second BPEL process kick off the long running PL/SQL, once it gets invoked you still need to call the PL/SQL. How is this achieved using this pattern?
    If you want to call a long running PL/SQL it can be achieved with AQ and correlations.
    1.) Create an async BPEL.
    2.) Invoke an AQ adapter that places a message on a request queue with a correlation id, so you need to use correlation sets.
    3.) You setup your PL/SQL to subscribe to this queue, so when a message is posted the PL/SQL is invoked.
    4.) Once complete it places the result on a response queue using the same correlation id
    5.) Your BPEL process is listening for that correlation id on the response queue. (I like to respond with the status of the PL/SQL)
    6.) Always best to have a pick activity after the receive so if the response is not within a timeframe you can implement some error handling.
    cheers
    James

  • How to find out the list of patches applied without using inventory?

    Hi,
    I have been asked this question once.
    How will you find out the list of patches applied to Oracle Database Home without using commands like opatch lsinventory -detal etc...
    I think registry$history is a view from where we can find out the list of patches applied.
    But I think it will not include all the bug fixes,stand alone or one-off patches.It will mainly list out the CPU patches applied(correct me if I am wrong).
    Thanks,
    Rushi

    Hi;
    Thanks Helios,
    Your welcome
    Could you tell me how do you all senior people manage to find metalink note for almost everything?There is nothing special, For me I just make more search at metalink than googling so after sometimes you started to notice which note could be related wiht issues more clearly.. Just keep searching at metalink and focus what you are searching only.. ;)
    If you could guide me I can do it my self and stop bothering you for some silly doubts.You dont bother me and also I belive the other forum users ;) We are also learning new information wiht user questions ;)
    Regard
    Helios

  • CONNECT ORACLE11g database in sharepoint 2013 without using metaman or any third party tool

    Hi!
              I want to access ORACLE db and bring it as an external list  in SharePoint 2013. How can it be achieved without using third party tools? So far i referred Creating
    web service, .Net connectivity assembly or crafting the BCS xml model file manually are the techniques that can be employed to achieve. Can anyone share the code to create External content type and External list by adopting any one of the techniques.
    Thanks in advance.

    Hi,
    To connect SharePoint to your Oracle Database, you should use the BCS.
    You will find here what is the structure of the XML File to create to access your Oracle DB.
    http://msdn.microsoft.com/en-us/library/office/ff464424(v=office.14).aspx
    Once you finished your BDCM, you will be able to import it with the following mehod :
    http://www.manula.com/manuals/lightning-tools/bcs-meta-man-for-windows/1/en/topic/importing-the-bdc-model-into-sharepoint
    The last step will be to create your external list from your BDCM.
    http://msdn.microsoft.com/en-us/library/office/ee558778(v=office.14).aspx
    Best Regards,
    Frederic
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • Determine when a database was backed up without using MSDB tables?

    Hi all,
    I was wondering if there was another method to determine when a database was last backed up without using the backup history tables in msdb? whether using DBCC DBINFO, DBCC PAGE on a specific database page...etc.
    Also, when restoring a database, is there a trace flag you can use to force restore details to be written to the error log?
    John M. Couch

    The backup success message is written to the log, but the question is whether you can get restore information outside of successful restore messages to the log. i.e. backup file header information
    And on a server I just restored a database too, if its not the source server, there will be no backup information in MSDB for the database or log file. Is there something internal to the database that would have that information?
    John M. Couch
    if you restore the database -- your msdb database has restore tables, that will tell you where you got the backup from etc..
    select * from msdb.dbo.restorehistory 
    if the backup is from another server, use linked server in the msdb fr backup tables(not restore tables)
    refer https://sqlwhisper.wordpress.com/2015/01/08/database-restore-report/
    also, AFAIK,i do not think backup information is stored in the database, i would be curious know
    as well.

  • Can I save my photos from my Nikon Coolpix AWS 120 camera to my camera roll on my ipad over wifi without using any type of adapter but only using wifi?

    Can I use my ipad mini and my wifi camera to save my photos on my ipad without using an adapter and only using wifi? If so. How

    Not unless you import them to your computer first, then sync with iTunes over WiFi, but I suspect that sort of defeats the purpose.
    Just use the Lightning to USB Camera Adapter to connect your camera directly, or alternatively, the SD Card Adapter.

  • Print Crystal Report directly from C# without using Report Viewer

    Hello All,
    I need to print a crystal report directly to the printer without using ReportViewer in C#. I've a CrystalReport2(belowCode) which requires a query (Select * from JobHeader where JobNumber='J012345') to display all the data. I'm stuck with database connection
    and putting all the data to DataAdapter in C# (Below Code). I also have 8 subreports in my CrystalReport2. Can somebody please give me hand on this? I'm struggling with it. Thanks.
    Regards
    using CrystalDecisions.CrystalReports.Engine;
    using System;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using System.Data.SqlClient;
    namespace csharp_win_printtoprinter
    /// <summary>
    /// Summary description for Form1
    /// </summary>
    public class Form1 : System.Windows.Forms.Form
    //CR Variables
    ReportDocument crReportDocument;
    private System.Windows.Forms.Button button1;
    private System.Windows.Forms.PrintDialog printDialog1;
    private System.Windows.Forms.Button button2;
    private System.Drawing.Printing.PrintDocument printDocument1;
    private CrystalDecisions.Windows.Forms.CrystalReportViewer crystalReportViewer1;
    private CrystalReport1 CrystalReport11;
    private Chart Chart1;
    /// <summary>
    /// Required designer variable
    /// </summary>
    private System.ComponentModel.Container components = null;
    public Form1()
    // Required for Windows Form Designer support
    InitializeComponent();
    // TODO: Add any constructor code after InitializeComponent call
    /// <summary>
    /// Clean up any resources being used
    /// </summary>
    protected override void Dispose( bool disposing )
    if( disposing )
    if (components != null)
    components.Dispose();
    base.Dispose( disposing );
    #region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor
    /// </summary>
    private void InitializeComponent()
    this.button1 = new System.Windows.Forms.Button();
    this.printDialog1 = new System.Windows.Forms.PrintDialog();
    this.button2 = new System.Windows.Forms.Button();
    this.printDocument1 = new System.Drawing.Printing.PrintDocument();
    this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
    this.Chart1 = new csharp_win_printtoprinter.Chart();
    this.CrystalReport11 = new csharp_win_printtoprinter.CrystalReport1();
    this.SuspendLayout();
    // button1
    this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    this.button1.Location = new System.Drawing.Point(32, 56);
    this.button1.Name = "button1";
    this.button1.Size = new System.Drawing.Size(160, 104);
    this.button1.TabIndex = 0;
    this.button1.Text = "Print Report No Choose Printer";
    this.button1.Click += new System.EventHandler(this.button1_Click);
    // button2
    this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    this.button2.Location = new System.Drawing.Point(272, 56);
    this.button2.Name = "button2";
    this.button2.Size = new System.Drawing.Size(160, 104);
    this.button2.TabIndex = 1;
    this.button2.Text = "Choose Printer";
    this.button2.Click += new System.EventHandler(this.button2_Click);
    // crystalReportViewer1
    this.crystalReportViewer1.ActiveViewIndex = 0;
    this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
    this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
    this.crystalReportViewer1.Location = new System.Drawing.Point(47, 188);
    this.crystalReportViewer1.Name = "crystalReportViewer1";
    this.crystalReportViewer1.ReportSource = this.CrystalReport11;
    this.crystalReportViewer1.Size = new System.Drawing.Size(903, 296);
    this.crystalReportViewer1.TabIndex = 2;
    // Form1
    this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    this.ClientSize = new System.Drawing.Size(1164, 505);
    this.Controls.Add(this.crystalReportViewer1);
    this.Controls.Add(this.button2);
    this.Controls.Add(this.button1);
    this.Name = "Form1";
    this.Text = "Form1";
    this.Load += new System.EventHandler(this.Form1_Load);
    this.ResumeLayout(false);
    #endregion
    /// <summary>
    /// The main entry point for the application
    /// </summary>
    [STAThread]
    static void Main()
    Application.Run(new Form1());
    private void button1_Click(object sender, System.EventArgs e)
    crReportDocument = new ReportDocument();
    //Create an instance of a report
    crReportDocument = new CrystalReport2();
    //Use error handling in case an error occurs
    try
    //Set the printer name to print the report to. By default the sample
    //report does not have a defult printer specified. This will tell the
    //engine to use the specified printer to print the report. Print out
    //a test page (from Printer properties) to get the correct value.
    System.Drawing.Printing.PrintDocument printDocument = new System.Drawing.Printing.PrintDocument();
    crReportDocument.PrintOptions.PrinterName = printDocument.PrinterSettings.PrinterName;
    //Start the printing process. Provide details of the print job
    //using the arguments.
    crReportDocument.PrintToPrinter(0 ,true , 1, 1);
    //Let the user know that the print job is completed
    MessageBox.Show("Report finished printing!");
    catch(Exception err)
    MessageBox.Show(err.ToString(), "Unexpected exception");
    private void Form1_Load(object sender, System.EventArgs e)
    private void button2_Click(object sender, System.EventArgs e)
    //Open the PrintDialog
    this.printDialog1.Document = this.printDocument1;
    DialogResult dr = this.printDialog1.ShowDialog();
    if(dr == DialogResult.OK)
    //Get the Copy times
    int nCopy = this.printDocument1.PrinterSettings.Copies;
    //Get the number of Start Page
    int sPage = this.printDocument1.PrinterSettings.FromPage;
    //Get the number of End Page
    int ePage = this.printDocument1.PrinterSettings.ToPage;
    string PrinterName = this.printDocument1.PrinterSettings.PrinterName;
    crReportDocument = new ReportDocument();
    //Create an instance of a report
    crReportDocument = new Chart();
    try
    //Set the printer name to print the report to. By default the sample
    //report does not have a defult printer specified. This will tell the
    //engine to use the specified printer to print the report. Print out
    //a test page (from Printer properties) to get the correct value.
    crReportDocument.PrintOptions.PrinterName = PrinterName;
    //Start the printing process. Provide details of the print job
    //using the arguments.
    crReportDocument.PrintToPrinter(nCopy, false, sPage, ePage);
    //Let the user know that the print job is completed
    MessageBox.Show("Report finished printing!");
    catch(Exception err)
    MessageBox.Show(err.ToString());

    1. This is a VB.Net forum not a Visual C# forum. For Visual C# questions try this forum.
    Visual C#
    2. Crystal Reports are not supported by Microsoft. Therefore, unless somebody responding in the Visual C# forum has experience with whichever version of Crystal Reports you are using, you will probably not receive an answer in the Visual C# forum. SAP has
    their own assistance for Crystal Reports using Visual Studio. You can try to find an appropriate forum to ask questions in at SAP in the below link.
    SAP Community Network
    La vida loca

  • Help finding OS-level database object names

    Hello all...
    I need to perform an online reorganization of some tables on my QAS system.
    However, some of the tables have more than 8 characters on SAP and I need to know what's the corresponding object name on the database library at OS level, so I can use the RGZPFM command.
    Could you please let me know how to find out the object's name?
    I can't find that information on SE14 or SE11...
    Thanks
    Antonio

    Hi Antonio,
    I always use the following SQL:
    SELECT SYSTEM_TABLE_NAME, TABLE_NAME 
      FROM r3t01data/systables           
      WHERE                              
        table_name like 'MAR%'           
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

Maybe you are looking for

  • Update terminated error while saving in VA22

    Hi, I am trying to change the quotation in va22 transaction. What I am doin is  I am selecting all the items in incompletion log and filling to make the document complete.All the items have ben update with out error but there is field your reference

  • I just updated itunes and now itunes wont open

    i just updated itunes and now it wont open????

  • Data look like coupled

    Hi, I'm trying to collect data from 4 different channels by using USB-6259 BNC and LabView 2009. When I try to collect them through a DAQ assistant, if there is an input from one channel (say channel 0), the data from different channels are also chan

  • Communicate with LabVIEW RunTime Application

    Hi all. I have an application created in LabVIEW, and I built an executable file from it (Let's call it App1.exe). While App1 is running it sometimes generates an exception and is aborted. The problem is that the Run-Time APP1.exe GUI remains open (W

  • How to get index fragmentation percentage by sql query

    hi, experts, I built some indexes in my database. the database is not accessible by me. it is by DBA. I could not ask him to use interface on management studio to check every indexes fragmentation percentage everyday. is there any sql queries to get