Header Ads Widget

Responsive Advertisement

What is lock table over flow ? How to resolve lock table overflow issue ?

This article answers the below queries ?

  • What is lock table overflow ?
  • How to identify lock table over flow issue ?
  • What is the parameter to be changed to increase lock table size in SAP ?
  • What is the reason for lock table overflow ?
  • How to resolve lock table overflow ?

--------------------------------------------------------------------------------------------

What is lock table overflow ?

SAP manages locks using lock table. The lock table contains all of the informaton related to locks like who is holding the lock and which locks are currently held etc. The size of the lock table can be specified by the SAP parameter enque/table_size. The size of the lock table limits the number of locks, lock owners and lock names. If this size is exceeded, then the lock table overflow occurs.

How to identify lock table overflow issue ?

In SM21 transaction log and ST22 dumps, if you find any error messages like LOCK_TABLE_OVERFLOW, Lock table overflow, Internal lock administration error it means there is a lock table overflow issue.


What is the parameter to be changed to increase lock table size in SAP ?

Parameter enque/table_size to be changed to increase or decrease lock table size using RZ10 transaction. Default value of this parameter is 32768. The min value that can be set is 4096 and max value is 102400. The unit for this parameter is KB.



As this is not dynamic parameter, for the new value to take effect, a system restart is required after modifying the parameter.

What is the reason for lock table overflow ?

A lock table overflow can occur due to

  • The lock table is configured too small (i.e value set to enque/table_size parameter is very low)

  • Due to improper design of application which sets a large number of locks

  • Number of enqueue worprocesses configured in a sap system are less and update is very slow/hanging due to which lots of locks are accumulated in lock table

  • Running a custom report with improper selection criteria (like very long time periods data pull) which sets so many locks & eventually lock table overflow occurs

 How to resolve lock table overflow ?

  • Increase the size of lock table i.e increase the parameter enque/table_size value using RZ10 transaction.
          To determine the optimal value for this parameter, you can check the maximum locks set so far in the history and the current number of locks set from SM12 -> Extras -> Statistics

  • Increase the number of en-queue work-processes

         



Post a Comment

10 Comments

  1. My brother recommended I would possibly like this
    blog. He used to be entirely right. This put up truly made
    my day. You can not believe simply how a lot
    time I had spent for this info! Thanks!

    ReplyDelete
  2. AnonymousMay 04, 2019

    What a material of un-ambiguity and preserveness of valuable familiarity
    on the topic of unpredicted emotions.

    ReplyDelete
  3. AnonymousMay 04, 2019

    Good way of telling, and good article to
    take information about my presentation subject matter, which i am going to
    convey in school.

    ReplyDelete
  4. AnonymousMay 06, 2019

    These are genuinely wonderful ideas in on the
    topic of blogging. You have touched some pleasant things here.
    Any way keep up wrinting.

    ReplyDelete
  5. AnonymousMay 08, 2019

    Great delivery. Outstanding arguments. Keep up the amazing effort.

    ReplyDelete
  6. AnonymousMay 13, 2019

    I relish, lead to I found just what I used to be taking a look for.
    You have ended my four day lengthy hunt! God Bless you man. Have a nice day.
    Bye

    ReplyDelete
  7. AnonymousMay 16, 2019

    If you desire to improve your experience just keep visiting this web page and be updated with
    the hottest news update posted here.

    ReplyDelete
  8. AnonymousMay 16, 2019

    Great delivery. Outstanding arguments. Keep up the great work.

    ReplyDelete
  9. AnonymousMay 17, 2019

    Greetings! Very useful advice in this particular article!
    It's the little changes that will make the greatest changes.
    Thanks a lot for sharing!

    ReplyDelete
  10. AnonymousMay 21, 2019

    Excellent, what a webpage it is! This blog gives valuable facts to us, keep it up.

    ReplyDelete

SPAM/SAINT Support Package and Stack Upgrade in SAP