DBA Cockpit - Explain - intrepeting results

Hello,
I've been using DBA Cockpit to look at how queries are being planned - the database being queried is Sybase ASE.
I did some test queries on LIPS and VBAP e.g.
SELECT lips~vbeln lips~posnr
  FROM lips
  INNER JOIN vbap
    ON lips~vgbel = vbap~vbeln AND lips~vgpos = vbap~posnr
  INTO TABLE gt_vbeln
  WHERE vbap~vbeln = p_sa_doc.
Which I could see was using a index LIPS~Z01 we have set up on fields VGBEL, VGPOS. The above query did IndexScans and then did a MergeJoin.
I then tried a similar query, but which didn't fully use the index:
SELECT lips~vbeln lips~posnr
  FROM lips
  INNER JOIN vbap
    ON lips~vgbel = vbap~vbeln 
  INTO TABLE gt_vbeln
  WHERE vbap~vbeln = p_sa_doc.
This resulted in a StoreIndex on VBAP and a NestLoopJoin.
Does anyone know some good resources for learning about the different operations that appear in the flow diagrams in DBA Cockpit e.g. 'StoreIndex', 'NestLoopJoin'.
Is there any documentation or any books you could recommend? Thank you, Chris

I suggest the "Abstract Query Plan Guide" from the Performance and Tuning manuals,
Chapter 13: Abstract Query Plan Guide

Similar Messages

  • DBA Cockpit Sybase ASE - Access Plan not displayed

    Hello,
    We are running SAP ECC 740 on Sybase ASE 15.7, I'd previously used DBA Cockpit to view access plans for queries prior to our ECC upgrade. Since upgrading to 740 DBA Cockpit has had a facelift, and now I can't see an Access Plan when I try clicking "Show Plan" on the cached statements or when I try clicking EXPLAIN in ST05 - I just get a red cross (see attached image).
    Does anyone have any ideas about how to view the access plan? If I try a Runtime Explain I get a blue spinning half-a-loop and it just sits spinning and never displays anything.
    Thanks, Chris

    Hi,
    I am running java 8 update 4 i.e. java 1.8! so I would suggest as per stefan also upgrade yoru java version.
    Advanced settings on java control panel:
    Debugging                              - not selected
    Java console                         -hide console selected
    Default Java for browsers          -InternetExplorer
    Shortcut creation                    -Prompt user if hinted
    JNLP File/Mime Association     -Prompt user
    Application Installation               -install if hinted
    Secure Execution Environment    -all select but (Show site certificate from server even when listed)
    Mixed code sanbox vs trusted    -Enable (show warning if needed)
    Perform signed code certificate revocation checks on - All certificates in chain of trust
    Checked for signed code certificate revocation using - Both CRLs and OCSP
    Perform TLS certificate revocation checks on - all certificates in chain of trust
    Checked for TLS certificate revocation using - Both CRLs and OCSP
    Advanced security settings: all select but (Use SSL 2.0 compatible ClientHello format)
    Miscellaneous                               - nothing selected
    Kind Regards,
    Johan

  • DBA COCKPIT warning message during startup

    When I execute DBACOCKPIT the following message is displayed:
    Problem with UDF Installation: Other error
    Therefore some functions may not work properly.
    Check the UDF configuration for more details.
    You are able to "enter" the DBA Cockpit application. The only visable anomoly is:
    "File Systems" is greyed-out under DB02-->CONFIGURATION. Therefore I am unable to select this icon and see the "df -k" statistics.
    When I execute the TEST under DB02>CONFIGURATION>MONITORING SETTINGS the response is: Test of user defined functions has been finished without errors
    The UDF configuration is version 19
    The database is version: 09.01.0003
    The SAP Application is SAP NW2004 version 640 with Support Pack 19
    I have other systems with the same configuration and the problem does not exist - any ideas?

    Hi Timothy,
    I am not really sure, if the SAP Note 452275 - 'Problem with UDF installation' may help you, as it is quite old and have a new version
    However, you have there also a reference to SAP Note 334777 - DB6: Missing user-defined functions, which explains you how to verify that the UDF are correctly installed.
    Best regards, Edgardo

  • DBA cockpit - anyone like it?

    We just upgraded and found the new dba cockpit that replaces DB02.  Don't know what it's like for other databases, but for Oracle it's pretty ordinary.
    Somehow they've managed to put a lot of effort into replacing spartan yet functional transactions into something offering apparently the same result in a new and confusing interface.  Not quite sure what they hoped to achieve.
    In many ways it reminds me of solution manager - it has all the wrappings of an unfinished internal tool thrust upon the unsuspecting public.
    Thankfully db02old is useable, but they've nerfed it to a degree by doing silly things like removing the 'Data files/Temp files' button.  It's still available as a menu option, but why remove the button??
    It's a shame that they put so much effort into moving sideways...

    Evolution , generally whatever SAP does, is due to feedback given by its customers, so i am sure there are good things in the DBA Cockpit.
    Personally I like the idea of the Cockpit.
    Regards,
    Siddhesh

  • DBA Cockpit Options

    Hi All
    I want to know more about the DBA Cockpit options, We are using Netweaver 2004's with DB2 UDB on AIX. We are on SP14 - SAPKB70014 to be exact.
    I'm particularly interested in Automatic Reorg, Nickname Statistics and Reorgchk for all Tables options. How to use them and what they signify.
    Thanks in Advance
    Regards
    Kaleem

    Hi Kaleem,
    here is some info for these DB13 jobs
    REORGCHK for all Tables
    This job calculates the REORGCHK formula results for all tables of your SAP schema and stores these results into special SAP tables. For this, the stored procedures REORGCHK_TB_STATS and REORGCHK_IX_STATS are used. In addition, size and table status information is retrieved for each table via stored procedure ADMIN_GET_TAB_INFO and also written to these tables.
    You should schedule the job regularly once a week. If you do not, you won't be able to use the 'Space->Tables and Indexes' action in the DBA Cockpit. Further, the results of this job are the basis for historization of table and indexes  size growth.
    If you schedule the job, there is an option to check tables for compression. This should normally not be switched on as it is very time consuming. But you can schedule it from time to time, so that you can find candidates for compression by also using the 'Space->Tables and indexes' screen.
    AutoReorg
    This job can reorganize tables and/or indexes automatically based on the results gathered by the 'REORGCHK for all tables' job. If behaves very similar to DB2 AUTOREORG. Starting with version 9 of DB2, DB2 AUTOREORG should be used instead as it is more efficient when reorganizing indexes.
    Whenever you arae using some AUTOREORG feature, be aware, that you limit the size of the tables to be reorganized and the runtime. That's very important!
    Scheduling is optional, it depends on your application.
    Nickname Statistics
    This is a job, which simply updates nickname statistics for nicknames within your schema. It uses the DB2 procedure NNSTAT. Scheduling is optional, normally you do not need it in an SAP environment
    For further information on jobs see also SAP notes 434495 and 431430.
    Best regards
    Ralf

  • DBA COCKPIT error when scheduling a job

    hi experts
    Iam trying to schedule some jobs in DB13 when i try to add the action i get this error:
    DBA Cockpit Error
    Acces to system SID failed
    Function Unit DB6_PLAN_DD_BATCH
    Reason job error
    iam able to run these jobs externally directly from DBM.
    I have checked some notes 1072066,1057855,927642 and they are all refering to MS SQL Server as the database.Iam running ERP6 on Maxdb 7.6
    Any help appreciated

    hi
    > dbmcli inst_enum
    OK
    7.6.00.35    /sapdb/BT1/db
    dbmcli db_enum
    OK
    BT1     /sapdb/BT1/db                           7.6.00.35       fast    running
    BT1     /sapdb/BT1/db                           7.6.00.35       quick   offline
    BT1     /sapdb/BT1/db                           7.6.00.35       slow    offline
    BT1     /sapdb/BT1/db                           7.6.00.35       test    offline
    xinstinfo BT1-MAXDB
    IndepData           : /sapdb/data
    IndepPrograms       : /sapdb/programs
    Installationpath of serverdb <BT1-MAXDB> not found!
    ERR 20010  RTE      Could not open file /sapdb/data/config/BT1-MAXDB for read, rc = 2
    sdbregview -l
    DB Analyzer         /sapdb/programs    7.6.00.35     32 bit    valid
    Server Utilities    /sapdb/programs    7.6.00.35     32 bit    valid
    PCR 7300            /sapdb/programs    7.3.00.55               valid
    PCR 7301            /sapdb/programs    7.3.01.18               valid
    PCR 7500            /sapdb/programs    7.5.00.37     32 bit    valid
    SAP Utilities       /sapdb/programs    7.6.00.35     32 bit    valid
    Base                /sapdb/programs    7.6.00.35     32 bit    valid
    Redist Python       /sapdb/programs    7.6.00.35     32 bit    valid
    JDBC                /sapdb/programs    7.6.00.30               valid
    Messages            /sapdb/programs    MSG 0.3951              valid
    ODBC                /sapdb/programs    7.6.00.35     32 bit    valid
    Database Kernel     /sapdb/BT1/db      7.6.00.35     32 bit    valid
    Loader              /sapdb/programs    7.6.00.35     32 bit    valid
    SQLDBC              /sapdb/programs    7.6.00.35     32 bit    valid
    SQLDBC 76           /sapdb/programs    7.6.00.35     32 bit    valid
    Fastload API        /sapdb/programs    7.6.00.35     32 bit    valid
    PCR 7403            /sapdb/programs    7.4.03.44     32 bit    valid
    SAP Basis component  SAPKB70011
    db59 there are no errors log says all 4 tests  successfull.

  • Solution Manager EHP 1 SP22 - DBA Cockpit Configuration Wizard

    Hi,
    When trying to "Configure DBA Cockpit" in Managed System Configuration ,I got the below error .
    We are on Oracle 10.2.0.4.0 and Solution Manager SP22.
    Database history :Not supported for this DB platform
    Extractors activation :The DB performance warehouse is not available, thus the DB extractors were not activated
    Please let me know if i need to perform any more additional steps.
    Thanks in advance.....
    Srini

    "Database Performance Warehouse was not set up"
    "Not supported for this DB platform"
    For Oracle databases there is no support for Database Performance Warehouse in EHP1. With EHP2 the Oracle platform will be supported as well with some reports in the Solution Manager UI.
    Basically the database performance warehouse is a project to collect and extract performance data to the SAP Solution Manager BI system. Once the data was loaded in to this BI you can use DBA Cockpit for detailed analysis. In EHP2 of SAP Solution Manager you will be able to also use the SAP Solution Manager UIs to analyze the database performance and workload.
    If you are more interested in this feature you are very welcome to have a look at some articles available in SDN:
    https://www.sdn.sap.com/irj/sdn/db6
    For now you have full support for DB2 for LUW and MS SQL Server platforms and a more limited set of reports for SAP MaxDB and DB2/z.
    I hope this clarifies your question.

  • Explain Plan results analysis

    I have EXPLAIN PLAN results for some SELECT queries. What is the difference between INDEX UNIQUE SCAN and INDEX RANGE SCAN?

    btw it depend not only of your compare operation
    but also on index type. See difference for equality between simple index and unique index:
    SQL> desc a
    Name                                      Null?    Type
    A                                                  NUMBER
    SQL> create index aidx on a (a);
    Index created.
    SQL> set autot traceonly explain
    SQL> select * from a where a = 1;
    Execution Plan
    Plan hash value: 3649445643
    | Id  | Operation        | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |      |     1 |    13 |     1   (0)| 00:00:01 |
    |*  1 |  INDEX RANGE SCAN| AIDX |     1 |    13 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - access("A"=1)
    SQL> drop index aidx;
    Index dropped.
    SQL> create unique index aidx on a (a);
    Index created.
    SQL> select * from a where a = 1;
    Execution Plan
    Plan hash value: 2717653437
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |     1 |    13 |     0   (0)| 00:00:01 |
    |*  1 |  INDEX UNIQUE SCAN| AIDX |     1 |    13 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - access("A"=1)
    SQL> Of course even with unique index >, <, between will have range scan:
    SQL> select * from a where a>1;
    Execution Plan
    Plan hash value: 3649445643
    | Id  | Operation        | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |      |     1 |    13 |     0   (0)| 00:00:01 |
    |*  1 |  INDEX RANGE SCAN| AIDX |     1 |    13 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - access("A">1)
    SQL> In general index range scan might expect back more than 1 row, while index unique scan usually expect 1 row, however of course in both cases you might get zero rows back.
    See my blog entry Where bad performance starts at http://gplivna.blogspot.com/2007/03/where-bad-performance-starts-my.html
    it has many links aboput b-tree index internals, I'm quite sure some of them explained these operations more as well.
    Gints Plivna
    http://www.gplivna.eu

  • DBA Cockpit shows incorrect space information

    Hi all,
    We have an NW04s with SP12 on Solaris 10 and Oracle 10g.  The new DBACOCKPIT is introduced with the SP which supposedly replace many of the database administratrive transasactions (db02, st04, db13, etc.).
    The problem we have is the space information is not showig.  Using tcode db02 (becomes db02old in SP12) the information is still there.
    The following steps that supposedly rectify the issue has been followed:
    1. SAPNOTE 1027146 - Monitoring remote system prerequisites
       a. Imported the latest kernel patch.
       b. Migrate the system configuration of the old central planning calendar
    2. SAPNOTE 1028624 - DBA Cockpit for Oracle
       a. SAPNOTE 706927 - Installation Script for DBA Cockpit
       b. BR*Tools 700 patch level 24
       c. SAPNOTE 1028068 - Oracle Active Workload Repository
       d. APPLIED SAPNOTE 1042725
       e. APPLIED SAPNOTE 1046668
       f. IMPORT TRANSPORT From SAPNOTE 1052909
    Any input or suggestions will be highly appreciated.
    Sincerely,
    Handi Cokrojoyo

       Re-index Macintosh HD.
       Spotlight reindexing will take a while to finish.
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409

  • How to configure dba cockpit in sap solution manager

    Hello colleagues,
    how to configure dba cockpit in sap solution manager??
    Thanks!

    Hi Victor,
    Please go through this doc, it might helps you.
    Sap Solution Manager - Dbacockpit
    Sap Solman Instguide Dba Cockpit Setup
    Regards
    Amit

  • DBA COCKPIT IS NOT CONNECTED IN MANAGED SYTEM

    hi
    unable to connected the manged system dba cockpit from the solman7.1 sp10. i have attached the screen shot. please can any one guide me how to
      solve the issue. it was given error db connection not established.
    regards
    vreddy

    Hi Experts,
    I am not able to turn the step 5 to green Dbacockpit connection.
    Error message:
    The DBACockpit connection can not be established
    The DB extractors for collecting DB Performance data will not be activated.
    Error during SQL script execution. Start DBACOCKPIT and re-run manually.
    When i run the script manually from DBACOCKPIT. it throws the error attached in
    Your help to resolve the below issue highly appreciated.
    Regards
    Ravi Pandey

  • DBA COCKpit problem

    Hi All,
    when i am accessing dbacockpit ,in the left pan space tab  ,if i click on the spaceoverview i could able to see nothing on the right pan side .It shows only all 0 data (table spaces ,users and segments).How do i see the data on the left pan space overview tab.I ran RSORAHST report but could not able to succeed.Anybody can help me to get the data on the space overview data.
    thanks & regards
    ajay

    Hi Ajay,
    Check Note 1028624 - Overview of DBA Cockpit for Oracle, there's a attachment in this note with docu, also read the referred notes, This should guide you in setting it up.
    In addition you can still run the old "DB02" which has moved to Tcode "DB02_OLD".
    Regards, Patrick Rieken.

  • DBA Cockpit Error

    hi experts
    Iam trying to schedule some  jobs in DB13  when i try to add the action i get this error:
    DBA Cockpit Error
    Acces to system   SID failed
    Function Unit         DB6_PLAN_DD_BATCH
    Reason                  job error
    iam able to run these jobs externally  directly from DBM.
    I have checked some  notes 1072066,1057855,927642 and they are all refering to MS SQL Server as the database.Iam running ERP6 on Maxdb 7.6
    Any help appreciated

    hi experts
    Iam trying to schedule some  jobs in DB13  when i try to add the action i get this error:
    DBA Cockpit Error
    Acces to system   SID failed
    Function Unit         DB6_PLAN_DD_BATCH
    Reason                  job error
    iam able to run these jobs externally  directly from DBM.
    I have checked some  notes 1072066,1057855,927642 and they are all refering to MS SQL Server as the database.Iam running ERP6 on Maxdb 7.6
    Any help appreciated

  • Type of command is not allowed to be executed: DBA Cockpit

    Hi there,
    I found this error everytime i execute command at DBA Cockpit: SQL Command line
    Type of command is not allowed to be executed.
    FYA, i logged on as user that has SAP_NEW & SAP_ALL profiles. And no issue when i run the command on isql (console version) as syb[SID].
    Appreciate for your reply.

    Hi Deepak,
    1) Check with use <SID> go
         Tried, Same output.
    2) Please also check whether all the latest dba_cockpit corrections have been implemented.
        I hv applied sap notes 1245200 1088717.
    Tried use <SID> go , Same output.
    Applied sap notes :
    Note 1245200 - DBA: ICF Service-Activation for WebDynpro DBA Cockpit
    Note 1088717 - Active services for Web Dynpro ABAP in transaction SICF
    I have 2 systems; Installed with ASE 15.7 SP65 & ASE 15.7 SP101. both having same issue.

  • DBA Cockpit vs Solution Management

    In the 11th Jul 2007 SAP Developer Network Newsletter, there was an article about Monitoring System Landscapes with DBA cockpit. My qts is what's the difference with using Solution Manager? Don't we get the same info in different format?

    DBA Cockpit is ALSO part of Solman, the cockpit is just a transaction.
    With SolMan you will get more (well, that's what the powerpoints prove, see yourself).
    Markus

Maybe you are looking for

  • Unable to make in-app purchase

    Hi. I have an iPhone 4, and I've never made an in-app purchase before, but I tried to make one recently and it wouldn't work. All I seem to get from the app whenever I try is an error message that says 'ERROR The transaction failed'. I contacted supp

  • IChat AV "Do not response" problem

    Hi, I've been having problems with iChat AV since getting my new iMac Intel based. Everything was working fine on my old iMac G5. Let me explain the problem: when initiating a video conference, I get a response back that I've refused the connection.

  • Arithmetic Overflow error converting float to data type numeric

    Hi, Am facing strange issue,I have function which returns money datatype and assigning the return money value to float datatype in table. Error msg: Msg 8115, Level 16, State 6, Procedure GBCalcCatalogPriceNewV2, Line 204 Arithmetic overflow error co

  • InstallApplication MDM command is not working

    My MDM profile has FULL ACCESS rights (8191) I don;t get any error in IPCU console but "InstallApplication" won;t work. IPCU console says....  Aug 23 15:58:07 Satish-iPad mdmd[281] <Notice>: (Note ) MDM: Transaction completed. Status: 200 Aug 23 15:5

  • FCP crashes when Video Filters folder is double clicked

    I edit in FCP 5.0.4 with 2 monitors and like to keep the Video Filters folder open as a separate window along with the Effects folder. However, my custom window layout with this setting has disappeared and when I try to open Video Filters, FCP crashe