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

    你可能感兴趣的文章
    Python基础——_thread多线程
    查看>>
    Python基础——Thread类与线程对象
    查看>>
    Python基础——Thread创建管理多线程
    查看>>
    Python基础——SQLite数据库基本操作
    查看>>
    Python基础——MySQL数据库基本操作
    查看>>
    Python基础_列表 list
    查看>>
    python系列【仅供参考】:python异步库调用gevent和asyncio对比
    查看>>
    python基础3
    查看>>
    Python基础08 面向对象的基本概念
    查看>>
    python系列【仅供参考】:python二进制转10进制
    查看>>
    Python基础-函数篇
    查看>>
    python基础---->常用模块
    查看>>
    Python基础(2):控制结构
    查看>>
    Python基础 | 关于“循环”那些事
    查看>>
    python系列【仅供参考】:python之subprocess模块rsync拉取文件
    查看>>
    python系列【仅供参考】:python 远程rdp
    查看>>
    python基础
    查看>>
    Python基本语法与变量类型
    查看>>
    python基本数据类型(容器)- tuple list dict set
    查看>>
    python基本工资的调整方案_Python薪资又涨了!这可咋办!
    查看>>