{"id":24296587,"url":"https://github.com/kipdata/kitesql","last_synced_at":"2025-05-15T10:07:38.626Z","repository":{"id":173049263,"uuid":"649519006","full_name":"KipData/KiteSQL","owner":"KipData","description":"SQL as a Function for Rust","archived":false,"fork":false,"pushed_at":"2025-02-12T16:13:16.000Z","size":3179,"stargazers_count":605,"open_issues_count":19,"forks_count":50,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-15T10:07:01.879Z","etag":null,"topics":["data","database","embeddings","myrocks","oltp","postgresql","query-engine","rust","rust-lang","sql","sql-query","sql-server","sqlite","sqlite-database","web"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KipData.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05T03:53:10.000Z","updated_at":"2025-05-02T10:51:29.000Z","dependencies_parsed_at":"2023-09-23T17:08:34.520Z","dependency_job_id":"cdd11822-902c-4acf-a818-b47f65c82918","html_url":"https://github.com/KipData/KiteSQL","commit_stats":null,"previous_names":["kipdata/kipsql","kipdata/fncksql","kipdata/kitesql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KipData%2FKiteSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KipData%2FKiteSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KipData%2FKiteSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KipData%2FKiteSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KipData","download_url":"https://codeload.github.com/KipData/KiteSQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319721,"owners_count":22051074,"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":["data","database","embeddings","myrocks","oltp","postgresql","query-engine","rust","rust-lang","sql","sql-query","sql-server","sqlite","sqlite-database","web"],"created_at":"2025-01-16T19:24:36.370Z","updated_at":"2025-05-15T10:07:33.605Z","avatar_url":"https://github.com/KipData.png","language":"Rust","readme":"\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource srcset=\"./static/images/kite_sql_dark.png\" media=\"(prefers-color-scheme: dark)\"\u003e\n    \u003csource srcset=\"./static/images/kite_sql_light.png\" media=\"(prefers-color-scheme: light)\"\u003e\n    \u003cimg src=\"./static/images/kite_sql_light.png\" alt=\"KiteSQL Logo\" width=\"400px\"\u003e\n  \u003c/picture\u003e    \n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n    SQL as a Function for Rust\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://summer-ospp.ac.cn/org/orgdetail/0b09d23d-2510-4537-aa9d-45158bb6bdc2\"\u003e\u003cimg src=\"https://img.shields.io/badge/OSPP-KipData-3DA639?logo=opensourceinitiative\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/KipData/KiteSQL/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/KipData/KiteSQL\"\u003e\u003c/a\u003e\n    \u0026nbsp;\n    \u003ca href=\"https://www.rust-lang.org/community\"\u003e\u003cimg src=\"https://img.shields.io/badge/Rust_Community%20-Join_us-brightgreen?style=plastic\u0026logo=rust\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/KipData/KiteSQL/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/KipData/KiteSQL/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/kite_sql/\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/kite_sql.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/KipData/KiteSQL\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/KipData/KiteSQL.svg?style=social\" alt=\"github star\"/\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/KipData/KiteSQL.svg?style=social\" alt=\"github fork\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Introduction\n**KiteSQL** is a lightweight embedded database inspired by **MyRocks** and **SQLite** and completely coded in Rust. It aims to provide a more user-friendly, lightweight, and low-loss RDBMS for Rust programming so that the APP does not rely on other complex components. It can perform complex relational data operations.\n\n## Key Features\n- A lightweight embedded SQL database fully rewritten in Rust\n- Higher write speed, more user-friendly API\n- All metadata and actual data in KV Storage, and there is no state component (e.g. system table) in the middle\n- Supports extending storage for customized workloads\n- Supports most of the SQL 2016 syntax\n\n#### 👉[check more](docs/features.md)\n\n## Examples\n\n```rust\nlet kite_sql = DataBaseBuilder::path(\"./data\").build()?;\n\nkite_sql\n    .run(\"create table if not exists t1 (c1 int primary key, c2 int)\")?\n    .done()?;\nkite_sql\n    .run(\"insert into t1 values(0, 0), (1, 1)\")?\n    .done()?;\n\nfor tuple in kite_sql.run(\"select * from t1\")? {\n    println!(\"{:?}\", tuple?);\n}\n```\n\n👉**more examples**\n- [hello_word](examples/hello_world.rs)\n- [transaction](examples/transaction.rs)\n\n## TPC-C\nrun `cargo run -p tpcc --release` to run tpcc\n\n- i9-13900HX\n- 32.0 GB\n- KIOXIA-EXCERIA PLUS G3 SSD\n- Tips: TPC-C currently only supports single thread\n```shell\n\u003c90th Percentile RT (MaxRT)\u003e\n   New-Order : 0.002  (0.004)\n     Payment : 0.001  (0.025)\nOrder-Status : 0.053  (0.175)\n    Delivery : 0.022  (0.027)\n Stock-Level : 0.003  (0.019)\n\u003cTpmC\u003e\n7815 tpmC\n```\n#### 👉[check more](tpcc/README.md)\n\n## Roadmap\n- Get [SQL 2016](https://github.com/KipData/KiteSQL/issues/130) mostly supported\n- LLVM JIT: [Perf: TPCC](https://github.com/KipData/KiteSQL/issues/247)\n\n## License\n\nKiteSQL uses the [Apache 2.0 license][1] to strike a balance between\nopen contributions and allowing you to use the software however you want.\n\n[1]: \u003chttps://github.com/KipData/KiteSQL/blob/main/LICENSE\u003e\n\n## Contributors\n[![](https://opencollective.com/kitesql/contributors.svg?width=890\u0026button=false)](https://github.com/KipData/KiteSQL/graphs/contributors)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkipdata%2Fkitesql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkipdata%2Fkitesql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkipdata%2Fkitesql/lists"}