St02 swaps red

Hi all,
When i checked the swaps in st02 it is showing as red.What to do plz.Should i change the parameters.
          Buffer            Hitratio   Allocated         Free space        Dir. size      Free directory         Swaps       Database
                           [%]       [kB]         [kB]         [%]      Entries      Entries       [%]                   accesses
Nametab (NTAB)
  Table definition        96.10         7,151            0     0.00        30,000            0     0.00       159,968      385,089
  Field description       96.55        32,344        5,702    19.01        30,000       21,404    71.35       254,965      263,737
  Short NTAB              99.74         3,438        2,137    85.48         7,500        5,803    77.37             0        1,697
  Initial records         96.18         5,438          177     3.93         7,500          654     8.72        96,328      103,175
Program                   93.68       500,000        1,322     0.28       125,000      111,378    89.10       161,705      626,010
CUA                       99.94         8,000        4,836    70.38         4,000        3,475    86.88             0          530
Screen                    99.86        25,391       18,314    72.89         4,500        4,016    89.24             0          516
Calendar                 100.00           488          394    82.08           200           95    47.50             0          105
OTR                      100.00         4,096        3,531   100.00         2,000        2,000   100.00             0            0
Tables
  Generic key             99.99        99,023        9,072     9.44        13,000          998     7.68            12       59,612
  Single record           97.10       100,000       75,927    76.12         1,000          876    87.60             0      171,530
Export/import             66.42        20,000       11,764    81.85        20,000       18,587    92.94             0            0
Exp./Imp. SHM             16.95         4,096        3,490    98.84         2,000        1,999    99.95             0            0

Hi Ambarish,
These are the values which u can take as reference
rsdb/ntab/entrycount               30000                       
  rsdb/ntab/irbdsize                  4000
  rsdb/ntab/sntabsize                 2500
  rsdb/cua/buffersize                 5000
  sap/bufdir_entries                 10000
   zcsa/table_buffer_area          50000000
  zcsa/db_max_buftab                 10000
  rtbb/buffer_length                 30000
   rtbb/max_tables                      500
Release 4.0/4.5:
   rsdb/obj/buffersize              4096          (kB)             
   rsdb/obj/max_objects            5000          (buffer entries)
   rsdb/obj/large_object_size       8192          (Byte)           
As of Release 4.6:
   rsdb/obj/buffersize            20000            (kB)          
   rsdb/obj/max_objects            20000                         
   rsdb/obj/large_object_size       8192          (Byte)    
extend the buffers to 30 -40%  this may help you
Regards'
  Zia

Similar Messages

  • St02 - Swaps in Red( Common but complicated)

    Hello Friends,
    I am using SAP Netweaver 2004s, SAP_BASIS - 700, OS - Windows NT 6.1,  DB- MSSQL 8.00.194.
    In Tcode- ST02 i found many red alers while swapping. however many entires have hit ratio of 99% hopefully this can be ignored. please correct me if i am wrong. but 2 entries have less hit ratio the details are given below
    Initial records   62.77    12,625     10,894      90.78     5,000      1,076      21.52    3,506       7,430
    Initial record buffer IRBD                                                                               
    rsdb/ntab/irbdsize   12000 kB   Size of initial record buffer                                                                 
    rsdb/ntab/entrycount 20000      Max. number / 2 of initial records buffered                                                                               
    Single record   73.95    20,000      4,494      22.63       500        375      75.00   1,033 , 824,053                                                                               
    Single record table buffer TABLP                                                                               
    rtbb/buffer_length 20000 kB   Size of single record table buffer                                                          
    rtbb/max_tables    500        Max. number of buffered tables 
    My Question is on what basis i can change this parameters? should i increase or decrease the parameter? how to find out exact digit of the profile parameters?
    Thanks,
    Shwetha

    Hi Shwetha,
    The number of swaps you get per day is more relevant than the total number in ST02,
    which is the swaps since the last system start.
    Double click each line and then click the history button to see how many you get per day
    The swap values you have don't seem that large if the machine has been up a few days.
    You could try adding more to the single record buffer - perhaps double it.
    We have always had a low hit rate in all our systems for the initial record buffer.
    I have given up worrying about it.
    Tony
    Edited by: Tony Morrissey on Jul 8, 2010 1:58 PM

  • ST02 SWAPS reported what does that mean.

    Hi Team,
    In ST02 of one of the system all the apps I see many SWAPS column with value and in red color, what it mean
    program, swaps with 11,349
    generic key with 68
    single record with 1,002
    Thanks
    Vijay

    Hi,
    ST02 is the buffer monitor that offers instance specific information that provides:
    1. status of different buffers instance wise
    2. information on memory usage instance wise
    3. information on table buffering at instance level
    Swapping takes place for two reasons:
    1. not enough 'free space left' in buffer for buffering new objects
    2. buffer has run ouf of 'free directory entries' that can be contained in one buffer area *
    Directory entries diminish the available size of the buffer, independent of their usage.
    Swaps are to be avoided, as are all other situations leading to lines shown in red in the ST02 display.
    Please note that Buffer swaps occur when buffer content is deleted from the buffer and is replaced by other content. It has no relation at all to the swapping mechanism on OS level.
    An example with a more practical outlook to swapping observed:
    Use transactions SM50, ST03N and ST02 to identify the problem.
    a. Using SM50 you might find high number of work processes accessing tables related to ABAP sources and status as 'Load Program'. This hints to a problem with Program [PXA] buffer.
    b. In transaction ST03N, you find unusually high 'load and generation time' causing even higher wait times. Threshold for load and generation time is typically 50 ms.
    c. In buffer monitor i.e. ST02, you find many swaps [typically more than 10000 swaps happening per day for program buffer]. Check on hit ratio [value below 95% is typically poor]. This indicates problem. Program buffer could be small!!
    If program buffer is small, it means that workprocesses require to reload program loads over and over again which causes bad system performance.
    Resolution: Increase program buffer size/ check on load and generation times/ hit-ratio increases/ system response time also lowers down!! : )
    Regards,
    Shabnam.

  • How clean export/import (st02) swaps?

    Hi
    We are facing a big problem in PRD environment, point is, very low PRD time performance and users need to work; checking on ST02 systems shows Buffers "Export/Import" swaps values high ( red ), We were wondering if exists a T/C which help us to clean buffers?
    Thanks your help!!!

    Hugo, (tu hablas español, si es asi hay un foro en español tambien)
    The low performance issue is not just a problem in swaps, remember something, they are cumulative so if your system is up from a long time ago, then is normal that ST02 shows swaps, how high depends on hits to the buffers, how is the hit ratios for the buffers with red swaps?
    If you take down SAP and start it again swaps will disappear.
    If you are experiencing performance problems then it is better to take a look at the ST03N, there you could see if problems are in DB, Network, Presentation server (PC with SAPGUI), process time, etc and there you can narrow the problem.
    Did the server was working right and then turned slow from some time ago? or
    did you do an upgrade to ECC 6.0? or
    is the problem only during certain hours? or
    is only when executing some transactions/jobs?
    With more info we can help you more...

  • ST02 Swaps issue

    Hi Folks,
    As per daily monotioring in ST02 i am getting swaps.Can any body advice me .Tunning the buffers is one solutiion i know this.but i am facing the problem daily .
    My Environmet:
    SAP--ECC6
    DB-ORACLE-10.2.0.2.0
    OS- AIX5.

    Hi,
    When a buffer has not sufficient free-space or free directories, it has to swap objects out of the buffer in order to load a new object on request. The column Swap shows how many objects have been swapped out since system start-up.
    Along with the useful suggestions provided by Raghu, I would do the following analysis to optimize the swaps by keeping in mind that "the performance optimization is an on going process".
    1. Analyze the Hit Ratio and Swap Counts of each memory components in ST02. Prepare and Excel Sheet and note down the memory components which are required special attention for the performance of the system
    e.g. If your PXA buffer is having more than 95% hit ration, but its showing more than 20000 swaps per day then you need to re-size it to reduce the swaps
    2. Analyze the concurrent & active User Access to the SAP System and the workload.
    3. Compare the existing Memory parameter and other dependent parameter settings (with respect to SAP system(s), Database and OS) with the recommendation suggested by SAP official Documents (Inst Guide, SAP Notes, etc..).
    3. By keeping in mind the available RAM and SWAP Space, step-by-step, Increase the space value of affected Memory components by 10% to 20% of Existing settings.
    4. If the System is configured with more work processes of same types and the all are not used at all even during peak workload (of month or of week or of year), then decrease the counts of work processes to reduce the memory usage so that we can optimize other required memory parameters with more space.
    5. If the System is having not enough resources to provide better performance due to resource bottlenecks, then One will prefer:
    - to upgrade the H/W on existing SAP System host
    - to install additional Application Server(s) (on other system with highly equipped H/W resources), to take the advantage of Log-on Load Balancing.
    Please refer these SAP Notes:
    Note 750205 - High memory usage with AIX5.2/5.3 and Oracle9.2
    Note 425207 - SAP memory management, current parameter ranges
    Note 830576 - Parameter recommendations for Oracle 10g,
    Note 146289 - Parameter Recommendations for 64-Bit SAP Kernel
    One more thing we are not taking Offline back up due to business need system continuous available.Please advice me
    Perform Consistent Online Backup (Online Backup + Redo Log Backup) and frequent Archive Log Backup.
    Regards,
    Bhavik G. Shroff

  • ST02 - Swap

    Hi guys, I am doing daily monitoring. I need your help in regards to this issue. I have some swap memory in red and also there is few directories is below 5% space.Is that correct that swaps that occuring should not be more then 10,000 or 15000 per day. Is that only for program buffer or applied to all the buffer.
    What is the different between DB2 and DB6. Does both reflect the same database.

    Ram,
    There is also a forum for this topic.
    Forum: SAP on DB2 UDB for Unix and Windows (DB6)
    SAP on DB2 for Linux, UNIX, and Windows
    Good luck.
    PJ

  • ST02 SWAPS are more

    Hi,
    Iam new to db tuning . My system shows more SWAPS when i go to ST02 .
    System slow down performanance.SWAPs are showing more.
    Any idea how to resolve this.
    Thanks
    Lisa

    Hi Lisa,
              Lars is very correct.There may be some reasons as
        told by Lars.In order to solve this problem u can follow
        these steps.
      1)Send a session data to SAP by executing tr code "SDCCN"
        or "SDCC".On the basis of this session data SAP will
        send u a Analyzed Early watch report.
                In which u can check whether some programs are
        being swapped frequently.
                       Another reaSON may be low buffer space.
         For this u can increase the size of buffer.
       You can check programs responce time by urself by using
        Tr code ST03.
      Hope this will help you.
      Regards
       Aditya Kumar

  • ST02 ---Swaps

    Dear Friends,
    I am facing problem with  SWAPS in ST02.I know the soloution like restarting the sytem/increasing the parametrers.Can any body help me in this issue with any other solution.i already restarted the system And one more thing is there any limit for swaps for each  buffer.i am giving  my PRD server swaps here.
    Nametab (NTAB)                   swaps
    Table definitio                   1,342,725
      Field definitio                     910,742
      Short NTAB
      Initial records                      970,789
    program                             2,527,221
    CUA                                 3,473,889
    Screen                                  119,352
    Calendar
    OTR
    Tables
      Generic Key                    4,696
      Single record                   1,085
    Export/import                    11,735,724
    Exp./ Imp. SHM
    Thanks&Regards,
    chaitanya.

    Hi Chaitanya,
    The only way to control the amount of swaps the system produce is to fine tune the system parameters, a system restart only clear the existing ones but does not prevent swaps for happening...
    is there any limit for swaps for each buffer
    Nope, it will swap as many times as it needs to...
    Can any body help me in this issue with any other solution?
    As mention above the only solution is to tune your parameters and keep your kernel updated, small amount of swaps in ok, but excesive swaping it can go in detriment of your system performance.
    I can tell you that 2,527,221 swaps in your program buffer simply means that its probably too small and so on... you'll have to spend time looking into it.
    This is a well documented issue... search, research,  read, test...
    Regards
    Juan

  • ST02 - Swaps history view

    I have 2 queries re the ST02 screens...
    1. In the performance advisor notes, it mentions checking "swaps per day" via ST02 in, for example, the program buffer. However, the listed figures for each day are incremented totals.  Why is this not just the daily swaps figure? Is it just a historical view that no one has bothered to change??
    2. What is the value of the average swaps at the bottom of this list when it is the value of the incremented totals. I cannot understand a need for this particular value and would like to understand exactly what it is telling me. Surely, the average daily value is something that could be very helpful as a first glance.
    Regards
    Jim

    Dear [http://support.mozilla.com/en-US/forum/1/681368?#threadId681372 Morbus],
    By "more than a few seconds" I mean even when I do nothing. I'm aware of the behavior you describe and in previous versions there was a work-around for it. You could select the next history entry before the view changes.

  • Performnace Issue

    Hi All,
    Wer are facing very serious performance issues with one of our apps server.......at the time when system was behaving slow ....I am sharing the various parameter values -:
    app server is on windows platform
    CPU
    User %: 9
    system%: 1
    idle%: 89
    system calls 9113
    Interrupts:  528
    memory
    physical mem avail: 16604440 kb
    page in/s 0
    page out/s 15
    SWAP
    COMMIT CHARGE LIMIT (kb) 65145060
    COMMIT CHARGE FREE (kb) 32083152
    max swap space :49152000
    actual swap space: 49152000
    LAN
    Packets in/s : 2140
    Packets out/s : 1507
    At this point of time report which was taking max dialog response time:
    ZLOGTRPL :90268 (ms) dialog response time
    There is there anything which could be the cause of slowness.......
    but same time overall dialog response was showing around >95227(approx)
    idealy this value should be less that 1200
    In st02:
    swap for export/import is coming in red mark with value > 100000
    Regards,
    Prashant
    Edited by: Prashant Shukla on Sep 16, 2008 4:13 AM

    Dear Prashant,
    It seems you are facing this problem since long time and we even discussed on this few days back.
    I asked you to open a customer message to SAP.Is there any problem with that?
    Whats they say?
    Regards,
    Ashutosh

  • Nudge Ken Burns zoom location

    I want to line up two still frames--one that ends after a Ken Burns zoom (in) and the following one that "freezes" where the zoom ended. Is there a way to nudge the location of the ending zoom (or beginning zoom for the following frame)? When I try this I don't have fine enough mouse control to line them up accurately so there is a small jump from one to the next.
    Any help?

    I want to line up two still frames--one that ends after a Ken Burns zoom (in) and the following one that "freezes" where the zoom ended. Is there a way to nudge the location of the ending zoom (or beginning zoom for the following frame)?
    Very easily done.
    1) Create original KBE.
    2) Select the image containing the KBE and press "Command-C" to copy data/settings to temporary memory.
    3) De-select the image, move playhead to end of segment, and press "Command-V" to copy data to project window.
    4) Select the newly added image and open the Crop Tool window.
    5) Press the Start-End Revers icon to swap red and green KBE windows.
    6) With the old End window now set as the new Start window, press the "Crop" button.
    7) exit the Crop Tool window and set the timing duration for the "Hold" image.
    If you have followed these instruction correctly, you should now have a seamless transition from your KBE image to your "still" image.

  • Swaps are marked red in ST02

    Swaps are banded red in ST02 how to come out of it. It is showing as below:
    program                93,28   240.000      1.253       0,54    60.000     54.069      90,12 79.874  258.846
    CUA                    98,93    12.000      1.466      14,62     6.000      5.417      90,28       0      593
    Screen                 99,07    10.297      2.027      20,08     2.000      1.742      87,10     218    1.465
    Calendar              100,00       488        367      76,78       200         50      25,00       0      150
    OTR                   100,00     4.096      3.439     100,00     2.000      2.000     100,00       0
                                                                                    0
    Tables                                                                                0
      Generic Key          99,86    51.297      2.005       4,02     5.000        285       5,70      49   35.406
      Single record        89,43    18.000      5.092      28,52       500        432      86,40      42   78.837
                                                                                    0
    Export/import          75,56     8.000        899      12,24     2.000                        23.664
    Exp./ Imp. SHM         94,04     4.096      3.248      94,45     2.000      1.999      99,95       0
    How do you clear red bands, which memories play the role in this scenario?

    You have to increase the parameters.  Doubeclick on the red ones, press on "current parameters" and increase the given values using RZ10.
    Your parameters, e. g. abap/buffersize are very small.
    Markus

  • Swaps values showing in RED -TCODE ST02

    Hi All,
    When I checked the ST02 transaction  value of "SWAPS" for program buffer,CUA buffer,screen buffer, Tables generic key buffer and export/import buffer are showing in "RED" colour.
                              (%)           (kb)             %                
    Buffer               Hitratio      Allocated     Free Space    swaps
    Program           99.88         900000        0.36             19541
    CUA                99.9           10,000         1.27             37960
    export/import    94.33         40,000         29.10          750,676
    Swaps value are showing in RED mark....Is there somthing fishy? What can be done to overcome this issue?
    Thanks in advance
    Regards,
    Prashant.

    Dear Prashant,
    SWAP is the amount of page space available at OS level. In case of windows it should not be more than 4 times the ram and in case of UNIX 3 times the ram. If swap or paging is configured high is the paging rate and low is the performance. If there is no more free directory entries are available in the buffer for new objects, old objects are removed and the space is occupied by new objects thus a swapping takes place i.e some buffer content is removed from the buffer and replaced by new buffer contents. High swap is normally a symptom of memory bottleneck.
    Red indicates swaps are to be avoided and indicate that there might be a bottleneck.
    What can be done to overcome this issue?
    You need to increase the parameter then.
    Double-click on the red value, click on "current parameters" and increase that parameter in the instance profile using RZ10. If the parameters are not yet in the profile, add them.
    After changing the instance profile you need to restart the instance.
    Regards,
    Ashutosh

  • Swaps-st02 are in red colour

    R/s All,
    In my Production Server (ECC6DB2 v.9.1Win2k3x64 with 40 GB of physical memory) when i perform st02 the field definition,initial records,program,CUA,generic key,export/import,buffer shows value RED under the swap category. Current memory parameters values are as follows. Kindly help us to reslove the problme.
    ztta/roll_area -                                   6500000
    ztta/roll_first -                                    1
    ztta/short_area-                                 4000000
    rdisp/ROLL_SHM-                              32768
    rdisp/PG_SHM -                                  49152
    rdisp/PG_LOCAL -                              150
    em/initial_size_MB-                              16285
    em/blocksize_KB-                                4096
    em/address_space_MB-                     4096
    ztta/roll_extension -                             2000000000
    abap/heap_area_dia-                           2000000000
    abap/heap_area_nondia-                     0
    abap/heap_area_total-                         12881756160
    abap/heaplimit -                                     40000000
    regards,
    VM

    A red field in ST02 is NOT necessarily a problem. If you have performance problems and you can link them to buffer issues THEN it is a problem.
    The only productive systems i have seen so far with no red buffers at all were either not having much activity or the setup was wasting hundreds mb of memory. I recommend to consider the hit ratio as well. If for example your program buffer is above 99%, there is no need to further increase it.
    Cheers Michael

  • Swaps no increased in ST02

    Hi Friends,
    In our development system Swaps no is very high and it shows RED mark in st02
    Table definition =25.213
    Field definition = 357.579
    Initial records = 62.209
    program          =  81.856
    CUA              = 12.158
    Screen          = 879
    please check below attached screen shot for more details
    Could you please any one help me how to resolve this issue..
    Thanks in Advance
    Regards,
    Venkat

    Hi Lisa,
    SWAPs themselves are not an indicator of a performance issue.It's unlikely you can avoid them from happening in production systems. What matters is a quality of buffer tuning and a number of swaps hapenning every day. Let's say you are getting more then 10000 swaps each day for the program buffer. Then you'd need to pay attenation to this buffer and try to find out a way to reduce swaps.
    Here is the link to SAP help:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c4/3a6ecc505211d189550000e829fbbd/content.htm
    Regards,
    Mike
    Message was edited by: Mike Puzankov

Maybe you are looking for