This article summarizes points that require attention when creating and operating send log DEs in Email Studio of Marketing Cloud Engagement.
From the standard send log template, you can create only one send log DE for email per business unit (BU, MID). If you try to create more than one, a generic error occurs at creation and it cannot be created. If the error occurs even though no existing send log DE exists, please contact us and include the target MID.
Reference)
Title: Create an Email Send Logging Data Extension
URL: https://help.salesforce.com/s/articleView?id=mktg.mc_cab_create_an_email_send_logging_data_extension.htm&type=5
If an email send results in an error or is canceled, and subsequent verification finds no cause in the email's AMPscript, preview, or data validation, the cause may be a primary key duplication error in the send log DE.When a primary key is set on the send log DE, many inquiries have been reported in which a retry process during sending attempts to insert a row that has already been written, causing a duplicate key error.
*If a primary key has already been set on the send log DE, the primary key cannot be changed after the DE is created. To change it, you need to delete the DE and recreate it. Therefore, you need to either recreate it, or, if a send error caused by this issue occurs, take measures such as manually resending the unsent portion.
Reference)
Title: Send Logging Best Practices and Tips
URL: https://help.salesforce.com/s/articleView?id=mktg.mc_es_send_logging_best_practices.htm&type=5
Because a send log DE records every send, the number of records becomes large as the operation period gets longer.
If records are left to accumulate, the risk increases of timeouts on queries against the send log DE, and of emails that perform a Lookup on that DE taking a long time to send.
Therefore, plan for periodic automatic deletion of records using a data retention policy, as well as backup of records to another DE, a CSV, or similar.
When backing up to another DE, take care so that the number of records in that DE also does not grow too large.
・For other recommendations regarding send log DEs, please refer to the following.
Title: Send Logging Best Practices and Tips
URL: https://help.salesforce.com/s/articleView?id=mktg.mc_es_send_logging_best_practices.htm&type=5
・Duplicate errors during sending caused by setting a primary key can occur in the same way for channels other than the Email send log DE (such as LINE and MobilePush). Therefore, it is generally recommended not to assign a primary key to send log DEs (whether template-based or self-made).
Title: Marketing Cloud Engagement | How to Store LINE Send Logs in a Data Extension
URL: https://help.salesforce.com/s/articleView?id=005131990&type=1
・The phenomenon in which a primary key duplication causes a send error is also introduced in the following Known Issue.
Title: Marketing Cloud email sends can fail for “Violation of PRIMARY KEY” when InsertDE AMPscript is present
URL: https://help.salesforce.com/s/issue?id=a028c00000ziSBqAAM
005461249

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.