Performance problems due to sequential read on tables WBCROSSGT and CROSS

Hello all,
got the SAPNW2004s Sneak Preview ABAP installed. Performance is quite ok. But with certain dictionary operations like creating new attributes for a class I experience exceptional long runtimes and timeout dumps. In SM50 I see a sequential read on table WBCROSSGT. In OSS I can't find anything applicable yet for this release  (SAP_BASIS 700, support level 5).
Any suggestions appreciated.
Simon

Hello,
i had exactly the same problem after upgrading from MS SQL 2005 to MS SQl 2008 R2.
Our DEV system was almost completely exhausted and normal operation wasn't possible anymore.
SAP Note 1479008 solved the issue, even it is only "released" for MaxDB.
Cheers, Christoph

Similar Messages

  • Sequential Read on table BUT0ID while opening BSP application.

    Hi,
    We have a problem opening Business Partner Application(comm_bupar) with only one User Id.Other application gets opened.Even if we try to copy this user to another user, the new user works properly.The User Id accesses the report SAPLCOM_BUPA_BSP_SEARCH and sequentially reads on table BUT0ID.
    The application keeps on loading and gets timed out.This is the problem with only one user id with roles and authorisation same as others.
    Regards,
    Adity

    Its quite strange if you have same roles and authorisation.
    I will suggest check once again and also could you please check the trace.
    Thanks
    Sarbjeet Singh

  • Sequential Read on table BSAD

    Hello All
    Our custom program job when observed thru SM51 is spending over 4 hours at a single point showing SEQUENTIAL READ on table BSAD. DB2 provided us with the queries that were executed during runtime trying to fetch data from table BSAD
    SELECT * FROM BSAD
    WHERE XBLNR EQ <value>
    AND BUKRS EQ <value>
    AND KUNNR IN L_KUNNR [] (which has around 400 KUNNR values)
    SELECT bukrs belnr xblnr blart zuonr kidno
    FROM bsad
    UP TO 1 ROWS
    INTO CORRESPONDING FIELDS OF <name>
    WHERE kunnr IN L_kunnr[] ((which has more than 400 KUNNR values)
    AND ( zuonr EQ <value> OR kidno EQ <value> ).
    We have indexes for both combinations specified above - still during the execution of the program the above query is being observed to clock for over 5 hours. This program had not been giving issues all along - and we are seeing issues lately. DB2 team mentions that IN statement is expensive. When DB2 observes during run-time - they see a lot of values been used in L_KUNNR[] range. The table re-org or index re-build has not been done for a while too. We are trying to interpret the possibilities
    Edited by: Vasantharaman Viswanathan on Jan 29, 2011 5:49 PM

    THanks for your inputs John
    Whenever we tried putting a trace- we do it during the execution of the statement - and only for a few times we have been able to capture trace - sometimes Basis team says that they did not capture any. In the traces that we have i was able to see at the statement being executed for 10 mins or so - which may not make sense if the program is stuck for hours.
    Also in the trace - i believe you are asking if we are able to deduce if it would use index based on the values provided?\or is there a field / param in the trace that provides this info? Please clarify
    Also when i tried having around 400 values in the IN statement and tried executing the query in non-prod - it took atleast 600 secs (since thats the max time i could keep it active as Dialog process in non-prod). Also do you think the above SELECT statement warrants a change?

  • How to read internal table data and use to retrive from other table.

    Hi all,
        I am trying to generate a report using ooabap.
    In this scenario, I retrieved data from one standard table (zcust) and successfully displayed using structure 'i_zcust_final' ( i_zcust_final is similar structure of zcust).  
        Now I want to get some other data from other standard table  (zpurch) using the data in i_zcust_final. How....???? I am unable to read data from i_zcust_final even i kept in loop.
        I am attaching the code here.. even it too long, please look at the code and suggest me what to do.
    code  **************************
    REPORT  ZBAT_OOPS_REPORT1.
    TABLES: ZCUST.
        D E F I N I T I O N     *****
    CLASS BATLANKI_CLS DEFINITION.
      PUBLIC SECTION.
      DATA : ITAB_ZCUST TYPE STANDARD TABLE OF ZCUST,
             I_ZCUST_FINAL LIKE LINE OF ITAB_ZCUST,
             ITAB_ZCUST1 TYPE STANDARD TABLE OF ZCUST.
      TYPES: BEGIN OF IT_ZPURCH,
              CUSTNUM   TYPE ZPURCH-CUSTNUM,
              PURC_DOC  TYPE ZPURCH-PURC_DOC,
              VENDOR    TYPE ZPURCH-VENDOR,
              STATUS    TYPE ZPURCH-STATUS,
              PURC_ORG  TYPE ZPURCH-PURC_ORG,
            END OF IT_ZPURCH.
      DATA : ITAB_ZPURCH TYPE TABLE OF IT_ZPURCH,
             I_ZPURCH_FINAL LIKE LINE OF ITAB_ZPURCH.
      METHODS: GET_ZCUST,
               PRINT_ZCUST,
               GET_ZPURCH.
    ENDCLASS.
    I N I T I A L I Z T I O N   *****
        SELECT-OPTIONS:S_CUSNUM FOR ZCUST-CUSTNUM.
    INITIALIZATION.
    S_CUSNUM-LOW = '0100'.
    S_CUSNUM-HIGH = '9999'.
    S_CUSNUM-OPTION = 'BT'.
    S_CUSNUM-SIGN   = 'I'.
    APPEND S_CUSNUM.
    CLEAR S_CUSNUM.
    I M P L E M E N T A T I O N *****
    CLASS BATLANKI_CLS IMPLEMENTATION.
      METHOD GET_ZCUST.
      SELECT * FROM ZCUST
        INTO TABLE ITAB_ZCUST
       WHERE CUSTNUM IN S_CUSNUM.
    ENDMETHOD.
      METHOD PRINT_ZCUST.
       LOOP AT ITAB_ZCUST INTO I_ZCUST_FINAL.
       WRITE:/ I_ZCUST_FINAL-CUSTNUM,
               I_ZCUST_FINAL-CUSTNAME,
               I_ZCUST_FINAL-CITY,
               I_ZCUST_FINAL-EMAIL.
       ENDLOOP.
      ENDMETHOD.
       METHOD GET_ZPURCH.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
      SELECT CUSTNUM
             PURC_DOC
             VENDOR
             STATUS
             PURC_ORG
        FROM ZPURCH
        INTO CORRESPONDING FIELDS OF TABLE ITAB_ZPURCH
        WHERE CUSTNUM EQ I_ZCUST_FINAL-CUSTNUM.
    ENDLOOP.
         LOOP AT ITAB_ZPURCH INTO I_ZPURCH_FINAL.
         WRITE:/ I_ZPURCH_FINAL-CUSTNUM,
                 I_ZPURCH_FINAL-PURC_DOC,
                 I_ZPURCH_FINAL-VENDOR,
                 I_ZPURCH_FINAL-STATUS,
                 I_ZPURCH_FINAL-PURC_ORG.
         ENDLOOP.
    ENDMETHOD.
    ENDCLASS.
      O B J E C T   *****
    DATA: BATLANKI_OBJ TYPE REF TO BATLANKI_CLS.
    START-OF-SELECTION.
    CREATE OBJECT BATLANKI_OBJ.
    CALL METHOD:
                 BATLANKI_OBJ->GET_ZCUST,
                 BATLANKI_OBJ->PRINT_ZCUST,
                 BATLANKI_OBJ->GET_ZPURCH.
    Can anyone suggest me..
      Thanks in advance,
      Surender.

    Hi Surendar..
    There is mistake in the Work area specification in this method.
    METHOD GET_ZPURCH.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
    SELECT CUSTNUM
    PURC_DOC
    VENDOR
    STATUS
    PURC_ORG
    FROM ZPURCH
    INTO CORRESPONDING FIELDS OF TABLE ITAB_ZPURCH
    <b>WHERE CUSTNUM EQ      ITAB_ZCUST1-CUSTNUM.</b>           
                                   "Instead of  I_ZCUST_FINAL-CUSTNUM.
    ENDLOOP.
    LOOP AT ITAB_ZPURCH INTO I_ZPURCH_FINAL.
    WRITE:/ I_ZPURCH_FINAL-CUSTNUM,
    I_ZPURCH_FINAL-PURC_DOC,
    I_ZPURCH_FINAL-VENDOR,
    I_ZPURCH_FINAL-STATUS,
    I_ZPURCH_FINAL-PURC_ORG.
    ENDLOOP.
    ENDMETHOD.
    Now it should work..
    One more thing : From performance point of view you have to Replace that loop using FOR ALL ENTRIES . And avoid CORRESPONDING FIELDS. it will be slow.
    This is the code.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
    if ITAB_ZCUST[] IS NOT INITIAL.
    SELECT CUSTNUM
    PURC_DOC
    VENDOR
    STATUS
    PURC_ORG
    FROM ZPURCH
    INTO TABLE ITAB_ZPURCH
    <b>for all entries in ITAB_ZCUST1</b>
    <b>WHERE CUSTNUM EQ      ITAB_ZCUST1-CUSTNUM.</b>           
                                   "Instead of  I_ZCUST_FINAL-CUSTNUM.
    ENDIF.
    ENDLOOP.
    <b>Reward if Helpful.</b>

  • More performance problems with Acrobat 11.0.9 on Mac and Windows

    Hello,
    So few weeks ago we had the experience of being upgraded to the new user interfaces in 11.0.9. Thanks to people on this forum we could disable the new Sign panel and UI customization allowed the addition of the signature tools we needed directly in the toolbar, so we're good here.
    Our other concern is the battery and processor time wasted by Acrobat. We have logged bugs for years and some of them have not been address while Adobe takes the time to add useless functionalities that drains our laptops batteries and suck our processor power.
    There is an extra process 'acroext' under the adobe executable that is unresponsive, and the only solution is to kill Acrobat. The same happens with Reader as well.
    Can we get rid of that? This is getting really PAINFUL!!!
    Thank you
    Jean

    Hi,
    I'm sorry if you experience performance issues and understand it can be frustrating.
    Can you help us help you:
    - What system are you running?
    - What does performance problems mean? Is Acrobat still responsive? How responsive is the user interface? Navigating through pages, etc? 
    We'll do our best to ensure the situation can be solved and you can enjoy using Acrobat on your computer.
    Thank you,
    Luc

  • Performance problem due to anonymous blocks

    Hi,
    One of the users on our database has created a procedure consisting of many blocks like the one given below:
    begin
    select func1(var1,var2,var3)into vcompvalue from dual;
    if vcompvalue < 0 then
    vcompvalue := 0;
    end if;
         exception when no_data_found then
         vcompvalue := 0;      
    end;
    The procedure takes a long time to execute.Instead of writing a block, will writing SQL%NOTFOUND instead of the exception and merging the blocks with rest of the code improve performance?
    Thanks for the help!
    Vinayak Thatte

    I would guess it might; you'd be cutting down the number of PL/SQL clauses that have to be parsed, etc, so if you have enough anonymous blocks you may see a difference.
    On a more specific note can I just ask why you're checking for NO_DATA_FOUND? If DUAL ever throws this exception you've got serious problems with your database. If it's being thrown by your FUNC1 you might be better off (from a performance point of view) handling that exception within the function.
    rgds, APC

  • Performance problem due to garbage collection?

    Hallo,
    we implemented a digital whiteboard with JavaFX: there is a scene (3200 x 2400 px) on which you can draw (insert paths) and add post-its (colored rectangles with paths or string a content). It's possible to drag the post-its around and it's also possible to pan the scene (to reach all parts of the scene which don't fit into the windows).
    The application works quite fast even with ca. 50 post-its and lots of skribbles/drawings. But after ca. 20 minutes the application gets a lot slower. Drawing curves (or handwriting) is not really possible anymore as the paths get angular and moving a post-it takes longer and longer.
    How is this possible? Is there a problem with the JavaFX garbage collection? Does anyone else have the problem that the application gets slower after a while?
    When I close the window and load it again with the same elements it's as quick as in the beginning and slows down after ca. 20 min. again.
    Thanks for your help and suggestions what could be the problem!
    Raja

    I can't really answer...
    We can eliminate saturation of scenegraph capabilities since you can reload it again without problem (at start).
    Maybe you create lot of temp objects that aren't properly collected?
    I suggest to run JVisualVM on your application and watch its memory (and CPU) usage.

  • Performance problems, do we need to upgrade. Server and Database level

    Problem:
    I'm a Java programmer and a Transact SQL DBA. So i have knowledge about databases. Nowwe have a database who performs very bad and got much deadlock problems and so on. It's an Oracle Database.
    We have Oracle version 9 and an application in Delphi. The bad performance is only since a while. We have cleaned the archive.
    My suggestion is why not migrate to a newer version of Oracle. Change some hardware specs get up to date.Then i think we will have less problems.
    But ofcourse this is more trail on error. That why i hope there is an Oracle specialist here who can help me with a few questions.
    Users and Specs
    I got 150 till 180 users
    i got a server with 1 processor XEON 233 GHZ
    4 gig memory, constant use 1,5 gig
    Questions
    1. Is it a good idea to upgrade? Maybe not to solve al the problems, but version 9 is old, there is version 10 or 11.
    2. Which version we should use 10 or 11? 11 is in use for a while so this sounds like a good idea.
    3. Are the specs OK or must i do something about the server to?
    Maybe dual core, or Enterprise (64 bit). Memory upgrade?
    4. Maybe for 64 bit i need Oracle version 11 to have good support on it?
    I hope somebody can help me a bit.
    Thanks,
    Kind regards,
    André

    Hi Andre,
    . Is it a good idea to upgrade? Maybe not to solve al the problems, but version 9 is old, there is version 10 or 11.
    2. Which version we should use 10 or 11? 11 is in use for a while so this sounds like a good idea.I suggest you to upgrade to latest available 11.2.0.2.
    But do complete testing your upgraded database before you move to PRODUCTION.
    . Are the specs OK or must i do something about the server to?It all depends on the usage and concurrent users :)
    4. Maybe for 64 bit i need Oracle version 11 to have good support on it?Regardless of bit version all Oracle Versions has good support.
    Refer MOS tech notes:
    *How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database [ID 286775.1]*
    *Minimizing Downtime During Production Upgrade [ID 478308.1]*
    *Different Upgrade Methods For Upgrading Your Database [ID  419550.1]*
    thanks,
    X A H E E R

  • Problem in installing adobe reader le 2.5 and quic...

    i recently purchased a nokia c5-03 but it doesn't have pre installed quick office(try and buy) and when i downloaded it from quick office site and opened the app,it shows install base package first.what is this base package and how can i install it and the same problem is encountered on installing adobe reader le 2.5.please solve it.

    i was tryed purchasing but billing not conferm,disply comes -your experiencing problem.

  • PROBLEM to give condition in ADF table column and on pressing enter

    Hi,
    1st problem:
    ========
    I have 1 ADF input text ,
    <af:inputText id="testinp"
    contentStyle="width:200px"
    value="#{adfobj.input1}"
    />
    say user is trying to enter any value , immediately if user presses "ENTER KEY" inside input text only i should invoke managed bean method
    say,
    Test.java
    ======
    public void getData(){
    2) im trying to display an ADF table,
    ADFStandardsLeftMenu=in faces config this name points to "ADFStandardsLeftMenu.java" bean
    mostCommonAgencySelectedList=of type arraylist which is present inside this bean
    this list obj holds 1 "StandardURLData.java" bean object
    accreditedagencyStdSelectedList.add(new StandardURLData("test col"));
    public class StandardURLData{
    private String stdName;
    public StandardURLData(String stdName){
    this.stdName=stdName;
    <af:table value="#{ADFStandardsLeftMenu.mostCommonAgencySelectedList}"
    id="t1" width="100%" var="stdURL"
    emptyText="<html><b><font color='red'><center>No Records Found</center></font></center></b></html>"
    inlineStyle="height:500px;">
    <af:column sortable="false" headerText="STANDARD NAME" align="start" id="c1" width="220px"
    inlineStyle="font-weight:bold;">
    <af:goLink text="#{stdURL.stdName}"
    id="sub_pt_gl1"
    destination="#{stdURL.viewerLink}"/>
    </af:column>
    <af:column sortable="false" headerText="FILE NAME" align="start" id="c3" width="220px">
    <af:goLink text="#{stdURL.fileName}"
    id="sub_pt_gl3"
    destination="#{stdURL.viewerLink}"/>
    <af:outputText value="#{stdURL.fileName}"/>
    </af:column>
    </af:table>
    im able to print all the values......
    but i want to include 1 condition in go link,
    like ,
    if "fileName" value (2nd column data) is null or "" (string in StandardURLData bean)
    i should not give hyperlink in 1st column "stdName" column
    i.e.
    (text: stdname should not come in hyperlink)
    <af:goLink text="#{stdURL.stdName}"
    id="sub_pt_gl1"
    destination="#{stdURL.viewerLink}"/>
    could anyone tell me how to give these conditions in adf table.
    in managed bean even if we check it will be prob while generating cols in table
    thanks in adv
    regards,
    sandeep

    Hi,
    If u know the employees who can change the values in other boxes, then follow the below procedure,
    In PBO,
    if employees can change,  (EMP = '....')
    loop at screen.
    if screen-name = 'Name for the input field'.
    screen-input = 1 .
    modify screen.
    endloop.
    else.
    loop at screen.
    if screen-name = 'Name for the input field'.
    screen-input = 0 .
    modify screen.
    endloop.
    endif .
    If u r not still clear, Mention ur problem with example
    Regards,
    Prem Karthick

  • Sequential read of DD03L table is taking forever during SP install

    Hello SDN
    I'm applying some SP to my vanilla ECC install with Max DB.
    Whenever I apply another set of SP or even SPAM update it inevitable hits a sequential read of table DD03L. And it takes forever to go throught it. It is a 1.5 Gb table.
    I updated statistics for the DB in DB50 and applied notes 791984, 1015068 and 1022755 as described in note 822379.
    I am running the latest kernel, dw set, tp and r3trans files
    I still need to apply the whole Stack 7 and 8 for the whole ECC 6.0 and I'm afraid the table will keep growing.
    Has anyone ran into the same issue?
    Any suggestions how to make this process faster?
    Thanks
    MR

    Hey,
    The table DD03L is quite large,
    however the upgrade should not take forever.
    I think you should create a DB trace,
    and find the problematic SQL statements,
    When you have those long running statements,
    you might be able to improve their performance (for example, create an index).

  • How can I make SP install faster? 1.5 GB table sequential read DD03L

    Hello SDN
    I'm applying some SP to my vanilla ECC install with Max DB.
    Whenever I apply another set of SP it inevitable hits a sequential read of table DD03L. And it takes forever to go throught it.
    I update statistics for the DB in DB50 and applied notes 791984, 1015068 and 1022755 as described in note 822379.
    I am running the latest kernel, dw set, tp and r3trans files
    Any suggestions?
    Thanks
    MR

    Hi MR,
    there might be too much going on to post here. As you are an SAP customer, please open a message in the MAXDB component, and open the R/3 service connection.
    Thanks,
    Ashwath

  • Archive Delete job taking too much time - STXH Sequential Read

    Hello,
    We have been running Archive sessions in our production system in last couple of months. We use SARA and selecting the appropriate variants for WRITE, DELETE and STORAGE options.
    Currently we use the Archive object FI_DOCUMNT and the write job is finished as per the normal time (5 hrs based on the selection criteria). After that normally the delete job is used to complete in 1hr or less than 2hrs always (in last 3 months).
    But in last few days the delete job is taking too much to complete (around 8 - 10hrs) when I monitor the system found that the Sequential Read for table STXH is taking too much time to read and it seems this is the cause.
    Could you please provide a solution for the same, so that the job will run faster as earlier.
    Thanks for your time
    Shyl

    Hi Juan,
    After the statistics run the performance is quite good. Now the job getting finished as expected.
    Thanks. Problem solved
    Shyl

  • Performance Problem After upgrade to oracle 10g

    Hi
    I have upgrade one of my datawarehouse database from oracle 9.2.0.8 to oracle 10.2.0.4 running on solaris 9
    After the upgrade jobs which were running in the database is taking hell lot of time.
    The jobs are accessing the views which is used to get the monthly report data from the database.
    what could be the solution and where to start from to get the RCA to resolve this performance issue
    Please let me know if you require any other information
    database is currently running in the automatic shared memory management mode ie SGA_MAX and SGA_TARGET parameters are defined for that

    There are a lot of differences between 10g and 9i in this regard, among these are:
    - There is a default job that gathers statistics every night which is not there in 9i. You might have totally different statistics as in 9i due to that job, depending on how and if at all you used to collect statistics in 9i
    - The 10g DBMS_STATS package collects histograms on some columns by default (parameter METHOD_OPT=>'FOR ALL COLUMNS SIZE AUTO' default in 10g whereas 'FOR ALL COLUMNS SIZE 1' in 9i) which can have a significant effect on the execution plans
    - The 10g optimizer has CPU costing enabled by default which can make significant changes to your execution plans due to different costing of table scans and order of predicate evaluation. In addition it uses NOWORKLOAD system statistics if system statistics have not been gathered explicitly
    - 10g checks the min and max values stored for columns in the data dictionary. If your predicates are way off compared to these values then 10g begins to adjust the calculated selectivity of the predicate which can again significantly affect your execution plans
    - 10g introduces the "Cost Based Query Transformation (CBQT)" feature which means that rather than applying heuristic transformation rules transformations are costed and potentially discarded whereas 9i applies transformations unconditionally whenever possible
    Check also the following note resp. white paper:
    http://optimizermagic.blogspot.com/2008/02/upgrading-from-oracle-database-9i-to.html
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Abap TIME_OUT sequencial read of table D010INC

    Dear all,
    I installed SAP ECC 6.0 SR3 in Linux SLES10 with Oracle 10.2.0.2.0.
    Most of the SAP transactions hangs.
    If I check transaction SM50 I find that SAP is making a sequential read of table D010INC.
    The programs dumps with timeout in instructions like:
    "insert report repname from report. "
    It seams that the generation of programs, like the first time we run transaction SE16 for a table, atempts to add lines to table D010INC and generate a timeout.
    Help needed, answer will be rewarded
    Jorge

    I have a similar problem.
    Following query returned the following results
    SQL> select count(*) from SAPSR3.D010INC;
    COUNT(*)
    16084840
    I have already executed SGEN, it took more than 20 hours to complete, but completed successfully.
    Shall I "create optimizer statistics with brtools" or increase timeout duration ?
    I have restarted the instance many num of times.
    Kindly refer
    Tmeout in creating company
    for details
    Thanks in advance
    Ruhi

Maybe you are looking for

  • How to use todate function in JDBC adapter

    Hi All, How can we use the todate function to update a date field in Oracle database. I am getting a java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected Exception, when I am mapping the date fields with  t

  • Cd-rom burner not working after update

    did a -Syu and installed the most current kernel 2.6.16.1-8, rebooted and now my cd burner isnt recognized. the window that opens when you put a cd in that asks what you want to do doesnt open and k3b no longer sees the drive. did i miss something on

  • Commit in a Trigger

    I'am looking for a possibility to issue a Commit within an Database-Trigger. Any ideas?

  • Can't uninstall OR install lightroom

    Hi - Okay, I fixed my problems with all my other software by wiping my drive and starting over. BUT, lightroom started an update, quit and now, even though I've uninstalled it, removed it as bvest I can, AAM still thinks I have it and won't upgrade i

  • Post activity for drop & recreating log group

    Hi, We need to drop redolog group from old file system & going to recreate in different file system. ex, when group 3 is in "INACTIVE" alter database drop logfile group 3; alter database add logfile group 3 ('/u01/oracle/ica01/log3.ora,'/u01/oracle/i