Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

BwTree

> 编程语言
Open source

Implementation of the BwTree as specified by Microsoft Research

100 stars0 likes0 views
WebsiteGitHub

About

Implementation of the BwTree as specified by Microsoft Research

BwTree

This demo implementation of a BwTree was developed as a student project at the Chair for database systems at the TU Munich.

The BwTree is a lock free in-memory B+ Tree, the principles have been described by Microsoft Research:

"The Bw-Tree: A B-tree for New Hardware Platforms": http://research.microsoft.com/pubs/178758/bw-tree-icde2013-final.pdf

Build instructions

bash
mkdir build
cd build/
cmake ..
make

Execution instructions

./BwTree

By default different artificial test cases are emulated for performance measurements. The test cases can be changed in the main.cpp file.

By executing with tcmalloc performance can be improved.

Restrictions of this implementation:

  • Merging underful pages is not implemented.
  • The mapping table cannot grow dynamically
  • Necessary operations like consolidate or split are not executed asynchronously

Troubleshooting

  • Error compiling: "error: invalid value 'c++14' in '-std=c++14'"

You need a compiler that supports C++14 in order to compile the project.

License

Copyright 2014-2015 Florian Scheibner

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言