Skip to main content

Hardware and Software Environment Check

This document provides a hardware and software environment reference for deploying Doris.

Hardware environment check

Check itemMinimum configurationRecommended configuration
CPUSupports the AVX2 instruction setSupports the AVX2 instruction set
MemoryCPU cores x 4 GBCPU cores x 8 GB
StorageSSD or HDDSSD
File systemext4 or xfsext4 or xfs
Network card1GbE10GbE + link aggregation

CPU check

Doris uses AVX2 vectorization to accelerate queries. A machine that supports the AVX2 instruction set is recommended.

cat /proc/cpuinfo | grep avx2

If there is output, AVX2 is supported. If it is not supported, you can use the no-AVX2 Doris installation package.

Memory check

Doris does not enforce a memory limit. The following is recommended for production environments:

ComponentMinimum memoryRecommended memory
FE16 GB64 GB+
BECPU cores x 4 GBCPU cores x 8 GB

Storage check

ScenarioRecommended storage type
High-concurrency point queries on large-scale dataSSD
High-frequency updates on large-scale dataSSD
Cold data archivingHDD / object storage

File system check

File systemApplicable scenario
ext4General-purpose, good stability
xfsLarge-scale data, high-concurrency writes

Network card check

A 10GbE or faster network is recommended. For machines with multiple network cards, use link aggregation to improve bandwidth and redundancy.

Both x86-64 and ARM64 architectures are supported.

Development and test environments

FE and BE can be deployed together:

  • Deploy 1 FE + 1 BE on a single server (multiple instances are not recommended)
  • For 3 replicas of data: deploy 1 BE on each of at least 3 servers
ModuleMinimum CPUMinimum memoryMinimum diskNetworkInstances
Frontend8 cores8 GBSSD/SATA, 10 GB+1GbE/10GbE1
Backend8 cores16 GBSSD/SATA, 50 GB+1GbE/10GbE1

Production environment

It is recommended to deploy FE and BE separately. When resources are tight and they must be co-located, place their data on different disks.

ModuleRecommended CPURecommended memoryRecommended diskNetworkInstances
Frontend16 cores+64 GB+SSD, 100 GB+10GbE1
Backend16 cores+64 GB+SSD/SATA, 100 GB+10GbE3

Disk space calculation

ComponentRecommended spaceDescription
FE100 GB+SSD, used for metadata storage
BETotal data volume x 3 x 1.4LZ4 compression ratio 0.3-0.5, 3 replicas + 40% reserved space for background compaction

The BE storage calculation above is mainly for the integrated storage and compute deployment mode. In the separated storage and compute deployment mode, all data is stored in shared storage, and the local disk is used only for caching, so the disk size depends on the size of the hot data.

Java environment check

All Doris processes depend on Java.

Doris versionJava versionRecommended version
2.1 (inclusive) and earlierJava 8jdk-8u352+
3.0 (inclusive) and laterJava 17jdk-17.0.10+