InfluxDB on dedicated servers
InfluxDB stores timestamped measurements from servers, sensors and applications. On a dedicated machine it gets steady disk throughput for ingestion and memory for fast queries over recent data.
Which InfluxDB version should I run?
That depends on your queries and tools. Three generations are in use, and each has a distinct storage engine and query language.
| Version | Storage | Queries | Good for |
|---|---|---|---|
| 1.x | TSM files | InfluxQL | Existing setups and dashboards built on InfluxQL |
| 2.x | TSM files with buckets | Flux and InfluxQL | Built-in UI, tasks and tokens in one binary |
| 3 Core | Parquet files, columnar | SQL and InfluxQL | High cardinality and recent data, open source |
InfluxDB 3 Core, released in 2025 under the MIT and Apache 2.0 licences, is written in Rust and stores data as Parquet files on local disk or object storage. It is tuned for recent data and fast writes; read its documentation for the current limits on query ranges before migrating long-history dashboards.
How does data get in?
As line protocol over HTTP: a measurement name, tags, fields and a timestamp per line. Telegraf, the companion collection agent, has hundreds of input plugins for system metrics, databases, message queues, SNMP and MQTT, and writes to any InfluxDB version.
weather,station=rotterdam-04,sensor=bme280 temp_c=11.8,humidity=82.1,pressure_hpa=1012.6 1764750000000000000
# /etc/telegraf/telegraf.conf (excerpt) [[outputs.influxdb_v2]] urls = ["http://127.0.0.1:8086"] token = "$INFLUX_TOKEN" organization = "plant" bucket = "sensors"
What is series cardinality and why does it matter?
The number of unique combinations of measurement and tag values. In versions 1 and 2, every series has an entry in the index, and memory and query time grow with the count. A tag holding user IDs or request IDs can create millions of series and slow everything. Keep unbounded values in fields, not tags. InfluxDB 3's columnar design handles high cardinality much better, which is one of the main reasons to choose it for event-like data.
How do retention and downsampling work?
Each bucket or database has a retention period after which old data is dropped. Keep raw data for days or weeks, and write downsampled aggregates, such as five-minute means, into a longer-lived bucket with a scheduled task. This keeps disk use flat while dashboards keep their history.
influx bucket create --name sensors --retention 30d influx bucket create --name sensors_5m --retention 730d
How much disk and memory are needed?
Compression is strong for regular numeric data: one to three bytes per value in TSM, often less in Parquet. A plant with 20,000 sensors writing four fields every ten seconds produces 8,000 values a second, about 690 million a day; at two bytes each that is roughly 1.4 GB a day, or 42 GB for 30 days of raw data. Memory needs depend on cardinality in versions 1 and 2 and on query patterns in version 3; 32 to 64 GB covers most single-server setups.
Which machine fits?
| Setup | Machine | Why |
|---|---|---|
| Server and app metrics | ESSENTIAL-2 | 32 GB DDR4, NVMe |
| Industrial sensors, years of aggregates | ESSENTIAL-4 | 64 GB DDR4, 2x 960 GB SSD NVMe, Soft RAID |
| High ingest with long raw history | STORAGE-2 2024 | NVMe plus large drives |
ESSENTIAL-4 gives 16 cores and 64 GB DDR4 for $106.20 a month. Keep the write-ahead log and hot data on NVMe; with version 3, older Parquet files can sit on the hard drives of a Storage model or in a self-hosted object store.
How do I back it up and secure it?
Use each version's backup command or copy the data directory from a snapshot, and send the copies to another machine. Enable authentication with tokens, keep port 8086 (or 8181 for version 3) behind TLS and a firewall, and give Telegraf agents write-only tokens for their own buckets. The Database servers page compares other engines.
Machines for InfluxDB
Lowest monthly price of each model across its data centres; the model page shows the price in every location.
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-2 | Intel Xeon-E 2388G | 8 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $43.20 |
| ESSENTIAL-S | AMD Ryzen 7 9700X | 8 | 64 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $46.20 |
| ESSENTIAL-4 | AMD EPYC 7313 | 16 | 64 GB | 2x 960 GB SSD NVMe | 1 Gbps unmetered | $106.20 |
| ESSENTIAL-5 | AMD EPYC 7413 | 24 | 128 GB | 2x 960 GB SSD NVMe | 1 Gbps unmetered | $120.00 |
| BUSINESS-2 2024 | AMD EPYC 4344P | 8 | 64 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $109.80 |
| STORAGE-2 2024 | AMD EPYC 4344P | 8 | 32 GB | 2x 960 GB SSD NVMe + 2x 22 TB HDD SAS | 3 Gbps unmetered | $187.80 |
Keep recent data on NVMe and older history on large drives as it grows.
Related pages
Database servers
NVMe machines with large memory for PostgreSQL, MySQL, MariaDB and MongoDB, from a single primary to replicated pairs.
Read moreBig data and analytics
High core EPYC machines and dense disk chassis for Spark, ClickHouse and data lake clusters.
Read moreClickHouse servers
Run ClickHouse analytics on bare metal: MergeTree table design, codecs, storage policies from NVMe to hard drives, memory limits, Keeper and replicas.
Read moreQuestions and answers
Which InfluxDB version should I choose?
Version 1 for existing InfluxQL setups, version 2 for its built-in UI and Flux, and InfluxDB 3 Core for high cardinality and SQL on recent data.
What is series cardinality in InfluxDB?
The number of unique measurement and tag combinations. High cardinality slows versions 1 and 2, so keep unbounded values in fields.
How much disk does InfluxDB use?
Usually one to three bytes per numeric value after compression, so 8,000 values a second is about 1.4 GB a day.
What collects data for InfluxDB?
Telegraf, an agent with hundreds of input plugins, writes metrics to InfluxDB as line protocol over HTTP.
Which port does InfluxDB use?
Port 8086 for versions 1 and 2, and 8181 for InfluxDB 3 by default. Protect it with TLS, tokens and a firewall.