yuedingwangji
V2EX  ›  问与答

mysqll, 3000W 数据,添加一个字段索引

  •  
  •   yuedingwangji · Jul 25, 2017 · 1513 views
    This topic created in 3213 days ago, the information mentioned may be changed or developed.

    mysql 数据库中有一个表,表是 myISAM 引擎,每次查询都好慢,有时候一些查询语句还会导致锁表,现在在给表的其中一个字段添加索引,不知道会有什么影响? 有什么需要注意的地方么?

    顺求如何优化查询时间,希望各位给点思路和建议,谢谢

    lianxiaoyi
        1
    lianxiaoyi  
       Jul 26, 2017
    停机维护。。。。。再或者加搜索引擎
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4260 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 00:58 · PVG 08:58 · LAX 17:58 · JFK 20:58
    ♥ Do have faith in what you're doing.