简体   繁体   English

B +树叶节点大小

[英]B+ Tree leaf node size

在此处输入图片说明

In this picture, explaining that node size n is 4 (n = 4) but I wonder that which one is node or pointer I think that Brandt, Califieri, Crick 's section is node but that section size is only 3... and between that section is pointer ( I think..) 在这张照片中,解释了节点大小n为4(n = 4),但是我想知道哪一个是节点或指针,我认为Brandt,Califieri,Crick的部分是节点,但是部分大小只有3 ...并且该部分之间是指针(我认为..)

so. 所以。 I really want to know 'n = 4' exactly mean and how select n's size and this picture's mean... 我真的很想知道'n = 4'的确切意思,以及如何选择n的大小和这张照片的意思...

thx..... ^^..;; thx ..... ^^ .. ;;

As per the image , i think node is a row of the table containing 4 columns . 根据图像,我认为节点是表的一行,包含4列。 The so named leaf node in image here , is some other structure , pointer of whose type can point to a node(row) of the given database. 图像中所谓的叶节点是其他结构,其类型的指针可以指向给定数据库的节点(行)。


Probably the leaf node is an array of 3 leaf node pointers , each component of which has 2 fields. 叶子节点可能是一个由3个叶子节点指针组成的数组,每个指针都有2个字段。 One for pointer , and other for a string like "Brandit". 一个用于指针,另一个用于类似“ Brandit”的字符串。


Or it may be a node with 7 fields , three of which are data fields and 4 are pointers to a node(row) of a database. 或者它可以是具有7个字段的节点,其中三个是数据字段,而4个是指向数据库节点(行)的指针。


声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM