InfluxDB.
It's About Time.

InfluxDB is the most popular open source database for developers managing time series data. Unlock real-time insights from time series data at any scale in any environment – in the cloud, on-prem, or at the edge.

turbine

Built for unlimited scale at a fraction of the cost


45x


Better write
throughput

90%


Reduction in
storage costs

100x


Faster queries for high
cardinality data

45x


Faster queries for
recent data

Compare InfluxDB open source and InfluxDB 3.0 for your workloads: Benchmarks Report

InfluxDB is purpose-built for real-time analytics


046-abstract shape-hl

Single datastore for all
time series data

009-marble-hl

Native SQL
support

Low latency
queries

009-marble-hl

Unlimited
cardinality

021-petals-hl

Open and interoperable
with data ecosystems

046-abstract shape-hl

Superior data
compression

JavaScript Python Go C# Java
          import {InfluxDBClient} from '@influxdata/influxdb3-client'
import {tableFromArrays} from 'apache-arrow';

const database = process.env.INFLUX_DATABASE;
const token = process.env.INFLUX_TOKEN;
const host = "https://us-east-1-1.aws.cloud2.influxdata.com";

async function main() {
    const client = new InfluxDBClient({host, token})
    const query = `
    SELECT
      room,
      DATE_BIN(INTERVAL '1 day', time) AS _time,
      AVG(temp) AS temp,
      AVG(hum) AS hum,
      AVG(co) AS co
    FROM home
    WHERE time >= now() - INTERVAL '90 days'
    GROUP BY room, _time
    ORDER BY _time
    `
    const result = await client.query(query, database)

    const data = {room: [], day: [], temp: []}

    for await (const row of result) {
      data.day.push(new Date(row._time).toISOString())
      data.room.push(row.room)
      data.temp.push(row.temp)
    }

    console.table([...tableFromArrays(data)])

    client.close()
}

main()
          
c
c
c
c
c

Code in the languages you love


Tap into our custom client libraries, powerful APIs and tools, or build it yourself, line by line.

See All Integrations

Loved by developers, trusted by enterprises


Looking for the most efficient way to get started with InfluxDB?


Whether you're looking for cost savings, lower management overhead while maintaining high availability, or alternatives to replace your expensive data historian, InfluxDB can help. Easily scale from open source to enterprise-grade InfluxDB.

See Ways to Get Started

InfluxDB is a G2 Leader in Time Series


G2 - Leader Winter 2024
G2-MomentumLeader-Winter-2024
G2 Mid-Market Leader
G2 - Users Most Likely To Recommend
G2 - Best Usability
G2 - Best Relationship

“InfluxDB is a strong database built specifically for time series data. It has made working with such data seamless and easy.”

Verified G2 Reviewer Read reviews