V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
ooee2016
V2EX  ›  MySQL

请教个 mysql 单表查询走索引但是很慢的问题。

  •  
  •   ooee2016 · Mar 2, 2021 · 2112 views
    This topic created in 1893 days ago, the information mentioned may be changed or developed.

    remove

    2 replies    2021-03-06 14:18:56 +08:00
    qiayue
        1
    qiayue  
    PRO
       Mar 2, 2021   ❤️ 1
    看看两张表的 business_number 字段格式是否一致
    sinmu
        2
    sinmu  
       Mar 6, 2021
    可以看看是不是真的走了索引,explain select * from table where a='a'
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1112 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:25 · PVG 02:25 · LAX 11:25 · JFK 14:25
    ♥ Do have faith in what you're doing.