{"id":13569578,"url":"https://github.com/qinsql/QinSQL","last_synced_at":"2025-04-04T05:33:13.822Z","repository":{"id":46240645,"uuid":"197139729","full_name":"qinsql/QinSQL","owner":"qinsql","description":"AI 时代的智能数据库","archived":false,"fork":false,"pushed_at":"2023-11-09T16:32:14.000Z","size":7574,"stargazers_count":227,"open_issues_count":0,"forks_count":52,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-08-02T14:06:45.728Z","etag":null,"topics":["lakehouse","olap","oltp"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qinsql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-16T07:06:19.000Z","updated_at":"2024-06-13T03:14:56.000Z","dependencies_parsed_at":"2023-11-09T17:46:22.207Z","dependency_job_id":null,"html_url":"https://github.com/qinsql/QinSQL","commit_stats":null,"previous_names":["codefollower/bats"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinsql%2FQinSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinsql%2FQinSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinsql%2FQinSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinsql%2FQinSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qinsql","download_url":"https://codeload.github.com/qinsql/QinSQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223100124,"owners_count":17087387,"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":["lakehouse","olap","oltp"],"created_at":"2024-08-01T14:00:41.588Z","updated_at":"2024-11-05T01:32:49.630Z","avatar_url":"https://github.com/qinsql.png","language":"Java","funding_links":[],"categories":["Java","大数据"],"sub_categories":[],"readme":"# 此项目已经迁移到 [lealone-olap](https://github.com/lealone-plugins/lealone-olap)\n\n# QinSQL\n\nQinSQL 是一个基于 [Lealone](https://github.com/lealone/Lealone) 的可暂停的渐进式 OLAP 引擎\n\n\n## 编译需要\n\n* Git 2.32+\n* JDK 17+\n* Maven 3.8+\n\n\n## 下载项目源代码\n\n`git clone https://github.com/qinsql/QinSQL.git qinsql`\n\n假设源代码放在 `E:\\qinsql`\n\n\n## 从源代码构建\n\n进入 E:\\qinsql 目录，运行: `mvn clean package assembly:assembly -Dmaven.test.skip=true`\n\n生成的文件放在 E:\\qinsql\\target 目录中，\n默认生成 qinsql-x.y.z.tar.gz 和 qinsql-x.y.z.zip 两个压缩文件，\n其中 x.y.z 代表实际的版本号\n\n如果运行: `mvn package -Dmaven.test.skip=true -P database`\n\n只生成 qinsql-x.y.z.jar\n\n\n## 运行 QinSQL\n\n进入 `qinsql\\target\\qinsql-6.0.0-SNAPSHOT\\bin` 目录，运行: `qinsql`\n\n或者进入 `qinsql\\target` 目录，运行: `java -jar qinsql-6.0.0-SNAPSHOT.jar`\n\n```java\nINFO 08:50:14.554 Lealone version: 6.0.0-SNAPSHOT\nINFO 08:50:14.561 Loading config from file:/E:/qinsql/qinsql-test/target/test-classes/qinsql-test.yaml\nINFO 08:50:14.611 Base dir: E:/qinsql/qinsql-test/target/test-data\nINFO 08:50:14.619 Init storage engines: 5 ms\nINFO 08:50:14.654 Init transaction engines: 35 ms\nINFO 08:50:14.660 Init sql engines: 6 ms\nINFO 08:50:14.835 Init protocol server engines: 174 ms\nINFO 08:50:14.836 Init lealone database: 0 ms\nINFO 08:50:14.837 TcpServer started, host: 127.0.0.1, port: 9210\nINFO 08:50:14.838 MongoServer started, host: 127.0.0.1, port: 27017\nINFO 08:50:14.841 MySQLServer started, host: 127.0.0.1, port: 3306\nINFO 08:50:14.841 PgServer started, host: 127.0.0.1, port: 5432\nINFO 08:50:14.842 Total time: 286 ms (Load config: 54 ms, Init: 226 ms, Start: 6 ms)\nINFO 08:50:14.842 Exit with Ctrl+C\n```\n\n## 在 IDE 中运行\n\n代码导入 IDE 后，直接运行 [QinServerStart](https://github.com/qinsql/QinSQL/blob/master/qinsql-test/src/test/java/org/qinsql/test/QinServerStart.java)\n\n\n## 启用 OLAP 引擎\n\n`set olap_threshold 1000;`\n\n当执行 select 语句时，如果遍历了1000条记录还没有结束就会自动启用 OLAP 引擎\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqinsql%2FQinSQL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqinsql%2FQinSQL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqinsql%2FQinSQL/lists"}