Do you have any question about this error?
Message type: E = Error
Message class: HH - (Long) text for check tool 'infcfgcheck'
Message number: 059
Message text: Change the 'lock mode' of the specified table in 'row'
The specified table (belonging to 'sapr3') has no 'row-level-locking'.
This is detrimental to the performance and can provoke update
terminations for this table. An Informix bug was also found
for 'page-level-locking'. All the tables belonging to 'sapr3' should
be used in locking mode 'row'.
Change the locking mode of the specified table, for example with the
following SQL statement (with 'dbaccess'):
'alter table <tabname> lock mode (row);'.
Error message extract from SAP system. Copyright SAP SE.
HH059
- Change the 'lock mode' of the specified table in 'row' ?The SAP error message HH059, which states "Change the 'lock mode' of the specified table in 'row'," typically occurs in the context of database operations where there is a conflict in the locking mechanism for a specific table. This error is often related to issues with table locking in the SAP system, particularly when multiple processes are trying to access or modify the same data concurrently.
Cause:
- Lock Conflicts: The error usually arises when there is a conflict in the lock modes being used for a table. For example, if one transaction is trying to acquire an exclusive lock while another transaction holds a shared lock, this can lead to a deadlock or a lock conflict.
- Database Configuration: The configuration of the database or the specific table's locking settings may not be optimal for the operations being performed.
- Long-Running Transactions: If a transaction takes too long to complete, it can hold locks for an extended period, causing other transactions to fail with this error.
- Custom Code: Custom ABAP code or enhancements that manipulate database locks improperly can also lead to this error.
Solution:
- Analyze Lock Entries: Use transaction code
SM12
to check for existing lock entries. Identify if there are any long-running transactions that are holding locks on the table in question.- Adjust Lock Modes: If possible, adjust the lock modes in your code or configuration. This may involve changing the way locks are acquired in your ABAP programs or modifying the database settings.
- Optimize Transactions: Review and optimize long-running transactions to ensure they complete quickly and release locks in a timely manner.
- Database Configuration: Consult with your database administrator to review the locking configuration for the database and make necessary adjustments.
- Code Review: If the error is related to custom code, review the ABAP code for proper handling of database locks. Ensure that locks are acquired and released appropriately.
- SAP Notes: Check the SAP Support Portal for any relevant SAP Notes that may address this specific error or provide guidance on best practices for locking mechanisms.
Related Information:
SM12
(to view lock entries), SM21
(to check system logs), and ST22
(to analyze dumps) for troubleshooting.ST03N
to monitor performance and identify any bottlenecks related to locking.If the issue persists after trying the above solutions, it may be beneficial to engage SAP support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
HH058
Change 'environment' of UNIX user
What causes this issue? The variable 'KAIOOFF' is not set or not correctly set in the environment. 'KAIOOFF' MUST be set to a pos...
HH057
A (successful) 'archive' was not found for the dbspace
What causes this issue? This message is only relevant if you are using the backup tool 'onarchive'! The specified dbspace was not yet archi...
HH060
The number of allocated pages has almost reached the Informix limit
What causes this issue? The specified table (belonging to 'sapr3') allocated a very large number of pages and is approaching the limit for ...
HH061
The specified path points to the same 'raw device' as another path
What causes this issue? The specified path (link to a raw device or link to a link pointing to a raw device or ...) points to the same raw device as ...
Click on this link to search all SAP messages.