English 中文(简体)
no子的钥匙在 no子分离时是否重复?
原标题:Are keys in B-tree nodes duplicated when the node is split?
  • 时间:2010-04-03 00:02:07
  •  标签:
  • b-tree

当博特里的 no子分离时,新 no子中原 no的钥匙是否重复? 这样做的目的是什么? 是否缺乏效率?

问题回答

页: 1 它都是用点人做的。 半数点人移到新的 no点。

当然,没有任何东西,如B-特里。 有许多不同的执行。 我可以想象的是,这些钥匙实际上储存在 no子里,例如钥匙所在树。 但是,它们仍然不会重复,只是数据复制。

如果贵方的牛肉是堆积在 no子中留下的储存,那么,这种储存会带来另一种最佳选择,即是否释放和重新定位。 不可原谅的是,由于更多的插入能够进入关键空间的第1/2号。

我认为,你指的是B+树。

在我所写的“B+”树中,我确实重复了母子在分裂期间的主要价值。 母体的钥匙被设定为最低值的左胎,并注明左胎。 右线最低值成为母体的关键[物+1]。





相关问题
how B-tree indexing works in mysql

When I create an index for a table in mysql, I see that the index_type is type BTREE. Now although I understand about btree(s), I do not quiet understand how it stores the index and how the database ...

Best data structure for crossword puzzle search

I have a large database for solving crossword puzzles, consisting of a word and a description. My application allows searching for words of a specific length and characters on specific positions (this ...

Does anybody know how B-Tree got its name?

I m reading CLRS and studying the B-Tree now. CLRS claims that B-Tree naming is not clear yet: [Bayer, McCreight, 1972] doesn t offer the reason why B-Tree is named "B-Tree". I haven t investigated ...

How are B Tree nodes typically represented?

I ve been doing some brushing up on my B-Tree and 2-3-4 tree (B tree with order 4), and I m attempting to implement this in C#. My question to you is, given that a B-Tree node can contains N-1 number ...

C/C++: How to store data in a file in B tree

It appears to me that one way of storing data in a B-tree as a file can be done efficiently with C using binary file with a sequence (array) of structs, with each struct representing a node. One can ...

Advantages of BTree+ over BTree [duplicate]

Possible Duplicate: B- trees, B+ trees difference What are the advantages/disadvantages of BTree+ over BTree? When should I prefer one over other? I m also interested in knowing any real world ...

Serializing BTree to a file

I m trying to implement a BTree. I m pretty much done with the tree and works great for a smaller input which means I ve implemented the tree in memory. Now I would like to play with large input for ...

Advantage of BTREE?

I create indexes without the USING BTREE clause. Is there any advantage of using BTREE index? CREATE INDEX `SomeName` USING BTREE ON `tbl_Name`(`column_name`);

热门标签