This is a simple single-threaded database built for learning purposes.
It supports basic operations such as:
- Creating schemas
- Creating tables
- Inserting rows
Supported data types:
- INT
- STRING
- FLOAT
Build the project using CMake:
cmake -S . -B build
cmake --build build
Run the database:
./build/db_scratch
A Dockerfile is provided to build and run the project inside a container.
docker build -t db_scratch .
docker run -it db_scratch
Inside the container:
./build/db_scratch
-
The Docker image includes build tools and is intended for both development and debugging.
-
If you modify the source code, rebuild the image:
docker build -t db_scratch .
Uses a basic CMake setup for building the project.