标签:解锁 关闭 read 缓存 for class str rom field
一、mysql强制加锁,
将 table1 设为read锁, table2 设为write锁, table3 设为read锁
lock tables [table1] read,[table2] write,[table3] read;
解锁
unlock tables
二、强制使用索引
FORCE INDEX
IGNORE INDEX
关闭查询缓冲 SQL_NO_CACHE
标签:解锁 关闭 read 缓存 for class str rom field
原文地址:http://www.cnblogs.com/tangchuanyang/p/6674564.html