{"id":23652929,"url":"https://github.com/milen-denev/rasterizeddb","last_synced_at":"2025-09-01T04:31:33.435Z","repository":{"id":269047576,"uuid":"906283186","full_name":"milen-denev/rasterizeddb","owner":"milen-denev","description":"A new schemafull, Postgres compatible, high-performance database written from scratch in Rust. https://crates.io/crates/rasterizeddb_core","archived":false,"fork":false,"pushed_at":"2025-08-24T14:57:03.000Z","size":847,"stargazers_count":194,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-24T19:45:15.907Z","etag":null,"topics":["database","rql","schemaless","sql"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milen-denev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-GPL","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,"zenodo":null}},"created_at":"2024-12-20T14:55:01.000Z","updated_at":"2025-08-24T14:57:07.000Z","dependencies_parsed_at":"2024-12-20T15:23:02.715Z","dependency_job_id":"6bf5aff1-e273-4d2f-8f66-f2a5786dfa25","html_url":"https://github.com/milen-denev/rasterizeddb","commit_stats":null,"previous_names":["milen-denev/rasterizeddb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/milen-denev/rasterizeddb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milen-denev%2Frasterizeddb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milen-denev%2Frasterizeddb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milen-denev%2Frasterizeddb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milen-denev%2Frasterizeddb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milen-denev","download_url":"https://codeload.github.com/milen-denev/rasterizeddb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milen-denev%2Frasterizeddb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273073169,"owners_count":25040674,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["database","rql","schemaless","sql"],"created_at":"2024-12-28T17:38:02.062Z","updated_at":"2025-09-01T04:31:33.414Z","avatar_url":"https://github.com/milen-denev.png","language":"Rust","funding_links":["https://buymeacoffee.com/milen.denev"],"categories":["\u003ca name=\"Rust\"\u003e\u003c/a\u003eRust"],"sub_categories":[],"readme":"\n# Rasterized DB\n## A high-performance database written from scratch in Rust — now fully rewritten.\n### Vision\n\n#### Complete Rewrite\nRasterized DB has recently undergone a complete rewrite from the ground up and is still in an active state of redevelopment. This major overhaul has brought significant architectural changes to improve stability, performance, and developer experience. Many components are being redesigned for long-term maintainability, and the database will continue to evolve rapidly until its core design reaches maturity.\n\n#### From Schemaless to Schema-Full\nOriginally conceived as a schemaless database, Rasterized DB is now schema-full. The database itself now manages and enforces the schema, reducing complexity for client applications and enabling stronger data consistency. This change also opens the door to richer query capabilities and deeper optimizations at the storage and execution layers.\n\n#### PostgreSQL Dialect Compatibility\nTo make adoption easier, Rasterized DB aims for compatibility with the PostgreSQL SQL dialect, the most widely used and supported SQL standard in production environments. While not all PostgreSQL features are currently implemented, this compatibility goal ensures developers can leverage familiar syntax and tools without learning a proprietary query language from scratch.\n\n#### Performance Philosophy\nRasterized DB takes inspiration from how the web handles caching. Just like a browser reuses files when their cache headers indicate they’re still valid, Rasterized DB hashes each query so repeated requests can instantly fetch results from a known storage offset without rescanning the dataset.\n\nFuture updates will introduce in-memory row caching, allowing certain queries to bypass disk entirely. This approach will merge the speed of in-memory stores like Redis with the persistence of a traditional database.\n\n#### Why Rust?\nRust combines zero-cost abstractions with low-level performance control, making it ideal for building a database that is both fast and safe. Its memory safety guarantees reduce the risk of crashes or data corruption, while still enabling optimizations close to the hardware.\n\n#### Scalability and Future Features\n\nRasterized DB is designed to handle virtually unlimited data sizes, row counts, and column counts. Planned features include:\n\n- Advanced data types: arrays, vectors, tensors, and more\n- Row insertion, updates, and deletions via SQL\n- Vacuuming unused space\n- UUID (GUID) support\n- Fully functional RETURN, LIMIT, and advanced SELECT capabilities\n- Server mode with network access\n- Sharding for horizontal scalability\n- Compression for storage efficiency\n- Table immutability options\n\n#### ORM \u0026 Ecosystem\nAn official Rust ORM is in development, with a C# ORM planned afterward. These tools will provide a seamless experience when integrating Rasterized DB into applications.\n\n#### Stability\nCurrently, Rasterized DB is not stable. Table formats, storage engines, and query processing internals are likely to change until version 1.0.0. Use it at your own risk in production environments.\n\n### How to use the current API?\n\n```rust\n// COMING SOON\n// Please refer to the main.rs and core/mock_table.rs and core/mock_helpers.rs to see API in use.\n```\n\n##### Sponsor\n\n[![Buy me a coffe](https://raw.githubusercontent.com/vasundhasauras/badge-bmc/1bf9f937862f918818d3528cce12256be0116570/badges/coffee/buy%20me%20a%20coffee/bm_coffee.svg \"Buy me a coffe\")](https://buymeacoffee.com/milen.denev)\n\n### License\nEverything in this directory is distributed under GNU GENERAL PUBLIC LICENSE version 3.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilen-denev%2Frasterizeddb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilen-denev%2Frasterizeddb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilen-denev%2Frasterizeddb/lists"}