博客
关于我
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/

    你可能感兴趣的文章
    PHP代码格式化工具phpcf常见问题解决方案
    查看>>
    PHP使用3DES算法加密解密字符串
    查看>>
    PHP使用curl multi要注意的问题:每次使用curl multi同时并发多少请求合适
    查看>>
    php使用memcached扩展的一个BUG
    查看>>
    SpringBoot基础教程2-1-11 RestTemplate整合HttpClient
    查看>>
    PHP入门part1
    查看>>
    PHP兼容性检查,PHP升级语法检查(PHPCompatibility+PHP_CodeSniffer)
    查看>>
    PHP内核介绍及扩展开发指南—基础知识
    查看>>
    php内核基础说明
    查看>>
    PHP写日志fwrite和file_put_contents的区别与性能
    查看>>
    PHP写计划任务
    查看>>
    PHP出现Notice: unserialize() [function.unserialize]: Error at offset问题的解决方案
    查看>>
    PHP函数
    查看>>
    React input defaultValue不会更新状态怎么办?
    查看>>
    PHP函数__autoload失效原因(与smarty有关)
    查看>>
    PHP函数判断移动端和PC端
    查看>>
    Springboot基础入门
    查看>>
    php函数性能优化中应注意哪些问题?
    查看>>
    PHP函数操作数字和汉字互转(100以内)
    查看>>
    PHP函数方法
    查看>>