Is there a lock on Entity tables when the batch process is going on ? Does that overwrite data inputted in MDS UI ?


hi , load out entities daily @ end of day inserting transactions tblstgmember , tblstgmemberattribute tables. of not have issue. long service broker on, batches processed. 

we looking change schedule batch process, run during business hours. question when batch process happening , updating entity, if user tries edit same member in entity, change saved ? or overwritten batch ? there deadlock ? 

i tried replicate scenario, wasnt having issues, inserted 1 transaction , before click save in ui, batch completing. 

are there chances of issues if move batch process run during business hours ?

in sql server 2012 or sql server 2014, last modify win. ever modify entity/attribute later, wins.

in sql server 2016, enabled merge conflict support on ui manual modification.

when user modify same attributes other users or background staging process changed, ui dialog popup let user resolve confliction.

for example,
1. original value of entity1.attribute1 a.
2. user load data in web ui or excel ui a.
3. other user or background staging process changed entity1.attribute1 b
4. user changed c , submit
5. merge conflict windows popup, , ask user choose changes want apply. 
    original : a
    latest: b
    yours: c



SQL Server  >  SQL Server Master Data Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........