B+Tree on-disk implementation in Java

后端 未结 3 560
温柔的废话
温柔的废话 2021-01-05 06:56

Does anyone know where to find a B+Tree on-disk implementation? I went through google forward and backward and unfortunately I couldn\'t find anything sensible. Other thread

相关标签:
3条回答
  • 2021-01-05 07:17

    There is a GDBM-inspired Java persistence engine: MapDB

    0 讨论(0)
  • 2021-01-05 07:24

    If you need it for real usage rather than for educational purposes (studying B+Tree data structure, etc.), LMDBJava is probably the best solution, available in Java now. It's not B+Tree exactly, but also a sorted key-value store, so practically the same as B+Tree.

    0 讨论(0)
  • 2021-01-05 07:29

    I've implemented disk-based B+-tree in the past. https://github.com/myui/xbird/blob/master/xbird-open/main/src/java/xbird/storage/index/BIndexFile.java

    Find usage in https://github.com/myui/xbird/blob/master/xbird-open/main/test/java/xbird/storage/index/BIndexMultiValueFileTest.java

    0 讨论(0)
提交回复
热议问题