SAP Knowledge Base Article - Preview

3841388 - Partitioning fails with sql 131 error

Symptom

You ran a partition for a table and the process dumps with:

131: transaction rolled back by lock wait timeout: Lock-wait time out exceeded [OWNER=xxxxxxx, TYPE=OBJECT_LOCK, CURRENT_MODE=INTENTIONAL_EXCLUSIVE, REQUESTED_MODE=EXCLUSIVE] 

You can see similar entries in the index traces:

=== indexserver_alert_<host>.trc

indexserver_alert_<host>.trc-145693-[376914]{333333}[751/-1] 2026-10-10 01:50:05.936189 e TableLock WaitGraph.cc(01007) :
indexserver_alert_<host>.trc-145694- Lock-wait time out exceeded
indexserver_alert_<host>.trc-145695- - Waiting transaction
indexserver_alert_<host>.trc-145696- [CONNID=333333, SESSIONID=333333, CLIENT_HOST=<host>, CLIENT_IP=<IP>, CLIENT_PID=222222, APPUSER = sidadm, DBUSER=SAPHANADB, ID=587, UPDATE_TRANSACTION_ID=21618589290, TYPE=USER, STATE=ACTIVE, ISOLATION_LEVEL=RC, APPLICATION_SOURCE=null, STMT_HASH=<hash>, STMT=ALTER TABLE "BALDAT" PARTITION BY HASH (LOG_HANDLE) PARTITIONS 4 ONLINE, LOCK_TIMEOUT_MS=3600000, HESITANT_LOCK_TIMEOUT_MS=1200000]
indexserver_alert_<host>.trc-145697- - Blockers
indexserver_alert_<host>.trc:145698: [CONNID=333444, SESSIONID=333444, CLIENT_HOST=<host>, CLIENT_IP=<IP>, CLIENT_PID=666666, APPUSER = REMOTE1, DBUSER=SAPHANADB, ID=563, UPDATE_TRANSACTION_ID=21617933150, TYPE=USER, STATE=ACTIVE, ISOLATION_LEVEL=RC]
indexserver_alert_<host>.trc-145699- [UPDATE_TRANSACTION_ID=21618742015 (transaction not found)]
indexserver_alert_<host>.trc-145700- [UPDATE_TRANSACTION_ID=21618723212 (transaction not found)]
indexserver_alert_<host>.trc-145701- [CONNID=333555, SESSIONID=333555, CLIENT_HOST=<host>, CLIENT_IP=<IP>, CLIENT_PID=888888, APPUSER = JEFF, DBUSER=SAPHANADB, ID=142, UPDATE_TRANSACTION_ID=21618721618, TYPE=USER, STATE=ACTIVE, ISOLATION_LEVEL=RC]
indexserver_alert_<host>.trc-145702- [UPDATE_TRANSACTION_ID=21618725977 (transaction not found)]


Read more...

Environment

SAP HANA.

Product

SAP HANA, platform edition all versions

Keywords

KBA , HAN-DB , SAP HANA Database , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.