Environment
This document provides an overview of the required hardware and software environment for deploying TuGraph.
1.Hardware Environment
1.1. CPU
TuGraph supports X86_64 and ARM64 architectures for both physical, virtual, and containerized environments. Tested and certified hardware platforms include Intel, AMD, Kunpeng, Hygon, Feiteng, and others.
1.2. Memory
We recommend having a memory capacity that is equal to or greater than the actual data size. For optimal performance, caching all data in memory is ideal. In terms of data locality, graph databases have poorer locality compared to relational databases. Therefore, if the data cannot fit in memory, frequent swapping may occur.
1.3. Storage
We strongly recommend using NVMe SSD as external storage. The database performs numerous synchronous write operations, often in a random manner, making the read/write performance of the external storage critical to the overall database performance. Hence, high IOPS and low-latency NVMe SSDs are the optimal choice.
If circumstances permit only the use of SATA interface SSDs or cloud-based network disks, although performance may be affected, TuGraph can still run correctly.
It is recommended to have external storage size at least four times the actual data size. For example, if the data size is 1TB, preparing a 4TB hard drive would be more reliable.
2. Software environment
2.1. Operating System
TuGraph is compatible with popular operating systems, including Ubuntu, CentOS, SUSE, Galaxy Kylin, China Standard Software, UOS, and others, all of which have been tested and certified.
Among them, the most stable system versions are Ubuntu 18.04, CentOS 7, and CentOS 8.
2.2. System Libraries
The requirements for system libraries differ between the compilation environment and the runtime environment. For specific details, please refer to theenvironment mode。
3.Recommended Configuration
Hardware |
Minimum Configuration |
Recommended Configuration |
---|---|---|
CPU |
4 Cores |
64 Cores |
Memory |
4GB |
512GB |
Storage |
100GB |
2TB NVMe SSD |
OS |
Linux 4.9 |
CentOS 7.3 |