{"id":26256927,"url":"https://github.com/sarthakmakhija/tinydb","last_synced_at":"2025-04-28T14:43:32.602Z","repository":{"id":181128161,"uuid":"655776983","full_name":"SarthakMakhija/tinyDB","owner":"SarthakMakhija","description":"Tiny relational DB implementation over an LSM tree based storage engine","archived":false,"fork":false,"pushed_at":"2024-12-23T08:14:36.000Z","size":118,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T10:33:48.010Z","etag":null,"topics":["golang","lsm-tree","relational-database","sql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SarthakMakhija.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2023-06-19T15:17:16.000Z","updated_at":"2024-12-23T08:14:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"254d5058-64f3-4199-8280-b7dd9abc6d52","html_url":"https://github.com/SarthakMakhija/tinyDB","commit_stats":null,"previous_names":["sarthakmakhija/tinydb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2FtinyDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2FtinyDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2FtinyDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2FtinyDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SarthakMakhija","download_url":"https://codeload.github.com/SarthakMakhija/tinyDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251332023,"owners_count":21572543,"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":["golang","lsm-tree","relational-database","sql"],"created_at":"2025-03-13T20:19:58.641Z","updated_at":"2025-04-28T14:43:32.572Z","avatar_url":"https://github.com/SarthakMakhija.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinyDB (WIP -\u003e Dropped)\nTiny relational DB implementation over an LSM tree based storage engine. I am not working on this anymore. The project has moved to [gorel](https://github.com/SarthakMakhija/gorel).\n\n# Idea\n\nThe idea is to provide a relational database implementation over an LSM tree based storage engine. The implementation will be used alongside my [storage engine workshop](https://github.com/SarthakMakhija/storage-engine-workshop-template).\nIt will support the following:\n\n**LSM tree based KV storage engine**\n\n- [ ] Persistence\n- [ ] Recovery\n- [ ] Support for `put(key, value)`\n- [ ] Support for `update(key, value)`\n- [ ] Support for `get(key)`\n- [ ] Support for `delete(key)`\n- [ ] Support for the getting all the values by a key prefix\n- [ ] Serialized snapshot transaction isolation\n- [ ] Concurrent execution\n- [ ] (Optional) Compaction\n\n**Relational database**\n\n- [ ] Support for creating tables\n- [ ] Support for column data types: INT, STRING, FLOAT\n- [ ] Support for creating primary and secondary key\n- [ ] Support for INSERT statement\n- [ ] Support for SELECT query by the primary key \n- [ ] Support for SELECT query by the secondary key \n- [ ] Support for SELECT query by non-key columns\n- [ ] Query parsing using [goyacc](https://pkg.go.dev/golang.org/x/tools/cmd/goyacc): CREATE TABLE, INSERT INTO, SELECT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakmakhija%2Ftinydb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarthakmakhija%2Ftinydb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakmakhija%2Ftinydb/lists"}