› 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
NicolayShi
V2EX  ›  MySQL

请教大家一个三个字段的联合索引只命中其中一个字段快还是命中其中两个字段快,为什么呢~

  •  
  •   NicolayShi · May 14, 2019 · 5588 views
    This topic created in 2690 days ago, the information mentioned may be changed or developed.
    2 replies  •  2019-05-14 13:56:45 +08:00
    elioti
        1
    elioti  
       May 14, 2019
    看联合索引列的排序,先能看出是否能够使用到索引。问出这个问题应该对联合索引的生成和使用没什么概念。
    jiang1234321
        2
    jiang1234321  
       May 14, 2019
    靠左原则
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   863 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:08 · PVG 05:08 · LAX 14:08 · JFK 17:08
    ♥ Do have faith in what you're doing.