提交 67477841 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add note to “Avoiding Deadlocks” section

上级 4229822d
......@@ -937,6 +937,9 @@ The initial lock timeout (that is the timeout used for new connections) can be s
To avoid deadlocks, ensure that all transactions lock the tables in the same order
(for example in alphabetical order), and avoid upgrading read locks to write locks.
Both can be achieved using explicitly locking tables using <code>SELECT ... FOR UPDATE</code>.
</p><p>
Note that delete, insert and update operations issue table level locks with PageStore engine,
but does not issue them with default MVStore engine.
</p>
<h2 id="database_file_layout">Database File Layout</h2>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论