Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lffg/fdb
A simple (and unfinished!!) database management system.
https://github.com/lffg/fdb
db
Last synced: about 2 months ago
JSON representation
A simple (and unfinished!!) database management system.
- Host: GitHub
- URL: https://github.com/lffg/fdb
- Owner: lffg
- License: gpl-3.0
- Created: 2023-02-17T02:11:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-12T01:23:25.000Z (over 1 year ago)
- Last Synced: 2024-06-12T11:26:25.510Z (4 months ago)
- Topics: db
- Language: Rust
- Homepage:
- Size: 529 KB
- Stars: 18
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fdb — my first database
Tiny database for a school project.
## How to run?
Download the Rust Language toolchain at
.Clone the repository and run:
```
cargo run
```If one wants to see logs:
```
RUST_LOG= cargo run
```Where `` can be `trace`, `debug`, `info`, `warn` or `error`.
## Dataset for tests
Though this database supports arbitrary user-defined schemas, while being
developed, we used the Lichess database for testing purposes. If you also want
to use such a dataset for testing purposes, you may download it at
https://database.lichess.org. Follow the instructions on how to decompress the
archive.Hence, while not related to the database implementation, this repository also
provides a script to parse the unpacked [PGN] file and ingest it into the
database.[pgn]: https://en.wikipedia.org/wiki/Portable_Game_Notation
## References
- [CMU Database Systems Course](https://15445.courses.cs.cmu.edu/fall2022/schedule.html).
- [SQLite Database File Format](https://www.sqlite.org/fileformat.html).
- Database Internals: A Deep Dive Into How Distributed Data Systems Work.