{"id":23274403,"url":"https://github.com/systemxlabs/bustubx","last_synced_at":"2025-04-07T15:11:23.801Z","repository":{"id":181114441,"uuid":"663949716","full_name":"systemxlabs/bustubx","owner":"systemxlabs","description":"[WIP] A relational database written in Rust for educational purpose, heavily inspired by cmu-db/bustub. (CMU 15-445).","archived":false,"fork":false,"pushed_at":"2024-03-26T15:04:06.000Z","size":965,"stargazers_count":104,"open_issues_count":11,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-26T21:02:49.943Z","etag":null,"topics":["bustub","database","oltp","rust","sql"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/systemxlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-07-08T14:12:52.000Z","updated_at":"2024-04-20T16:39:38.000Z","dependencies_parsed_at":"2024-01-12T10:20:56.680Z","dependency_job_id":"bfb72954-c6df-4bd7-85a2-c1e6c833438d","html_url":"https://github.com/systemxlabs/bustubx","commit_stats":null,"previous_names":["lewiszlw/tinysql","systemxlabs/tinysql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemxlabs%2Fbustubx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemxlabs%2Fbustubx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemxlabs%2Fbustubx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemxlabs%2Fbustubx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemxlabs","download_url":"https://codeload.github.com/systemxlabs/bustubx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675609,"owners_count":20977378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bustub","database","oltp","rust","sql"],"created_at":"2024-12-19T20:13:08.045Z","updated_at":"2025-04-07T15:11:23.773Z","avatar_url":"https://github.com/systemxlabs.png","language":"Rust","readme":"# BustubX - a relational database for educational purpose (CMU 15-445)\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n[![Crates.io](https://img.shields.io/crates/v/bustubx.svg)](https://crates.io/crates/bustubx)\n\n- [x] Planner\n- [x] Expression\n- [x] Functions\n- [x] Rule-based Optimizer\n- [x] Volcano Executor\n- [x] Disk Management\n- [x] Buffer Pool\n- [x] Table Heap\n- [x] System Metadata (information_schema)\n- [x] B+ Tree Index\n- [ ] Parallel Execution\n- [ ] Two Phase Locking\n- [ ] Multi-Version Concurrency Control\n- [ ] Crash Recovery\n- [ ] WASM\n\nP.S. See [here](tests/sqllogictest/slt) to know which sql statements are supported already.\n\n## Architecture\n![architecture](./docs/bustubx-architecture.png)\n\n\n## Get started\nInstall rust toolchain first.\n```\nRUST_LOG=info,bustubx=debug cargo run --bin bustubx-cli\n```\n\n![demo](./docs/bustubx-demo.png)\n\n## Reference\n- [CMU 15-445/645 Database Systems](https://15445.courses.cs.cmu.edu/fall2022/)\n- [cmu-db/bustub](https://github.com/cmu-db/bustub)\n- [Fedomn/sqlrs](https://github.com/Fedomn/sqlrs) and [blogs](https://frankma.me/categories/sqlrs/)\n- [KipData/KipSQL](https://github.com/KipData/KipSQL)\n- [ysj1173886760/TinyDB](https://github.com/ysj1173886760/TinyDB)\n- [arrow-datafusion](https://github.com/apache/arrow-datafusion)\n- [CMU 15-445课程笔记-zhenghe](https://zhenghe.gitbook.io/open-courses/cmu-15-445-645-database-systems/relational-data-model)\n- [CMU15-445 22Fall通关记录 - 知乎](https://www.zhihu.com/column/c_1605901992903004160)\n- [B+ Tree Visualization](https://www.cs.usfca.edu/~galles/visualization/BPlusTree.html)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemxlabs%2Fbustubx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemxlabs%2Fbustubx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemxlabs%2Fbustubx/lists"}