mysql小知识点摘抄

    xiaoxiao2025-07-07  8

    行级锁:对于mysql,InnoDB预设的是Row-level Lock,但是,需要明确的指定主键,才会执行行级锁,否则执行的为表锁。 如select * from job_info where id = 1 for update; 若不出现主键为表锁。
    转载请注明原文地址: https://ju.6miu.com/read-1300445.html
    最新回复(0)