<legend id='Ljeku'><style id='Ljeku'><dir id='Ljeku'><q id='Ljeku'></q></dir></style></legend>

      <tfoot id='Ljeku'></tfoot>

      • <bdo id='Ljeku'></bdo><ul id='Ljeku'></ul>
    1. <small id='Ljeku'></small><noframes id='Ljeku'>

    2. <i id='Ljeku'><tr id='Ljeku'><dt id='Ljeku'><q id='Ljeku'><span id='Ljeku'><b id='Ljeku'><form id='Ljeku'><ins id='Ljeku'></ins><ul id='Ljeku'></ul><sub id='Ljeku'></sub></form><legend id='Ljeku'></legend><bdo id='Ljeku'><pre id='Ljeku'><center id='Ljeku'></center></pre></bdo></b><th id='Ljeku'></th></span></q></dt></tr></i><div id='Ljeku'><tfoot id='Ljeku'></tfoot><dl id='Ljeku'><fieldset id='Ljeku'></fieldset></dl></div>

      在 C++ 或 C 中寻找基于磁盘的 B+ 树实现

      时间:2023-06-04
        • <bdo id='9wTEm'></bdo><ul id='9wTEm'></ul>
        • <small id='9wTEm'></small><noframes id='9wTEm'>

            <tfoot id='9wTEm'></tfoot><legend id='9wTEm'><style id='9wTEm'><dir id='9wTEm'><q id='9wTEm'></q></dir></style></legend>
                <tbody id='9wTEm'></tbody>
              <i id='9wTEm'><tr id='9wTEm'><dt id='9wTEm'><q id='9wTEm'><span id='9wTEm'><b id='9wTEm'><form id='9wTEm'><ins id='9wTEm'></ins><ul id='9wTEm'></ul><sub id='9wTEm'></sub></form><legend id='9wTEm'></legend><bdo id='9wTEm'><pre id='9wTEm'><center id='9wTEm'></center></pre></bdo></b><th id='9wTEm'></th></span></q></dt></tr></i><div id='9wTEm'><tfoot id='9wTEm'></tfoot><dl id='9wTEm'><fieldset id='9wTEm'></fieldset></dl></div>

              1. 本文介绍了在 C++ 或 C 中寻找基于磁盘的 B+ 树实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在寻找一种使用磁盘文件存储树的轻量级开源分页 B+ 树实现.

                I am looking for a lightweight opensource paging B+ tree implementation that uses a disk file for storing the tree.

                到目前为止,我只找到了基于内存的实现,或某些东西 依赖于 QT (?!) 甚至无法编译.

                So far I have found only memory-based implementations, or something that has dependency on QT (?!) and does not even compile.

                现代 C++ 是首选,但 C 也可以.

                Modern C++ is preferred, but C will do too.

                我更喜欢避免完全可嵌入的 DBMS 解决方案,因为:1) 对于我的需求,可以使用最简单的磁盘文件组织的裸骨索引就足够了,不需要并发性、原子性和其他一切.2)我用它来设计我自己的索引,很可能会改变一些算法和存储布局.我想以最少的努力做到这一点.它不会是生产代码.

                I prefer to avoid full embeddable DBMS solution, because: 1) for my needs bare bone index that can use the simplest possible disk file organization is enough, no need for concurrency, atomicity and everything else. 2) I am using this to prototype my own index, and most likely will change some of the algorithms and storage layout. I want to do that with a minimum of effort. It's not going to be production code.

                推荐答案

                http://people.csail.mit.edu/jaffer/WB.

                您还可以考虑重新使用开源可嵌入数据库中的 B-Tree 实现.(BDB、SQLite 等)

                You can also consider re-using the B-Tree implementations from an open source embeddable database. (BDB, SQLite etc)

                这篇关于在 C++ 或 C 中寻找基于磁盘的 B+ 树实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:C++ 数据成员对齐和数组打包 下一篇:如何对 C++ 代码的性能进行基准测试?

                相关文章

                <i id='P3NAK'><tr id='P3NAK'><dt id='P3NAK'><q id='P3NAK'><span id='P3NAK'><b id='P3NAK'><form id='P3NAK'><ins id='P3NAK'></ins><ul id='P3NAK'></ul><sub id='P3NAK'></sub></form><legend id='P3NAK'></legend><bdo id='P3NAK'><pre id='P3NAK'><center id='P3NAK'></center></pre></bdo></b><th id='P3NAK'></th></span></q></dt></tr></i><div id='P3NAK'><tfoot id='P3NAK'></tfoot><dl id='P3NAK'><fieldset id='P3NAK'></fieldset></dl></div>

                    • <bdo id='P3NAK'></bdo><ul id='P3NAK'></ul>
                    <legend id='P3NAK'><style id='P3NAK'><dir id='P3NAK'><q id='P3NAK'></q></dir></style></legend>
                  1. <small id='P3NAK'></small><noframes id='P3NAK'>

                    <tfoot id='P3NAK'></tfoot>