博客
关于我
Mysql索引
阅读量:93 次
发布时间:2019-02-25

本文共 1505 字,大约阅读时间需要 5 分钟。

MySQL?????????????

??????????????????????????????????????????????????????????????????????????????MySQL???


????????

???MySQL??????????????????????????????????????????????????????????????????????????????????MySQL??????????????????????????


???????

??????????????IO??????????????????????????????????????????????????B+??????????????????????????IO???

B+??????

B+????????????????????????????????????

  • ???????????????????????????IO???
  • ?????????????????????????????
  • ?????????????????????
  • ???????????????????????IO???????????????????????


    B+????

  • ?????????????

    ????????????????????int??????????????????????

  • ??????????

    B+???????????????????????????????????????????

  • ??????

    ????????????????????????????


  • ??????????

    1. ????

    • ?????????????????
    • ????????????????????
    • ?????????????????????
    • ??????????????????????????

    2. ??????

    • ???????ID??????????????????
    • ?????????????????????????
    • ???????????????????????

    ?????????

    1. ????

    • ??????????

      create table s1(  id int,  name varchar(20),  gender char(6),  email varchar(50),  primary key(id));
      create index idx_name on s1(name);
    • ???????

      create index idx_id on s1(id);
    • ?????

      drop index idx_name on s1;

    2. ??????

    • ?????????????????????????
    • ??????????????????????
    • ??????????????????

    ?????????

    ???????????????????

    • ??????email LIKE '%cn%'?
    • ??????reverse(email) = 'wupeiqi'?
    • ???????????nid != 123??nid???????????

    ???????

  • ????????????????????
  • ????*????????????
  • ?????????????????????

  • ??

    ????????????????????????????????????????IO???????????????????????????????????????????????????????????????????

    转载地址:http://oqt.baihongyu.com/

    你可能感兴趣的文章
    Netty框架内的宝藏:ByteBuf
    查看>>
    Netty框架的服务端开发中创建EventLoopGroup对象时线程数量源码解析
    查看>>
    Netty源码—2.Reactor线程模型一
    查看>>
    Netty源码—3.Reactor线程模型三
    查看>>
    Netty源码—4.客户端接入流程一
    查看>>
    Netty源码—4.客户端接入流程二
    查看>>
    Netty源码—5.Pipeline和Handler一
    查看>>
    Netty源码—5.Pipeline和Handler二
    查看>>
    Netty源码—6.ByteBuf原理一
    查看>>
    Netty源码—6.ByteBuf原理二
    查看>>
    Netty源码—7.ByteBuf原理三
    查看>>
    Netty源码—7.ByteBuf原理四
    查看>>
    Netty源码—8.编解码原理一
    查看>>
    Netty源码—8.编解码原理二
    查看>>
    Netty源码解读
    查看>>
    Netty的Socket编程详解-搭建服务端与客户端并进行数据传输
    查看>>
    Netty相关
    查看>>
    Netty遇到TCP发送缓冲区满了 写半包操作该如何处理
    查看>>
    Netty:ChannelPipeline和ChannelHandler为什么会鬼混在一起?
    查看>>
    Netty:原理架构解析
    查看>>