Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
休止状態 (v3.6) ロック モードの UPGRADE_NOWAIT と UPGRADE の違いは何ですか?
これらの各ロック モードをどのような場合に使用しますか?
基本的な違いは、ロックの取得 (待機または待機) にあります。
UPGRADE廃止されました。Oracle スタイルを使用して、アップグレード ロックの取得を試みますselect for update。
UPGRADE
select for update
UPGRADE_NOWAIT- Oracle スタイルを使用して、アップグレード ロックの取得を試みますselect for update **nowait**。このロック モードのセマンティクスonce obtained, are the same as UPGRADE.
UPGRADE_NOWAIT
select for update **nowait**
once obtained, are the same as UPGRADE