Welcome to the My Own Database project! This repository contains the source code for building a simple database from scratch using Go.
The goal of this project is to create a basic database system to understand the underlying principles and mechanisms of database management systems. This project is implemented in Go and covers various aspects of database development, including data storage, indexing, querying, and transaction management.
- Data Storage: Efficiently store and retrieve data.
- Indexing: Implement indexing to speed up data retrieval.
- Transactions: Basic transaction management to ensure data integrity.
- Concurrency: Handle concurrent access to the database.
- Querying: Support for basic query operations.
- Go 1.22 or higher
-
Clone the repository:
git clone https://github.com/TheNhatAT/my-own-database.git cd my-own-database
-
Install dependencies:
go mod tidy
To run the project, use the following command:
go run main.go
Referenced from: Build Your Own Database