MCPcopy Create free account
hub / github.com/baidu/BaikalDB

github.com/baidu/BaikalDB @v5.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.0.0 ↗ · + Follow
8,873 symbols 35,661 edges 582 files 588 documented · 7% updated 33d agov5.0.0 · 2026-06-15★ 1,237

Browse by type

Functions 7,785 Types & classes 1,088
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BaikalDB:A Distributed HTAP Database

GitHub license GitHub stars GitHub issues

BaikalDB supports sequential and randomised realtime read/write of structural data in petabytes-scale. BaikalDB is compatible with MySQL protocol and it supports MySQL style SQL dialect, by which users can migrate their data storage from MySQL to BaikalDB seamlessly.

BaikalDB internally provides projections, filter operators (corresponding with SQL WHERE or HAVING clause), aggregation operators (corresponding with GROPY BY clause) and sort operators (corresponding with SQL ORDER BY), with which users can fulfill their complex and time-critical analytical and transactional requirement by writing SQL statements. In a typical scenario, hundreds of millions of rows can be scanned and aggregated in few seconds.

BaikalDB also supports full-text search by building inverted indices after words segmentation. Users can harness fuzzy search feature simply by adding a FULLTEXT KEY type index when creating tables and then use LIKE clause in their queries.

See the github wiki for more explanation.

License

baidu/BaikalDB is licensed under the Apache License 2.0

Acknowledgements

  • We are especially grateful to the teams of RocksDB, brpc and braft, who built powerful and stable libraries to support important features of BaikalDB.
  • We give special thanks to TiDB team and Impala team. We referred their design schemes when designing and developing BaikalDB.
  • Thanks our friend team -- The Baidu TafDB team, who provide the space efficient snapshot scheme based on braft.
  • Last but not least, we give special thanks to the authors of all libraries that BaikalDB depends on, without whom BaikalDB could not have been developed and built so easily.

Comate PowerSource Initiative Logo

WeiXin Group

添加管理员olivaw2077帮忙加群,备注baikaldb

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 6,880
Class 1,000
Function 905
Enum 88

Languages

C++100%
Python1%

Modules by API surface

src/expr/internal_functions.cpp207 symbols
include/store/region.h179 symbols
include/common/common.h176 symbols
include/engine/rocksdb_filesystem.h120 symbols
src/meta_server/table_manager.cpp118 symbols
src/store/region.cpp110 symbols
src/common/schema_factory.cpp104 symbols
include/sqlparser/expr.h104 symbols
include/sqlparser/dml.h104 symbols
include/common/schema_factory.h99 symbols
src/tools/importer_handle.h96 symbols
src/store/meta_writer.cpp96 symbols

For agents

$ claude mcp add BaikalDB \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page