PL/SQL Hierarchical Profiler: plshprof  output - meaning of Ind% column

Hi,
During analysis of an PL/SQL Performance issue I started using the DBMS_HPROF Profiler, but could not find a good source of information about interpreting the out html-files.
I went through the Database advanced Application Developers Guide chapter: "Using the PL/SQL Hierarchical Profiler" which has a small section explaining the html output generated by this tool.
I'm aware of the possibility of using the analyze function for populating the DBMSHP_* Tables, but I would like also to use the html output too.
Unfortunately there is no explanation about the Ind% column in the various html pages in the documentation. Searching the internet didn't bring up much information either.
for example:
Function Elapsed Time (microsecs) Data sorted by Total Subtree Elapsed Time (microsecs)
18824664856 microsecs (elapsed time) & 23390789 function calls
Subtree      Ind%      Function      Ind%      Descendants      Ind%      Calls      Ind%      Function Name
18598289260      98.8%      42540820      0.2%      18555748440      98.6%      697210      3.0%      __static_sql_exec_line34 (Line 34)
18555748440      98.6%      1660109      0.0%      18554088331      98.6%      697210      3.0%      __plsql_vm
.Has someone used this tool and knows the meaning ?
best regards

Can you give me a hint how "C u m %" Column is calculated
Function Elapsed Time (microsecs) Data sorted by Total Function Elapsed Time (microsecs)
20052584182 microsecs (elapsed time) & 26511278 function calls
Subtree      Ind%      Function      Ind%      C u m %      Descendants      Ind%      Calls      Ind%      Function Name
8920721699      44.5%      8745800186      43.6%      43.6%      174921513      0.9%      15990      0.1%      WM.LOG_INSTEAD_TRG.__dyn_sql_exec_line127 (Line 127)
10133224678      50.5%      7440629835      37.1%      80.7%      2692594843      13.4%      790323      3.0%      WM.LOG_INSTEAD_TRG.__dyn_sql_exec_line96 (Line 96)
607218527      3.0%      607218527      3.0%      83.7%      0      0.0%      60200      0.2%      OWNER.LOG_UMTAEUSCHE_U.__static_sql_exec_line763 (Line 763)Sorry but had to write c u m % because otherwise it gets starred out

Similar Messages

  • Error while working with hierarchical profiler

    Hi,
    I am working with hierarchical profiler for the first time in SQL Developer 3.0.
    When I open a procedure and click the Profile icon, I get the following error "Directory exists;check if /tmp exists on file system, and oracle has permissions to write there".
    Any help on this is appreciated.
    Edited by: 836760 on Feb 14, 2011 11:24 PM

    Hi,
    I am working with hierarchical profiler for the first time in SQL Developer 3.0.
    When I open a procedure and click the Profile icon, I get the following error "Directory exists;check if /tmp exists on file system, and oracle has permissions to write there".
    Any help on this is appreciated.
    Edited by: 836760 on Feb 14, 2011 11:24 PM

  • SQL query runs too many times in SQL server Profiler

    Hi Experts
    I have designed a report using SQL database.Report is based on Add Command Object, View and Table.Which are link and gives desired output.
    However it takes long time. In the SQL Sever profiler it shows that query is executing too many times.
    When in the Add Command object I edit the query Say I write TOP 5000 then it executes once however if I write Add 5001 then I face the same behavior.
    I have checked "Grouping on server" option in options.
    Please Advice.
    Regards
    Asha.

    Thanks Raghavendra for reply
    How adding group will help? I have to link this command objects with view and table.Also  When I add "TOP 5000" in add command query it executes only 1 time in SQL query Profiler hower if edit that query to "TOP 5001" then it again it executes several time which is impacting the performance.
    Please advice?
    Regards
    Asha.

  • What are the differences between tracing and hierarchical profiler?

    There are many terms used by people, I am just wondering what are the differences between tracing and hierarchical profiler? Aren't they the same thing?
    Thanks a lot.

    Instrumentation and tracing are two different things; in fact they belong to two different categories - one's a thing the other's an activity.
    Tracing is following the execution path of a program. Tracing shows us the the calls a program makes, perhaps the internal choices it makes (ifs and whiles), exceptions thrown, etc,
    Instrumentation is code we build into our program to produce a record of its status. There are different techniques, from using DBMS_APPLICATION_INFO calls to monitor status to writing log tables or files. Instrumentation can be used to generate a trace; it can do profiling; it can provide information reports on outputs and exceptions.
    In my opinion DBMS_TRACE and DBMS_HPROF are not instrumentation, because they are external to the program under investigation, rather than built into it. However, there is an obvious overlap between the insight they provide and what we might do with our own logging.
    Cheers, APC
    PS
    970992 wrote:
    you are not a stranger for me.Really? I don't believe we've met. I'm pretty certain I don't know anybody whose name is just a number.

  • Java.sql.SQLException: File input/output error: File input/output error: re

    Hi,
    We are using JCAPS 512. We use oracle eway to connect to Oracle 10g database. But sometimes we are getting the following exception
    and suddenly all jcds stop processing. If we restart the server again job continue processing, otherwise server hangs and nothing get processed.
    Exception is as follows
    java.sql.SQLException: File input/output error: File input/output error: reading: java.io.EOFException in statement [SET TABLE EVENT_STORE INDEX '11183416 55935']
         at org.hsqldb.Trace.getError(Unknown Source)
         at org.hsqldb.Log.runScript(Unknown Source)
         at org.hsqldb.Log.open(Unknown Source)
         at org.hsqldb.Database$Logger.openLog(Unknown Source)
         at org.hsqldb.Database.open(Unknown Source)
         at org.hsqldb.Database.<init>(Unknown Source)
         at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
         at org.hsqldb.jdbcConnection.<init>(Unknown Source)
         at org.hsqldb.jdbcDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.addNewConnection(DBEventStore.java:359)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.getConnection(DBEventStore.java:444)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.executeParameterizedQuery(DBEventStore.java:777)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.access$000(DBEventStore.java:250)
         at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:133)
         at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:115)
         at com.stc.eventmanagement.impl.EventForwarderMBean.cachePersistedEvents(EventForwarderMBean.java:728)
         at com.stc.eventmanagement.impl.EventForwarderMBean.setup(EventForwarderMBean.java:334)
         at com.stc.eventmanagement.impl.EventForwarderMBean.invoke(EventForwarderMBean.java:565)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at com.stc.eventmanagement.impl.EventManagementService.setupEventForwarderMbean(EventManagementService.java:270)
         at com.stc.eventmanagement.impl.EventManagementService.registerMBean(EventManagementService.java:147)
         at com.stc.eventmanagement.impl.EventManagementService.startService(EventManagementService.java:96)
         at com.stc.eventmanagement.impl.EventManagementResourceAdapter.start(EventManagementResourceAdapter.java:75)
         at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:94)
         at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:74)
         at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:269)
         at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:372)
         at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:204)
         at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:87)
         at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:108)
         at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:216)
         at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:106)
         at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:183)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:238)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:186)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    |#]
    Please provide some suggestions to overcome this  error
    Regards
    Venkatesh.S

    Delete the EventStoreDb.data file (its somewhere in your logical host) and restart the logical host.

  • Tools samiliar as SQL Server Profiler on SQL Server

    Dear Forum,
    Is there the tools that samiliar as SQL Server Profiler usually using on SQL Server ? SQL Server Profiler capable of all running query on database. Or do you know the syntax query for it ?

    I don't know exactly what SQL Server Profiler does, but SQL Developer had Explain Plan and SQL Trace functionality. Oracle enterprise manager has various options for tracing and profiling sessions, or the entire database.

  • MS VC++ Runtime Library error when running SQL Server Profiler

    Environment:
    - Windows Server 2008 R2 Standard
    - SQL Server 2008 R2 Enterprise with SP2 and CU11
    When starting up the SQL Server Profiler tool, I faced the following issue
    Event log:
    Faulting application name: Profiler.exe, version: 2009.100.1600.1, time stamp: 0x4bb679f5
    Faulting module name: MSVCR80.dll, version: 8.0.50727.6229, time stamp: 0x4ec352ab
    Exception code: 0x40000015
    Fault offset: 0x000046b4
    Faulting process id: 0xb60
    Faulting application start time: 0x01cfb084ee490685
    Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\Profiler.exe
    Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\MSVCR80.dll
    Report Id: 311be94c-1c78-11e4-af71-463500000031
    Any advises?
    Thanks.

    Thanks Erland. Not sure what I am missing and need to apply. As said my environment was already applied SP2 and CU11. Please can you give me more information? A link to download or things like that would be much appreciated.
    SQL Server engine might be patched but profiler may not be. Check the file properties of PROFILER.EXE.
    The error which you are seeing an exception due to VC++
    Can you please run .net verification tool and make sure they are consistent?
    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • SQL Server Profiler (2008)

    How do I start up 'SQL Profiler'?
    Can it be used to get information from an application query using SQL Server 2008 such as table Name, column etc. In short can you display the SQL that was run to develop a screen from an external application. Apllication name is Xytech (2001)
    JR

    How do I start up 'SQL Profiler'?
    Can it be used to get information from an application query using SQL Server 2008 such as table Name, column etc. In short can you display the SQL that was run to develop a screen from an external application. Apllication name is Xytech (2001)
    JR
    You can use it to get information.Below links have step by step procedure
    http://www.techrepublic.com/article/step-by-step-an-introduction-to-sql-server-profiler/
    http://www.codeproject.com/Articles/21371/SQL-Server-Profiler-Step-by-Step
    >> In short can you display the SQL that was run to develop a screen from an external application. Apllication name is Xytech (2001)
    This is not possible.Display won be possible but you can get the query .
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Sh voice port summary output meaning

    Hello,
    Can anyone explain to me the output meaning for each voice port result, such as admin up or down, or oper dorm or up or status and what does xcc-voice and efxs mean?
    Thanks,
    sh voice port summary
                                                                                   IN       OUT
    PORT            CH   SIG-TYPE   ADMIN OPER STATUS   STATUS   EC
    =============== == ============ ===== ==== ======== ======== ==
    0/0/0:23        01  xcc-voice             up    dorm      none     none            y

    Channel 1 on the T1 is in admin state of up and not connected to a call or ringing.  "Show isdn status" is best to check if the T1 is up, and this command is good to check what channels are currently in use on the T1.

  • SQL Server Profiler does not capture cube processing queries against the relational database

    Hello, experts,
    This my first attempt to use SQL Server Profiler to find out why my cube processing is so slow. Here is what I did:
    My cube sources its data from a SQL Server database. While the cube processing is going, I launched the profiler connecting to the database engine (note: not the Analysis Services). I  choose the "Tuning" template and started the trace. However,
    I do not see any query activities (such as, SELECT DISTINCT ...) in the profiler trace window.
    Did I do something wrong, or do I have the wrong expectation?
    Thank you much in advance.

    Hi QQFA,
    Agree with Olaf.
    Please make sure that you choose the appropriate events to monitor the cube processing queries when using SQL Server Profiler.
    And I recommend you review the following links to get more information about tuning Analysis Services with SQL Profiler.
    Monitoring and Tuning Analysis Services with SQL Profiler:
    http://www.informit.com/articles/article.aspx?p=1745747
    Analysis Services Trace Events:
    http://msdn.microsoft.com/en-us/library/ms174867.aspx
    Thanks,
    Lydia Zhang

  • SQL*Loader-930: Error parsing insert statement for column

    we upload data on daily basis in application throug apps user and these table are invloved
    1. DEV_RA_INTERFACE_LINES_ALL(owner is a apps)
    2.RA_INTERFACE_LINES_ALL(owner is a AR)
    we do steps
    1 delete record from DEV_RA_INTERFACE_LINES_ALL table
    2 delete record from      RA_INTERFACE_LINES_ALL table
    3 load data using sql loader with apps user
    4 insert in RA_INTERFACE_LINES_ALL table
    we want to change user i mean these step do dataupload user not apps
    we give the proper rights to dataupload like select,delete and insert rights on these table to dataupload user but when i going to load data throug sql loader we receive error
    SQL*Loader-930: Error parsing insert statement for column APPS.DEV_RA_INTERFACE_
    LINES_ALL.ORIG_SYSTEM_BILL_ADDRESS_ID.
    ORA-00904: "F_ORIG_SYSTEM_BILL_ADDR_REF": invalid identifier
    and if i insert data through apps then done.

    make sure that u have no speces left
    between lines.
    give the path of control file path correctly.

  • Can I get a query to get the output data like 4th column instead of 3rd col

    Can I get a query to get the output data like 4th column instead of 3rd column ?
    SQL&gt; select emp.deptno, empno, rownum from emp, dept where emp.deptno=dept.deptno;
    DEPTNO EMPNO ROWNUM
    10 7782 *1* *1*
    10 7839 *2* *2*
    10 7934 *3* *3*
    20 7369 *4* *1*
    20 7876 *5* *2*
    20 7902 *6* *3*
    20 7788 *7* *4*
    20 7566 *8* *5*
    30 7499 *9* *1*
    30 7698 *10* *2*
    30 7654 *11* *3*
    30 7900 *12* *4*
    30 7844 *13* *5*
    30 7521 *14* *6*
    14 rows selected.

    SQL> select emp.deptno, emp.empno,
      2    row_number() over(order by emp.deptno, emp.empno) rn,
      3    row_number() over(partition by emp.deptno order by emp.empno) dept_rn
      4  from emp, dept
      5  where emp.deptno=dept.deptno
      6  order by emp.deptno, emp.empno;
        DEPTNO      EMPNO         RN    DEPT_RN
            10       7782          1          1
            10       7839          2          2
            10       7934          3          3
            20       7369          4          1
            20       7566          5          2
            20       7788          6          3
            20       7876          7          4
            20       7902          8          5
            30       7499          9          1
            30       7521         10          2
            30       7654         11          3
            30       7698         12          4
            30       7844         13          5
            30       7900         14          6
    14 rows selected.Regards,
    Dima

  • SQL Error: ORA-12899: value too large for column

    Hi,
    I'm trying to understand the above error. It occurs when we are migrating data from one oracle database to another:
    Error report:
    SQL Error: ORA-12899: value too large for column "USER_XYZ"."TAB_XYZ"."COL_XYZ" (actual: 10, maximum: 8)
    12899. 00000 - "value too large for column %s (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to insert or update a column with a value
    which is too wide for the width of the destination column.
    The name of the column is given, along with the actual width
    of the value, and the maximum allowed width of the column.
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.
    *Action:   Examine the SQL statement for correctness.  Check source
    and destination column data types.
    Either make the destination column wider, or use a subset
    of the source column (i.e. use substring).
    The source database runs - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    The target database runs - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    The source and target table are identical and the column definitions are exactly the same. The column we get the error on is of CHAR(8). To migrate the data we use either a dblink or oracle datapump, both result in the same error. The data in the column is a fixed length string of 8 characters.
    To resolve the error the column "COL_XYZ" gets widened by:
    alter table TAB_XYZ modify (COL_XYZ varchar2(10));
    -alter table TAB_XYZ succeeded.
    We now move the data from the source into the target table without problem and then run:
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));
    -Error report:
    SQL Error: ORA-01441: cannot decrease column length because some value is too big
    01441. 00000 - "cannot decrease column length because some value is too big"
    *Cause:   
    *Action:
    So we leave the column width at 10, but the curious thing is - once we have the data in the target table, we can then truncate the same table at source (ie. get rid of all the data) and move the data back in the original table (with COL_XYZ set at CHAR(8)) - without any issue.
    My guess the error has something to do with the storage on the target database, but I would like to understand why. If anybody has an idea or suggestion what to look for - much appreciated.
    Cheers.

    843217 wrote:
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.You are looking at character lengths vs byte lengths.
    The data in the column is a fixed length string of 8 characters.
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));varchar2(8 byte) or varchar2(8 char)?
    Use SQL Reference for datatype specification, length function, etc.
    For more info, reference {forum:id=50} forum on the topic. And of course, the Globalization support guide.

  • What is the meaning of this column in the pricing  procedure?

    Dear Gurus,
    What is the meaning of this column in the pricing procedure?
    thanks..

    subtotal field : Subtotal field is used to pass the value to some other field in PO .
    for ex: using value 9 you pass the value to field komp-brtwr. so that this can be used in  any other routine in the pricing procedure.
    requirement field: if there is a scenario that condition type should come in pricing on some condition like vendor country is india. in that case use create the requirment and attached this requirement.in this requirment you put logic and set the sy-subrc value 4 or 0.

  • Java.sql.BatchUpdateException: ORA-12899[ value too large for column.......

    Hi All,
    I am using SOA 11g(11.1.1.3). I am trying to insert data in to a table coming from a file. I have encountered the fallowing error.
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    *insert failed. Descriptor name: [UploadStgTbl.XXXXStgTbl].*
    Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "XXXX"."XXXX_STG_TBL"."XXXXXX_XXXXX_TYPE" (actual: 20, maximum: 15)
    *The invoked JCA adapter raised a resource exception.*
    *Please examine the above error message carefully to determine a resolution.*
    The data type of the column errored out is VARCHAR2(25). I found related issue in metalink, java.sql.BatchUpdateException (ORA-12899) Reported When DB Adapter Reads a Row From a Table it is Polling For Added Rows [ID 1113215.1].
    But the solution seems not applicable in my case...
    Can anyone encountered same issue?? Is this a bug? If it is a bug, do we have patch for this bug??
    Please help me out...
    Thank you all...
    Edited by: 806364 on Dec 18, 2010 12:01 PM

    It didn't work.
    After I changed length of that column of the source datastore (from 15 to 16), ODI created temporary tables (C$ with I$) with larger columns (16 instead of 15) but I got the same error message.
    I'm wondering why I have to extend length of source datastore in the source model if there are no values in the source table with a length greather than 15....
    Any other idea? Thanks !

Maybe you are looking for