Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.