摘要:
禁止使用索引:ignore index---------------------强制使用索引:forceindexmysql> explain select * from userinfo where username='test1'\G*************************** 1. row *************************** id: 1 select_type: SIMPLE table: userinfo type: refpossible_keys: username key: use... 阅读全文