678501 - System standstill, locks on NRIV

探讨SAP系统中NRIV表锁定导致的性能问题,分析原因在于未缓冲的编号范围对象,提供解决方案包括确定受影响的编号范围对象及负责应用程序,讨论缓冲选项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Version 4 Type SAP Note
Release Status Released for Customer Language English
Responsible Doerte Goettsch ( D019862 ) Masterlanguage German
Processor Britta Vahl ( D020499 ) Last Changed On 04.08.2016 16:21:40
Component BC-SRV-NUM ( Number Range Management ) Created On 07.11.2003 15:34:51

Symptom

System performance is poor. Locks on table NRIV are displayed in transaction DB01. In transaction SM50, you can see SAPLSNR3 processes with DIRECT READ on table NRIV.

Other Terms

NRIV, lockwaits, number range object, no buffering, DB01, SM50, SM66

Reason and Prerequisites

The missing buffering of number range objects may impede system performance considerably. The reasons for this are as follows: If number ranges are not buffered, the NRIV number range table is accessed with a database lock using 'SELECT SINGLE FOR UPDATE'. The interval in the table will then remain locked until the next commit or rollback and additional numbers cannot be retrieved from this interval. This causes a serialization of the application.
If other performance problems arise, the timespan until the COMMIT can become very long indeed. This means that more and more processes wait for NRIV until the system hangs.
IMPORTANT: The SAPLSNR3 program is not the cause of the problem, the poor performance is rather due to applications that are executed simultaneously and interfere with each other.
Refer to Note 572905.

Solution

To determine the affected number range object and thus the responsible application, proceed as described in Note 572905. Note 504875 contains information about the options for buffering number range objects. There is also a large number of application notes for specific number range objects. You can select these notes on the SAP Service Marketplace by using the number range object as search term.
SAP delivers most number range objects already buffered. If a number range object is delivered unbuffered, this is usually due to legal requirements in some countries which ask for sequential numbering without gaps. In these cases, you must determine if these restrictions apply to your country. In many cases, a type of buffering is possible. Refer to the following notes: 179224, 599157 and 840901.

Note that the change of the buffering type of the number range objects delivered in the standard system constitutes a modification and no support can thus be provided for resulting problems unless the modification is covered by SAP Notes for localization purposes. The modification is overwritten as soon as the affected number range object is redelivered - in other words, you must check the change manually each time you import a release.
Before changing the buffering of a number range object, please check carefully whether this is required - in legal terms.

If a number range object uses main memory buffering in the standard system, the buffering type should be changed only in the case of statutory requirements.

转载于:https://www.cnblogs.com/JulietLV/p/7802142.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值