Skip to main content
Ryan Borton (Slalom) ha fatto una domanda in #Data Management
I know that Marketing Cloud data extensions are not tables even though they act like them. I read recently that Data Extensions are not necessarily locked down when other processes are using them but instead put in a "wait" queue which could lead to query timeouts.

 

I have seen some of my clients use a "with no lock" to try and avoid these timeouts, but I am wondering if this actually is beneficial in any way since activities seem to run in this queue fashion.

 

Can anyone describe/confirm when and how queries are run against data extensions and if no lock actually holds any benefit?
5 risposte
  1. 17 ago 2024, 20:42

    Found the answer years later with the SQL Server upgrade:

     

    Salesforce Marketing Cloud SQL queries automatically use SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED, which is equivalent to WITH (NOLOCK) in SQL Server. This ensures that queries do not block due to other SQL updates. Therefore, you do not need to explicitly use NOLOCK or its equivalent in your Salesforce Marketing Cloud queries. https://help.salesforce.com/s/articleView?id=sf.mc_as_sql_reference.htm&type=5

0/9000