Difference between Runtime Anlaysis & SQL Tracer

What is the difference between Runtime Analyasis * SQL Tracer, and what is special use of individual Tools

Runtime analysis and  SQL trace ar both used for an  Performance tunning  of an   ABAP programs (any) ...
because when you run huge reports  it will take some  time  ..... and   it will cause other  customer users those  whoare   making transcation to the  same tables .... so  for that      the proragms are tunned  ....by   using some   process  which was    standardly given by sap  ...
ST05  -> SQL Trace .
SE30  ->  RUNTIME ANALYSIS
in  runtime analysis  you   see the   time taken by the system  and the data   utilised ,  database tables  accesses and its time...etc .
in sql trace you can swithc  off/on the trace of any   running programs   so that you can se the specific  of any ABAP porgrams   ... which has taken time  for which table ... which SQL query....etc ...
so  basicaly  in the SQL trace it was    checking of the  sequesnce of the table  query  for  SELECT,
     UPDATE
    MODIFY
   INSERT
  DELETE
  REFRESH ....etc ....
Girish

Similar Messages

  • Any difference between this two sql

    are there any difference between this two sql
    -- table definition : create table test(col varchar2(20) not null)
    select * from test where col like '%%'
    --and
    select * from test
    any difference there? please give some detailed analysis. thx.

    Also take care when there are indexes.
    SQL> create unique index testtab_col on testtab( col );
    Index created.
    SQL> set autotrace on explain                                            
    SQL> select * from testtab;
    COL
    col1                         
    col2
    Execution Plan
    Plan hash value: 2692415588
    | Id  | Operation         | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |         |     3 |    21 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| TESTTAB |     3 |    21 |     3   (0)| 00:00:01 |
    Note
       - dynamic sampling used for this statement
    SQL> select * from testtab where col like '%%';
    COL
    col1
    col2
    Execution Plan
    Plan hash value: 2166828774
    | Id  | Operation        | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |             |     2 |    14 |     1   (0)| 00:00:01 |
    |*  1 |  INDEX FULL SCAN | TESTTAB_COL |     2 |    14 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("COL" LIKE '%%')
    Note
       - dynamic sampling used for this statement
    SQL>So no - bottom line is that these SQLs are different. They may look superficially the same and even under certain circumstances act the same. But they are not the same.

  • Difference between Oracle 8i SQL Standard and the 9i Lite version

    Hi,
    I was wondering if anybody could inform me of the differences that occur between the full Oracle 8i version and the current Oracle 9i Lite version in respect of the SQL they both use.
    Would the the way temporary tables are created and managed on the lite version be the same as that on the full version?
    Would the SQL syntax also be the same between the two?
    Any feedback on this would be great.
    Thanks
    Stephen

    > 1)Can anyone tell me difference between oracle8i
    sql engine and 9i sql engine.
    They are different versions.
    If you have been expecting a list of differences and enhancements and new product features... forget it. It will take several pages to list. Rather refer to the 9i product feature sheet.
    > 2)Does oracle 9i uses the index defaultly if any
    primary key is there in table
    Huh? Oracle will use an index if it determines that it costs less to use that index to get to the data, than not using an index.

  • Get the difference between two java.sql.Time values

    Hi, I'm developping a web application in which I need to to subtract one java.sql,Time value from another. The two values are stored in a database field of type DateTime. I used following code
    java.sql.Time start_time=resultset.getTime("startTime");
    java.sql.Time end_time=resultset.getTime("startTime");
    java.sql.Time diff=start_time-end_time;
    can u give me any comment on this code

    Remember what the Date/Time object in Java represents - a single point in time.
    Subtracting one from another gives you an amount of time elapsed between the two dates. Fine.
    Making a new Date out of that number is incorrect. The number no longer represents a point in time, but rather a duration.
    Its like saying "There is 10 seconds difference between the two times, so the time is now 1 Jan 1970, 00:00:10 GMT".
    The simple and stupid calculation is to take the milliseconds difference, and divide it to get to a more humanly readable value.
    // duration in milliseconds
    long duration = ?????
    long durationInSeconds = duration / 1000;
    long durationInMinutes = duration / (60 * 1000);
    long durationInHours = duration / (60 * 60 * 1000);
    // careful - not always true!
    long durationInDays = duration / (24 * 60 * 60 * 1000);
    NOTE: The "daysBetween" calculation is potentially complicated by Daylight Time adjustments. The simple approach does not necessarily work exactly.
    Cheers,
    evnafets

  • Difference between Runtime rep. and Designtime rep. ????

    Hi All,
          I want to know whats the difference between a Runtime repository and a Design time repository ????
    Also, navigation links would be a part of what, RT rep. or DT rep ????
    Regards,
    Ashish

    Hi Micha,
           Thanks for the reply !!!!
    Somehow I didnt understand what a runtime repository actually contains (key info. means what ?)
    Also, Runtime repository contains the foll. code:-
             <ViewSets>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets.xml" %>
            </ViewSets>
            <NavigationalLinks>
    <%@include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
            </NavigationalLinks>
    i.e. path to XML files that are actually contained in CRM_IC_DT_REP.
    So what does the Runtime repository contain in itself ?
    Regards,
    Ashish

  • Difference between- LOGGINGin to SQL SERVER AGENT as LOCAL-ACCOUNT and NETWORK-SERIVICE

    By defauld SQL-SERVER-AGENT is set to log in as local account... What is the difference between logging in to sql server agent as local account or as network service...??

    By defauld SQL-SERVER-AGENT is set to log in as local account... What is the difference between logging in to sql server agent as local account or as network service...??
    Hello ,
    Read and make out the difference
    http://stackoverflow.com/questions/510170/the-difference-between-the-local-system-account-and-the-networ
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms684272(v=vs.85).aspxk-service-acco
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms684190(v=vs.85).aspx
    As a best practice use Account with minimum privileges to run SQL Server agent
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Difference between Runtime and Desing time Mapping.

    Hi ,
    I have read somewhere regarding Mapping between Entity service and External Service ,In that "Both Design time mapping and Runtime mapping is same only difference in User interface".
    I have worked on both Design time mapping and Runtime mapping during my work i have found difference as design time mapping we can do in NWDS and Runtime mapping we can do in CAF Runtime Configure.
    Here my questions are :
    Is it only the difference or anything else?
    What is the advantage of Runtime mapping?
    Where I can find difference of Design time mapping and Runtime mapping?
    If possible explain with nice example
    Thanks and Regards,
    Suresh B

    Hi,
    Run Time Mapping: with this feature you  can do mapping at run time that is after deployment of your application on the server.That is you can do mapping with out changing your souce code.But with design time  mapping you have to change the source code before deployment of your application.
    Sampath

  • Difference between database features - SQL Server 2008 R2 navtive vs SQL Server 2012 with SQL Server 2008 compatibility set?

    I am investigating the impact of upgrading from SQL Server 2008 R2 to SQL Server 2012. To reduce the impact of the upgrade, I am planning to restore / create our application database onto SQL Server 2012 with compatibility level 100 (SQL Server 2008 and
    SQL Server 2008 R2).
    Are there any differences in feature support for database running in native mode on SQL Server 2008 R2 vs a database installed on SQL Server 2012 with compatibility level 100 set?

    Are there any differences in feature support for database running in native mode on SQL Server 2008 R2 vs a database installed on SQL Server 2012 with compatibility level 100 set?
    Yes there can be difference and impact there are few features deprecated in SQL Server 2012 you must be aware about that. Please see
    Deprecated Database Features in SQL Server 2012
    Deprecated SQL Server features in SQL Server 2012
    After you migrate database to 2012 please don't move ahead with production unless you have tested your application to new created database
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Execution time difference between Statspack and DBM_Monitor trace

    Hi Everyone,
    We noticed that output of query execution time is quite differ between statspack and session tracing (DBMS_MONITOR) report. The query execution time in Statspack was 1402 sec and in session trace file was 312.25 Sec. FYI database version is 11.2.0.3 which is installed on platform OL 5.8
    Both of the following reports (Staspack/tracing) was executed on same system and at the same time. Could you suggest why execution time is differ in staspack and session tracing?
    Staspack execution time :-
    Elapsed Elap per CPU Old
    Time (s) Executions Exec (s) %Total Time (s) Physical Reads Hash Value
    1402.50 1 1402.50 9.1 53.92 256,142 3247794574
    select * from ( select * from ( select resourcecontentslocati
    on,isprotocolname,ismimecontenttype,indexedmetatext,objectid,met
    atext,valueaddxml,resourcetype,resourceviewedtime,iscmaresultid,
    resourcelastviewedbyuser,issequencenumber,nvl(length(contents),0
    Session tracing time:-
    call count cpu elapsed disk query current rows
    Parse 1 10.58 256.44 43364 153091 0 0
    Execute 1 0.01 0.08 0 0 0 0
    Fetch 143 2.09 55.72 25440 32978 0 1000
    total 145 12.69 312.25 68804 186069 0 1000
    Thanks
    Rajdeep

    Hi,
    First of all, please read the [url https://wikis.oracle.com/display/Forums/Forums+FAQ]FAQ page and find out how to use the code tags to format your output properly so that it's readable.
    I don't want to work out the stats formatting but I'd guess that if you ran the query first time and the data was not cached, it would be slower than the 2nd query when it was cached. The stats should confirm this so please format them so we can see it properly.
    Rob

  • Sorting differences between Oracle and SQL Server

    Hello All,
    This question is related to both Oracle and SQL Server
    I have a requirement where I want to compare 2 tables line by line. One table is in Oracle and other table is in SQL Server
    And suppose that both of the tables don't have a primary key. Now when I sort the records using order by clause for a column then -
    Rows having null values in that column of Oracle are placed at the bottom.
    Where as Rows having null values in the same column of SQL Server are placed right at the top.
    How can I make either of them to behave like other.
    My sole aim is to have same order of occurrence of rows in both Oracle and SQL Server tables so that I can compare them line by line.

    For example :
    select * from emp order by comm;
    So all null value in comm column are at the end.
    Now if you wish to get them on the top of select output then :
    SELECT EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,NVL(COMM,0) COMM,DEPTNO FROM EMP ORDER BY COMM;
    Means i am using NVL (oracle function) function. If comm column is having null value it will converted to zero value at the time of exectuion of select query.
    So, now comm column is having zero value in select output and SQL Server is having nulls at the top. I do'nt know who to make nulls to zero in SQL Server. So issue solved.
    HTH
    Girish Sharma

  • Difference between Runtime version and Developer version of LabVIEW.

    What is Version  of LabVIEW called Runtime engine?
    Is it only for viewing VIs built in LabVIEW developer version?
    Can't we develope or edit VIs in RTE version of LabVIEW?

    vaibhavinegi wrote:
    What is Version  of LabVIEW called Runtime engine?
    There is a seperate Runtime version for every release of LabVIEW.  You can open up NI MAX and expand software to see what is installed in your computer.
    Is it only for viewing VIs built in LabVIEW developer version?
    Without the development environment, you cannot edit LabVIEW VIs.  The Runtime Engine is responsible for actually running the code so you can build LabVIEW programs into executables and run them on other machines without the development environment.
    Can't we develope or edit VIs in RTE version of LabVIEW?
    No

  • What are the difference between Oracle IMP, SQL*Loader and Data Pump

    It's hard to decide which should be used for a flat file import. any body give some suggestions or if there is any guidelines for choosing among these?
    Thanks

    <p>You might want to take a look at <b>this</b>. It should answer all of your questions.</p>
    Tom

  • Strange Difference between runtime and development mode.

    Hello everyone,
    I have created an add-on that adds three items to the menu which launch three different forms. When SBO is loaded and I run the code from the development environment (VB6) it works perfectly, i.e. click on one of the three new menu items and the appropriate form loads.
    When I compile and register it as an add on SBO loads it correctly and it customizes the menu. However, when I click on any of the three new menu items it now gives an error message:
    Run Time Error (91)
    Object variable or With Block variable not set.
    And then blows away the add on.
    I tried trapping the error in the "Menu_Event" and got nothing. The error occurred as before with no evidence that it had been caught by my trap.
    This same behavior occurs on both my development system and on the customer's production system! Both systems are 6.5 sp1 Ef 07.
    Has anyone else had this problem? Any help appreciated.
    Mel

    Hi Mel,
    I heard of a similar problem - just that the menu event did not get fired.
    Do you use event filters?
    Did you add the menu event to the filters collection?
    Set oFilter = oFilters.Add(et_MENU_CLICK)
    Though apparently this should have been mandatory, in case you use filters, from the beginning of 6.5, what I heard from another partner does not match to this information.
    HTH,
    Frank

  • Whats the difference between executing a package from SQL and Visual Studio?

    Hi,
    We have a package that is currently failing to run when deployed to SQL. This has been tried from a schedule and also executed manually both are failing.
    I have tried from Visual studio running on various machines (windows 8, server 2012) and in all cases run perfectly.
    I am trying to understand the differences between deploying to SQL and running from VS so maybe I can figure out why this is happening.
    I have the following errors when I run from SQL.
    DTS_E_PROCESSINPUTFAILED - all errors like this point to the 'Sort' tasks in the script
    dts_e_processinputerror not enough storage is available
    I have tested in four environments and all fail from SQL but not from VS!
    Last night I tried from my laptop and executed the package from SQL - it didn't fail but was still running in the morning so I terminated. Note this takes around 20 mins running from VS! why would it be so quick from VS but fail or take so long on SQL?
    The test running at the moment is on a server with dynamic memory currently at 14GB. I decreased SQLs RAM to 4GB and it hasn't failed yet but has been running for two hours. Before changing this the package failed after a short time.
    I thought it may have something to do with running from a virtual machine but doesn't explain why it couldn't run locally on my laptop.
    All ideas welcome :) Many thanks,
    Davina

    I will try to address issues one by one
    The error doesn't seems to be related to SSISDB configuration mode. It may be because of
    Change in package definition (please confirm that the package which you are running on your laptop is the same on your msdb? - reload your SQL package from MSDB in BIDS/SSDT and recreate your source and destination components)
    As your error message shows, "not enough memory available" (may be because of multicast)  - Usually you can override this error by restarting SQL Server [not an optimal solution but it work & if that work it shows that your package fills
    the memory - Keep an eye on task manager]
    Make sure that your statics on table are updated [run EXEC sp_updatestastics] 
    Make sure your indexes are not de-fragmented [run rebuild indexes]
    If you are dealing with many rows may be 40000 * 12 (because of multicast) = 4,800,000 rows the try to separate package. 
    Check your excel file format/column data type is correct
    Check user permission who is running the job has required permission on folder/file.
    Understand that sort is a blocking transformation and it requires all your data in memory before it sorts. so, if there are large number of rows then your complete memory will be occupied. 
    Difference between Visual Studio & BIDS/SSDT
    Nothing much, other than BIDS runs on 32 bit while jobs on 64 bit (but there run time environment are configurable, though) 
    There shouldn't be any performance difference until your
    package is on network location because transferring data to the network may slow the package. If package runs on SQL Server it uses SQL buffer pool to fetch data via SQL statement and then SSIS works on its own memory allotment. 
    Hope this will help you to understand and fix the issue.
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.

  • Diff between Log files and Trace files

    hi
    What is the exact differences between Log Files and Trace Files.
    And the relevant informative URL/reference materils would be highly appriciated.
    Thanks
    Sekhar

    Hi,
    Go through these,
    http://help.sap.com/saphelp_nw04/helpdata/en/d1/7b1e40777cdd5fe10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0bf8c890-0201-0010-8b8c-fc93fa1f4795
    Hope it clarifies
    Regards
    Srinivasan T

Maybe you are looking for