In some cases, DMS may fail to use the best approach for data insertion. The data will still be inserted correctly into the database, but you may see the following types of failures reported:
Exception Error: 2627, Severity: 14, State: 1 .Net SqlClient Data Provider sitecore 4132 99 2013-12-15 15:57:18.200 SQL:BatchCompleted insert bulk…
ManagedPoolThread #0 2013-12-15 15:57:18 DEBUG Trying bulk update...
ManagedPoolThread #0 2013-12-15 15:57:18 DEBUG Trying 1 by 1 update...
Violation of PRIMARY KEY constraint 'PK_*'. Cannot insert duplicate key in object 'dbo.*'. The duplicate key value is…
Sitecore Analytics uses a bulk insert method as one of the fastest data insert techniques. This method allows to insert a large batch of collected data in the most optimal way. However, such bulk update operations might fail in certain situations.
If a batch of information cannot be inserted using the bulk insert method, Sitecore will catch the related exception and handle it appropriately by performing the update using less optimal techniques (1-by-1 update).
So even if such failures are reported in the log files, all the submitted data has been inserted into the database anyway.