Git Product home page Git Product logo

blog-comment's People

Watchers

 avatar  avatar

blog-comment's Issues

mysql B+tree的树高和分叉个数 - tanic's blog

https://iushas.github.io/2020/04/13/mysql-B-tree%E7%9A%84%E6%A0%91%E9%AB%98%E5%92%8C%E5%88%86%E5%8F%89%E4%B8%AA%E6%95%B0/#post-footer

mysql的索引按照页来存储, 目前大多数操作系统,一个页的大小为16KB。拿主键索引树举例,1、如果主键为int 占4个字节, 一个指针(64位系统)占8个字节, 则根结点可存储16KB/(4+8) 约等于1300, 此时分叉数约为1300当树高为3时, 可存储数据条数 1300^3 =21970000002、如果主键为bigint 占8个字节, 一个指针(64位系统)占8个字节, 则根结点可存

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.