Loading

Marketing Cloud Engagement | Notes on Creating and Using Send Log DEs

Veröffentlichungsdatum: Nov 2, 2026
Beschreibung

This article summarizes points that require attention when creating and operating send log DEs in Email Studio of Marketing Cloud Engagement.

Lösung

Note 1. Only one send log DE is allowed per business unit

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

 

Note 2. Do not assign a Primary Key

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

 

Note 3. Manage the DE so the number of records does not grow too large

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.

Zusätzliche Ressourcen

・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

Nummer des Knowledge-Artikels

005461249

 
Laden
Salesforce Help | Article