SYMPTOM
The following error message is seen in the DELog in Strategy Narrowcast Server 9.x whenever the Transmission Recording tables logging is active.
[NCS001:: DBLogger]:3040:[THR:0x1140][01/07/2014 09:01:36.011][Level:Minor Error][Code:0x00015100]Possible Data loss. DB Message: "Operation on the database failed: Execute Query failed. Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [23000:2627: on SQLHANDLE] [Microsoft][ODBC SQL Server Driver] [SQL Server]Violation of PRIMARY KEY constraint 'PK__MSTRLOGS__50C7B1AA55009F39'. ma. The duplicate key value is (D3A9870F084943819DD88BE752B12457, 199009, 93897006D664403F9E1048F70E48517A). [01000:3621: on SQLHANDLE] [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated."
In order to ensure that the messages are written to the Transmission Recording tables quickly so that the message bucket does not overload, minimizing the time value for the "SecondsBeforeFlush" registry key is suggested. If the "SecondsBeforeFlush" registry key is set to the default value of 60 seconds, a suggested value of 10-20 seconds should be sufficient.
Note: For additional details on modifying the above mentioned registry settings, refer to the following Strategy Knowledge Base technical note:KB16545: How to control the number and frequency of Transmission Recording messages in MicroStrategy Narrowcast Server 9.x
202580