# tugraph-db **Repository Path**: tugraph/tugraph-db ## Basic Information - **Project Name**: tugraph-db - **Description**: TuGraph DB是一个高性能单机图数据库。 - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://github.com/TuGraph-family/tugraph-db - **GVP Project**: No ## Statistics - **Stars**: 29 - **Forks**: 6 - **Created**: 2022-09-02 - **Last Updated**: 2025-04-21 ## Categories & Tags **Categories**: database-service **Tags**: None ## README # TuGraph [](https://github.com/TuGraph-family/tugraph-db/releases) [](https://github.com/TuGraph-family/tugraph-db/actions/workflows/ci.yml) [](https://tugraph-db.readthedocs.io/en/latest/?badge=latest) [](https://github.com/TuGraph-family/tugraph-db/commits/master) [](https://codecov.io/gh/TuGraph-family/tugraph-db) [](https://github.com/TuGraph-family/tugraph-db/stargazers) [](https://github.com/TuGraph-family/tugraph-db/forks) [](https://github.com/TuGraph-family/tugraph-db/contributors) [](https://hub.docker.com/r/tugraph/tugraph-runtime-centos7/tags) [](https://www.apache.org/licenses/LICENSE-2.0.html) [](https://tugraph-db.readthedocs.io/en/latest) [](https://tugraph-db.readthedocs.io/zh-cn/latest) [[English Version]](README.md) :mega: **TuGraph 现在在阿里云计算巢提供[免费试用](https://computenest.console.aliyun.com/user/cn-hangzhou/serviceInstanceCreate?ServiceId=service-7b50ea3d20e643da95bf&ServiceVersion=1&isTrial=true) 可参见 [操作指引](https://aliyun-computenest.github.io/quickstart-tugraph/)**。 ## 1. 简介 TuGraph 是支持大数据容量、低延迟查找和快速图分析功能的高效图数据库。 主要功能: - 标签属性图模型 - 完善的 ACID 事务处理 - 内置 34 图分析算法 - 支持全文/主键/二级索引 - OpenCypher 图查询语言 - 基于 C++/Python 的存储过程 性能和可扩展性: - LDBC SNB世界记录保持者 (2022/9/1 https://ldbcouncil.org/benchmarks/snb/) - 支持存储多达数十TB的数据 - 每秒访问数百万个顶点 - 快速批量导入 TuGraph的文档在[链接](https://tugraph-db.readthedocs.io/zh_CN/latest),欢迎访问我们的[官网](https://www.tugraph.org)。 ## 2. 快速上手 一个简单的方法是使用docker进行设置,可以在[DockerHub](https://hub.docker.com/u/tugraph)中找到, 名称为`tugraph/tugraph-runtime-[os]:[tugraph version]`, 例如, `tugraph/tugraph-runtime-centos7:3.3.0`。 更多详情请参考 [快速上手文档](./docs/zh-CN/source/3.quick-start/1.preparation.md) 和 [业务开发指南](./docs/zh-CN/source/development_guide.md). ## 3. 从源代码编译 建议在Linux系统中构建TuGraph,Docker环境是个不错的选择。如果您想设置一个新的环境,请参考[Dockerfile](ci/images). 以下是编译TuGraph的步骤: 1. 如果需要web接口运行`deps/build_deps.sh`,不需要web接口则跳过此步骤 2. 根据容器系统信息执行`cmake .. -DOURSYSTEM=centos`或者`cmake .. -DOURSYSTEM=ubuntu` 3. `make` 4. `make package` 或者 `cpack --config CPackConfig.cmake` 示例:`tugraph/tugraph-compile-centos7`Docker环境 ```bash $ git clone --recursive https://github.com/TuGraph-family/tugraph-db.git $ cd tugraph-db $ deps/build_deps.sh $ mkdir build && cd build $ cmake .. -DOURSYSTEM=centos7 $ make $ make package ``` ## 4. 开发 我们已为在DockerHub中编译准备了环境docker镜像,可以帮助开发人员轻松入门,名称为 `tugraph/tugraph-compile-[os]:[compile version]`, 例如, `tugraph/tugraph-compile-centos7:1.1.0`。 可以访问 [技术规划](docs/zh-CN/source/12.contributor-manual/5.roadmap.md) 来了解TuGraph进展。 如需贡献,请阅读 [如何贡献](docs/zh-CN/source/12.contributor-manual/1.contributing.md)。 注意:如果您想贡献代码,需要签署[个人贡献者许可协议](docs/zh-CN/source/12.contributor-manual/3.individual-cla.md)或者[公司贡献者许可协议](docs/zh-CN/source/12.contributor-manual/4.corporate-cla.md)。 ## 5. 合作伙伴
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |