How to get the inline query which is drawn from the TAB specific Application.

Hi all I use 10.2.0.4.0 oracle version.

I want to capture the sql that is raised in my prod database when an applicaton tab is hit as it takes about 5 minutes for the tab to be loaded. So is it possible, for the inline sql, which is the origin of the problem, directly from the prod environment.

(Note: I looked through the browser session in PROD DB for the query, but there, I found a lot of meetings and a lot of requests, I do not know how to distinguish the session being created by the specific tab I hit).

>

Hello

I want to capture the sql that is triggered to my database of prod
When an applicaton tab is hit as it takes about 5 minutes so that the tab
to be loaded. So is it possible to get the inline sql, which is
the origin of the problem, directly from the prod environment.

Please, please tell us that you have a Test environment? Log into that, then run a trace.
No doubt you can either descend all test for a few miinutes and/or
easily distinguish sessions on your Test System? That's exactly what the test
the environments are for.

The SQL execution will be the same - you can go try to find
the root cause of the problem.

HTH,

Paul...

Tags: Database

Similar Questions

  • How to get the tab page index active?

    I have a parent tab and the number of child tab

    I want to get the index of the active tab page, normally I would do this:

    Is there a direct approach?

    Image EDITING

    Just read the value of the Terminal.

  • How to get the Windows 8 applications and allow the modern user interface

    I was so irritated by Windows 8, I completely removed all apps and disabled 'Metro' as much as possible.

    I now need Microsoft Store to install the Windows 8.1 update.

    How can I do this without a complete reinstall?

    This should be useful for you:

    [Windows 8 recovery & repair | http://aps2.toshiba-tro.de/kb0/TSB2A03ES0000R01.htm]

    Probably the best choice would be the option refresh your PC
    You could update the system without losing your files.

  • How to edit a pdf file which is drawn from the paper version?

    5e1fd7b1-534a-4355-a2ea-5a2a6a5f822c (1).png

    After you remove the paras, it looks like this. IT IS A DOCUMENT FROM A HARD COPY. PLS HELP HOW TO MAKE OWN

    Hello.

    You should see this tutorial: Edit scanned PDF | Adobe Acrobat DC tutorials

  • How to get the properties of application anywhere in the project?

    Hello

    Application

    | __Component1

    | ___Component2

    | ___Component3-> Component4 (in Popup)

    It is the actal scenario in my flex application...

    You know a better way to access the properties on the Application object?

    I want to put the popup component in the middle of the screen of the browser...

    for this, I tried the way...

    -Part 4

    <! - PopupWindow.mxml - >

    " < = xmlns:fx s:Group ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx" >

    < s:layout >

    < s:VerticalLayout horizontalAlign = "center" verticalAlign = "middle" / >

    < / s:layout >

    < s:BorderContainer id = "bcPopupWindow" width = "700" height = "500" backgroundAlpha = "0.8" borderAlpha = "0.5".

    borderVisible = "true" cornerRadius = "20" dropShadowVisible = "true" >

    == Design part ==

    < / s:BorderContainer >

    < / s:Group >

    and to show that
    in tier 3.
    protected function btnShowPopup_clickHandler(event:MouseEvent):void
    {
    myPopup = new PopupWindow();
    myPopup.width = this.parent.parent.parent.width;
    myPopup.height = this.parent.parent.parent.height;
    PopUpManager.addPopUp (myPopup, this, true);
    }

    Hello

    to access the application (IE higher level) use (for example, width), Application.application.width (for flex 3) or FlexGlobals.topLevelApplication.width (for flex 4)

    PS: you can use PopupManager.centerPopup (myPopup) to Center

  • How to get the value of a column in sql query?

    Hi, anyone knows how to get the value of a column in sql query?

    Here is my code, the value must be 1350079224397 in my PB, but I get 0

    QString query ("SELECT version FROM db_version");

    QVariant result = sda.execute (query);
    QVariantMap versionMap = result.toList () such () .toMap ();
    If (! versionMap.IsEmpty ())
    {
    qDebug()<"Version: "=""><>
    }

    OK, I have the solution

    QString query ("SELECT version as version FROM db_version");

  • How to get the result of the query?

    I'm looking to get output something like this...

    If a profile exists on the Pb, I need Exists in the colum

    PROFILE_A EXISTS

    PROFILE_B DOES NOT EXIST

    PROFILE_C EXISTS

    Select distinct profile

    decode (profile, "PASSWORD_PROFILE", "EXISTS", 'THERE is NO') 'STATUS '.

    of dba_profiles;

    How to get the above result? Anyone?

    In the first query, you can add any profile you want to check, and then try the below

    WITH qry1 AS (SELECT profile 'PROFILE_A' FROM dual

    UNION ALL

    SELECT "PROFILE_B" FROM double

    UNION ALL

    SELECT 'DEFAULT' double)

    SELECT the profile

    CASE WHEN EXISTS (SELECT 1 FROM dba_profiles dp

    WHERE dp.profile = q1.profile)

    THEN "EXISTS."

    OTHERWISE "NOT EXIST".

    The END as status

    OF qry1 q1;

    OUTPUT:-

    -------------

    SQL > WITH qry1 AS (SELECT profile 'PROFILE_A' FROM dual

    2. ANY TRADE UNION

    3. SELECT 'PROFILE_B' FROM dual

    4 UNION ALL

    5. SELECT 'DEFAULT' double)

    6. SELECT profile,

    7 CASE WHEN EXISTS (SELECT 1 FROM dba_profiles dp

    8 WHERE dp.profile = q1.profile)

    9 THEN 'EXISTS '.

    10. OTHERWISE "NOT EXIST".

    11 FINISSENT AS status

    Qry1 q1 12;

    PROFILE STATUS

    --------- ----------

    PROFILE_A DOES NOT EXIST

    PROFILE_B DOES NOT EXIST

    DEFAULT VALUE IS

  • How to get the query execution time without running...?

    Hello

    I had one condition... as follows...
    I had 3 sql statements. I need to run only sql what runtime is very less.

    Can someone help me, how to get the time query and run this query without using explain plan... ?

    Thank you
    Rajesh

    I can't think in any way at all to get the query execution time without running the query.

    You might get an estimate ( approximation ) If you are using explain plan.

    But you have governed to explain plan for a reason, so I can't help you.
    Why you do not want to use don't explain plan?

  • How to get the balance of an element value

    Hello

    I have a requirement to obtain related information with balance. I am able to read the information on the element except balance.how to get the value of the particular item balance.

    for the application-> transfer and process-> queries with trust-> value the month selected and chosen balances button and queries with the obtained item name break it down the value of the balance.

    These values I want in my query.i tried backend with calling package by passing parameters like the number of transfer, balance the id and date but iam getting value "0".

    IAM new to hrms, Please help me on how to get this balance of values

    Thank you

    Hello

    It is not very clear what you want to display in the form of balance for a given range of dates.

    It depends on how you have configured your balances and periods and balance which you are referring.

    The API allows for a given only date that matches the date earned.

    Say, for example, that you have a "basic salary" defined with a "Treatment period assignment to Date" dimension and feed of the element that corresponds to the base salary.

    "If you need get the 'wage base Total' (balance?) for the period February 1, 2015 ' to March 31, 2015", then you need get dates earned for payroll passes made during that period and call the package above with the appropriate settings.

    Another way is by querying the tables/views directly: you can use, for example - it's perhaps easier to your situation:

    Select sum (nvl (pbv.value, 0))

    of pay_balance_values_v the VB.

    where pbv.balance_name = 'base salary.

    and pbv.database_item_suffix = '_ASG_PTD. '

    and pbv.assignment_id =

    and pbv.effective_date between to_date (' 01/02/2015 ',' dd/mm/yyyy')

    and to_date (' 31/03/2015 ',' dd/mm/yyyy');

    Kind regards
    Rajen

  • How to get the ip address of the data storage device

    Hi all

    I developed a project now and you need to distinguish a virtual machine is saved to the device local ESX or remote network storage device.

    I found the data store object in which the virtual machine resides by vi sdk, but could not find the address of the device that includes this data store.

    How to get the ip address of the coding data storage device, which includes the virtual machine? I need your help.

    Thank you in advance.

    How do you try to make a query. Storage devices provides a logic unit number no, there is no IP address for it.

    You can check the same for the storage on vCenter view

  • How to get the value of viewrow by chain

    With the help of Jdev11.1.1.5.0 - adfbc - ireport3.0.0

    Here I will describe: what I've done.

    use jsff (dynamic region) while hitting the af:tree nodes it opens. Fine OK

    I had somevo manually wroten Query. and the query is fine no problem with it
     here i give sample not a original query
    select * from sometable where acctid = :pacctid
    I do drag and drop the pacctid correspondent run params vo as selectoncechoice


    public static vo
    Value of data - to pay account, advance

    Announcement name - ap, given


    in this jsff
    *page representation*
    
    account type :   account payable (ap) - select one choice type
                            advance           (ad) - select one choice type
    
    like this some select once choice and some inputs.
    
    Run report - command button
     .jsff code 
    <af:selectOneChoice value="#{bindings.ACCT_TYPE.inputValue}"
                              label="Account Type"
                              shortDesc="#{bindings.ACCT_TYPE.hints.tooltip}"
                              id="soc3" required="true" 
                              autoSubmit="true"
                              binding="#{backingBeanScope.SUP1040V.soc3}"
                              valuePassThru="true"
                              valueChangeListener="#{backingBeanScope.SUP1040V.ValueChangeListener1}">
                             
            <f:selectItems value="#{bindings.ACCT_TYPE.items}" id="si3"/>
          </af:selectOneChoice>
    
     <af:commandToolbarButton text="Export in pdf" id="ctb2">
              <af:fileDownloadActionListener method="#{backingBeanScope.SUP1040V.Report}"
                                             />
            </af:commandToolbarButton>
    . Java
         //while hitting the button following logs are appeared i show it as commented format.
    
        public void Report(FacesContext context, OutputStream out) throws IOException,Exception
            {
            
                FacesContext ctx = FacesContext.getCurrentInstance();
                HttpServletRequest request =
                    (HttpServletRequest)ctx.getExternalContext().getRequest();
                HttpServletResponse response =  
                    (HttpServletResponse)ctx.getExternalContext().getResponse();
                
            .....
                         
                BindingContainer bindings1 = BindingContext.getCurrent().getCurrentBindingsEntry();
                System.out.println("print binding" +bindings1 );
           
    //while using sop i get this in my log : :  print binding  ReportsPageFragments_SUP1040VPageDef_WEB_INF_TaskFlows_SUP1040_V_TF_xml_SUP1040_V_TF
    
           
                JUCtrlListBinding listBinding1 = (JUCtrlListBinding)bindings1.get("ACCT_TYPE");
                System.out.println("print list bindings" +listBinding1 );
           
    //while using sop i get this in my log : :  print list  bindings0
    
    
                Object selectedValue1 = listBinding1.getSelectedValue();
                System.out.println("print selected value" + selectedValue1);
    
    //while using sop i get this in my log : :  print selected  valueViewRow [oracle.jbo.Key[AP ]]    
                
                  
     request.setAttribute("ACCT_TYPE", //here i want the value  "AP" in  String  ); 
    
    if i use like this means
    request.setAttribute("ACCT_TYPE", soc1.getValue()  );  i get the index value.
    
    i need the dataname "ap" so i go above method which say wrotes ...
                 
              
                           ...                                    
                request.getRequestDispatcher(response.encodeURL("/sup1040servlet")).forward(request,response);
                
                System.out.println("hihihihih");
                response.flushBuffer();
                ctx.responseComplete();
           
            }
    
        public void ValueChangeListener1(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            String AcctType = valueChangeEvent.getNewValue().toString();
            System.out.println("AcctType" + AcctType);
            FacesContext contxt = FacesContext.getCurrentInstance();
            valueChangeEvent.getComponent().processUpdates(contxt); 
          
           BindingContainer bindings1 =
           BindingContext.getCurrent().getCurrentBindingsEntry();
           // Get the sepecific list binding
           JUCtrlListBinding listBinding1 =
           (JUCtrlListBinding)bindings1.get("ACCT_TYPE");
           // Get the value which is currently selected
           Object selectedValue1 = listBinding1.getSelectedValue();
           System.out.println(selectedValue1);
        }
    If I get ap means my report runs. or otherwise it will show an empty page.

    How to get the value of class viewrowimpl as string.

    Published by: ADF7 on March 24, 2012 07:27

    ADF7,
    I'm not sure that understand what you're up to.
    For as far as I understand you want to get the value of display rather than the index
    I use this code

        public void StatusChangedListener(ValueChangeEvent valueChangeEvent)
        {
            BindingContext lBindingContext = BindingContext.getCurrent();
            BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry();
            JUCtrlListBinding list = (JUCtrlListBinding) lBindingContainer.get("Status");
            int newindex = (Integer) valueChangeEvent.getNewValue();
            Object row = list.getDisplayData(); // Wichtig um die liste zu laden!!!!
            Row lFromList = (Row) list.getValueFromList(newindex);
            Object lAttribute = lFromList.getAttribute("Value");
            String newVal = (String) lAttribute;
        }
    

    to get the value of a component of selectOneChoice...

    Timo

  • How to get the value of the VO to the lov controller?

    Hello

    Can I know how to get the values of the View object, then pass in lov controller to execute the query... pls help...

    I tried the below:

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processRequest (pageContext, webBean);

    OAViewObject vo = (OAViewObject) am.findViewObject ("SeaoeAutoMosSummaryVO1");
    String s_it = (String) vo.getCurrentRow () .getAttribute ("ItemType"); / / If I enable this line, it will return the nullpointerexception error
    OAViewObject itemVO = (OAViewObject) am.findViewObject ("SeaoeAutoMosFIVO1");

    If ("lovValidate". Equals (PageContext.GetParameter (EVENT_PARAM)))
    {
    itemVO.setWhereClause (null);
    System.out.println ("b4 execute111");
    itemVO.setWhereClauseParams (null);
    itemVO.setWhereClauseParam(0,"F");
    itemVO.setWhereClauseParam(1,"OHO");
    itemVO.executeQuery ();
    }

    }

    yuchijoyce wrote:
    Jin

    I wanto add new line, the lov CO will have the value 2 in the base page move to filter the lov...
    the problem, I do face is: failed to get the vo value (new line) in lov CO.

    Try setting the PPR action with this field which will set the value in the session then get session value in the controller of the LOV and put the Original where clause.

    Thank you
    AJ

  • How to get the icons to display correctly in the Finder?

    At the time of the "classic" Mac OS, if the icons are not correctly display in the Finder, we could 'rebuild the desktop file' to correct the problem. I've recently updated to Yosemite, and most things work well, but for some reason, most of the files in the Finder .webloc now show as blank icons (but not all; a few show the correct icon). There is no model, I can see: some very old .webloc files now show a white icon (where I know that their icons used to be correct), while the most recent show the icon of correct - although I just created four (by dragging the URL of the Safari, the usual method) which are all empty. Sometimes they appear with the older icon, with the symbol @ (although those who seem to have changed vacuum after running and restart maintenance). I tried from an external disk, repair permissions and repair the file system, as well as cleaning with the utility of Maintenance (which clears the web browser and other caches), nothing works. Does anyone know how to get the computer to display these icons correctly?

    May be a corrupt .plist.

    Make a backup, preferably 2 backups on 2 separate drives.

    Go to Finder and select your user folder. With this Finder window as the windshield, select Finder/display/display options for presenting or order - J.  When the display options opens, check "show the library folder. This should make your visible user library folder in your user folder.  Select the library. Then go to Preferences/com.apple.finder.plist and com.apple.desktop.plist.  Move the .plists on your desktop.

    Relaunch the Finder by restarting the computer and test. If it works fine, delete the plists from the desktop.

    If the same, return the .plists to where you obtained since, by crushing the latest.

    Thanks to leonie for certain information contained in this.

  • How to get the Windows OS 8.1 actiivation key after the interview

    Dear Sir.

    My laptop has been given for maintenance on 09/06/2015 & collected on 19/08/2015. Unfortunately, while giving it for maintenance, Service Center authorized Lenovo not asked me to create a recovery media. Everything taking the delivary of the laptop service center could not activate windows 8.1 (this laptop computer OS has been pre-loaded & under warranty). Can someone tell me how to get the product activation key.

    Avinash Karnik

    Avinash-Karnik says:

    Dear Sir.

    Sorry, I fergot to quote these two motherboard have been replaced as original hard drive & motherboard had developed the fault for which I had to abandon for maintenance & replacement & maintenance for 2 & 1/2 months.

    Best regards & thanks.

    What version of Win 8.1 is the unit having now? If it's the PRO version, then probably you need to enter a product key if you reinstall. Try to download using the tool of media win 8.1 64 bit (no PRO version). Use it to install Win'a 8.1. The product key should be detected and you will not be required to enter as described above.

  • How to get the value of a variant as a string

    I have an existing codebase, which transmits the values of the user interface to business logic as variants. I was prompted to connect all values passed in this way in a text file. I'm trying to figure out how to get the data as a string to a Variant value without having to deal on the type for the data descriptor. The flag variant the fact, so I think I can, too.

    Anyone know how?

    Thank you, all! I decided to use the XML approach:

Maybe you are looking for

  • How to delete pages of backup thunderbird

    I save copies of receipts by using Save as t/bird that they are registered as a page web t/bird in a folder in my documents (Windows 7 pro).Now, I want to delete some when I click right delete isn't on the list.

  • 'iPhoto Library' vs 'Library of Photos' on the MBA

    I just found out two separate folders on my MBA (iPhoto Library & library Photos) each with a size of 57,15 GB. I assumed that these documents contain the same photos, so I can just delete the old iPhoto library to save HD space? I could use it of co

  • Satellite NB10t-A - Webcam does not work after update Win8.1

    Hello I have recently upgraded to Windows 8.1 and then my Webcam does not work... I checked if I have the driver in Device Manager but I couldn't find it. I don't know how can I fix what I was looking for driver thosiba Web site but got no results.Ca

  • Need help with SVG viewer

    Someone knows something about SVG viewer. I have been accessing a genealogy site and got a message "your SVG viewer does not support scripts. Please consider to upgrade '.Despite spending ages on my laptop and Toshiba I canoe online find my SVG viewe

  • Skype keep me disconnecting?

    the title says it well the I tried to reinstall Skype & passes amended, why get signed on Skype? someone help me please.