Skip to content

Commit 7680bf7

Browse files
authored
Update database-transactions.md
"How Model-driven Apps use transactions" Under Forms (Retrieve): Removed first bullet: Takes a read lock on the record shown Replaced second bullet: More likely to have conflicts. An update lock will block anything else updating that record. Under "Update": Added a new bullet: In some rare cases, an update lock can block a read lock. One example of where this can occur is when Dataverse metadata is being changed: reads done by a Dataverse metadata change transaction will be blocked by update locks.
1 parent 8b20135 commit 7680bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

powerapps-docs/developer/data-platform/scalable-customization-design/database-transactions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ Before understanding how customizations interact with the platform, it is useful
9595

9696
|Operation|Description|
9797
|--|--|
98-
|Forms (Retrieve)|&bull; Takes a read lock on the record shown.<br />&bull; Low impact on other uses.|
98+
|Forms (Retrieve)|&bull; More likely to have conflicts. An update lock will block anything else updating that record.|
9999
|Create|&bull; Performs a create request through the platform<br />&bull; Low impact on other activities, as a new record nothing else blocking on it<br />&bull; Can potentially block locking queries to the whole table until it is complete.<br />&bull; Often can trigger related actions in customization which can have an impact.|
100-
|Update|&bull; Performs an update request through the platform.<br />&bull; More likely to have conflicts. An update lock will block anything else updating or reading that record. Also blocks anything taking a broad read lock on that table.<br />&bull; Often triggers other activities.|
100+
|Update|&bull; Performs an update request through the platform.<br />&bull; More likely to have conflicts. An update lock will block anything else updating or reading that record. Also blocks anything taking a broad read lock on that table.<br />&bull; Often triggers other activities.<br />&bull; In some rare cases, an update lock can block a read lock. One example of where this can occur is when Dataverse metadata is being changed: Reads done by a Dataverse metadata change transaction will be blocked by update locks.|
101101
|View (RetrieveMultiple)|&bull; Would think this would block lots of other activity.<br />&bull; Although poor query optimization can affect DB resource usage and possibly hit timeouts.|
102102

103103
## Event pipeline: platform step

0 commit comments

Comments
 (0)