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.
セッションのためにMySQLで単一のテーブルをロックし、テーブルがまだロックされている間にそのテーブルをロックした同じセッション上の他のロックされていないテーブルで読み取りと書き込みを行うことは可能ですか?
はい、LOCK TABLESまさにこれを行います。
LOCK TABLES