Skip to Content

[49] 301 unique constraint violated: "_SYS_STATISTICS"."ALERT_BLOCKED_TRANSACTIONS"


We have multiple alerts with below details:

[49] 301 unique constraint violated: "_SYS_STATISTICS"."ALERT_BLOCKED_TRANSACTIONS": line 21 col 1005 (at pos 2687): Table(STATISTICS_ALERTS_BASE), Index(_SYS_TREE_CS_#148189_#0_#P0) with error: unique constraint violation in self check for table SS1::_SYS_STATISTICS:STATISTICS_ALERTS_BASEen, constraint='$trexexternalkey$', udiv='323032302d30382d32302031343a35343a35333b34393b33322c757363686c73347334303231683a33303034303a37303a333437333231313135', pos=7; indexname=_SYS_TREE_CS_#148189_#0_#P0 SNAPSHOT_ID: 2020-08-20 14:54:53.0000000.

Just wanted to know on how to resolve this.

Found below note, however since dropping some keys may result to upgrade error. Hence, this will be the last option for me.

2143679 - How-To: Removing Primary Keys of SAP HANA Statistics Server Histories

I was able to find below notes as well which recommend to deactivate the collector. However, these are for different tables

2137142 - HANA Error: 301 unique constraint violated: TrexUpdate failed on table "_SYS_STATISTICS:HOST_SERVICE_THREAD_SAMPLES_BASE"

2127852 - HANA Error: 301 unique constraint violated: TrexUpdate failed on table.

I was hoping that you can point me to the right direction on how to resolve this issue.

Our DB is already SAP HANA 2.0 sp4 revision 45

Thank you very much!

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.