InfluxDB Time Series Data Platform | InfluxData
InfluxDB Time Series Data Platform | InfluxData 图标

InfluxDB Time Series Data Platform | InfluxData

influxdata.com

Manage all types of time series data in a single, purpose-built database. Optimized for speed in any environment in the cloud, on-premises, or at the edge.

收录于 1 年前更新于 1 年前正常收录
InfluxDB Time Series Data Platform | InfluxData 网站预览

详细内容

NEW InfluxDB 3.7 is now available for Core and Enterprise

Check it out

Skip to content

Real-world AI starts with time series.

Time series starts with InfluxDB.

Join the millions of developers building real-time systems with InfluxDB, the leading time series database.

Get InfluxDB

Try InfluxDB

Get started with InfluxDB 3 Enterprise

curl -O https://www.influxdata.com/d/install_influxdb3.sh && sh install_influxdb3.sh enterpriseCopy

Need Windows or
Docker?

Quickstart Guide

Logo 1

rocketlab

Logo 1

nvidia

Capital-One

leolabs

unity

siemence

accenture

salesforce

PTC

joby

rappi

tado

Logo 1

rocketlab

Logo 1

nvidia

Capital-One

leolabs

unity

siemence

accenture

salesforce

PTC

joby

rappi

tado

Developers choose InfluxDB

The most downloaded, most used, and most trusted open source time series database.

Try InfluxDB

1B+

Downloads of InfluxDB via Docker

1M+

Open source instances live today

5B+

Downloads of InfluxData’s Telegraf

2,800+

Contributors

#1

Time series database

Source: DB Engines

Why InfluxDB

Manage high-volume, high-velocity data without sacrificing performance.

046-abstract shape-hl

High-performance at scale

Manage millions of time series data points per second without limits or caps.

046-abstract shape-hl

Run where you need it

Run at any scale in any environment: in the cloud, on-prem, or at the edge.

icon-sql

Build with the tools you love

Easily connect to your tech stack using data standards and 5K+ easy integrations.

InfluxDB is the engine behind the real-time data pipeline.

Real-time AI requires massive streams of time series. This allows data to flow continuously through ingest, analysis, compression, and integration—fueling smarter, more autonomous systems.

See ways to get started

High-Speed Ingest

Ingest millions of series without impacting performance.

High-speed_ingest

Real-Time Analytics

Transform and analyze unlimited series in real-time.

Real-time_analytics

Eviction and Lakehouse Integration

Automatically evicts cold data and streams it into lakes, warehouses, and AI/ML pipelines.

lakehouse

Compression and Downsampling

Best-in-class compression. Parquet files store more data with less space.

Compression-downsampling

Purpose-built for the world’s most demanding systems

From grid stability to satellite telemetry, InfluxDB powers the systems that can’t afford to lag.

046-abstract shape-hl

Aerospace

Aerospace telemetry never stops. Stay ahead with a database built for speed, precision, and decades of data.

Learn More

046-abstract shape-hl

Energy & Utilities

Power modern energy systems with real-time insights that maximize efficiency and reduce downtime.

Learn More

046-abstract shape-hl

Modern Data Historian

Upgrade your historian for Industry 4.0 with real-time data that drives efficiency and lowers costs.

Learn More

Physical AI runs on time series

Predict the future based on the past.

InfluxDB captures high-resolution time series data with the precision and context AI models need to infer cause and effect, enabling real-time systems to detect, respond, and predict intelligently.

Learn More

ai-graph

046-abstract shape-hl

Anomaly Detection

Find failure fast—detect anomalies in real-time, trigger automated responses, and adapt as conditions change.

046-abstract shape-hl

Predictive Maintenance

Prevent downtime before it hits. Monitor equipment health and usage patterns to predict issues and resolve them before they start.

046-abstract shape-hl

Autonomous Optimization

Build self-correcting systems. Enable models to self-learn and adapt through continuous retraining—automatically.

Build systems and infrastructure monitoring that scales

Keep pace with the flood of time series data. Learn how to build real-time monitoring that scales securely with InfluxDB and Grafana to keep ahead of outages, performance regressions, and costly blind spots.

Download Tech Paper

Deploy anywhere

Whether you’re building on-prem, in a private or multi-tenant cloud, or at the edge, InfluxDB meets developers where they are.

Start Testing See ways to get started

Open and extensible

Ingest from anywhere, deploy your way, and integrate with everything in your stack.

Explore integrations

diagram

Code in the languages you love

Read more in docs

PythonPythonJavaScriptJavascriptGoGoC SharpC#

ReadWrite

                  from influxdb_client_3 import InfluxDBClient3
import pandas
import os

database = os.getenv('INFLUX_DATABASE')
token = os.getenv('INFLUX_TOKEN')
host="https://us-east-1-1.aws.cloud2.influxdata.com"

def querySQL():
  client = InfluxDBClient3(host, database=database, token=token)
  table = client.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'''
  )

  print(table.to_pandas().to_markdown())

  client.close()

querySQL()
                  Copy

c

                  from influxdb_client_3 import InfluxDBClient3
import os

database = os.getenv('INFLUX_DATABASE')
token = os.getenv('INFLUX_TOKEN')
host="https://us-east-1-1.aws.cloud2.influxdata.com"

def write_line_protocol():
  client = InfluxDBClient3(host, database=database, token=token)

  record = "home,room=Living\\ Room temp=22.2,hum=36.4,co=17i"

  print("Writing record:", record )
  client.write(record)

  client.close()

write_line_protocol()

                  Copy

c

                  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()
                  Copy

c

                  import {InfluxDBClient} from '@influxdata/influxdb3-client'

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 record = "home,room=Living\\ Room temp=22.2,hum=36.4,co=17i"
    await client.write(record, database)
    client.close()
}

main()
                  Copy

c

                  package influxdbv3

import (
  "context"
  "fmt"
  "io"
  "os"
  "text/tabwriter"

  "github.com/apache/arrow/go/v12/arrow"
  "github.com/InfluxCommunity/influxdb3-go/influx"
)

func QuerySQL() error {
  url := "https://us-east-1-1.aws.cloud2.influxdata.com"
  token := os.Getenv("INFLUX_TOKEN")
  database := os.Getenv("INFLUX_DATABASE")

  client, err := influx.New(influx.Configs{
	HostURL: url,
	AuthToken: token,
  })

  defer func (client *influx.Client)  {
	err := client.Close()
	if err != nil {
		panic(err)
	}
  }(client)

  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
`

  iterator, err := client.Query(context.Background(), database, query)

  if err != nil {
    panic(err)
  }

  w := tabwriter.NewWriter(io.Discard, 4, 4, 1, ' ', 0)
  w.Init(os.Stdout, 0, 8, 0, '\t', 0)
  fmt.Fprintln(w, "day\troom\ttemp")

  for iterator.Next() {
	row := iterator.Value()
	day := (row["_time"].(arrow.Timestamp)).ToTime(arrow.TimeUnit(arrow.Nanosecond))
	fmt.Fprintf(w, "%s\t%s\t%.2f\n", day, row["room"], row["temp"])
  }

  w.Flush()
  return nil
}
                  Copy

c

                  package influxdbv3

import (
  "context"
  "os"
  "fmt"
  "github.com/InfluxCommunity/influxdb3-go/influx"
)

func WriteLineProtocol() error {
  url := "https://us-east-1-1.aws.cloud2.influxdata.com"
  token := os.Getenv("INFLUX_TOKEN")
  database := os.Getenv("INFLUX_DATABASE")

  client, err := influx.New(influx.Configs{
	HostURL: url,
	AuthToken: token,
  })

  defer func (client *influx.Client)  {
	err := client.Close()
	if err != nil {
		panic(err)
	}
  }(client)

  record := "home,room=Living\\ Room temp=22.2,hum=36.4,co=17i"
  fmt.Println("Writing record: ", record)
  err = client.Write(context.Background(), database, []byte(record))

  if err != nil {
    panic(err)
  }
  return nil
}
                  Copy

c

                  using System;
using System.Threading.Tasks;
using InfluxDB3.Client;
using InfluxDB3.Client.Query;

namespace InfluxDBv3;

public class Query
{
  static async Task QuerySQL()
  {
    const string hostUrl = "https://us-east-1-1.aws.cloud2.influxdata.com";
    string? database = System.Environment.GetEnvironmentVariable("INFLUX_DATABASE");
    string? authToken = System.Environment.GetEnvironmentVariable("INFLUX_TOKEN");

    using var client = new InfluxDBClient(hostUrl, authToken: authToken, database: database);

    const string sql = @"
      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
    ";

    Console.WriteLine("{0,-30}{1,-15}{2,-15}", "day", "room", "temp");
    await foreach (var row in client.Query(query: sql))
    {
      Console.WriteLine("{0,-30}{1,-15}{2,-15}", row[1], row[0], row[2]);
    }

    Console.WriteLine();
  }
}
                  Copy

c

                  using System;
using System.Threading.Tasks;
using InfluxDB3.Client;
using InfluxDB3.Client.Query;

namespace InfluxDBv3;

public class Write
{
  public static async Task WriteLineProtocol()
  {
    const string hostUrl = "https://us-east-1-1.aws.cloud2.influxdata.com";
    string? database = System.Environment.GetEnvironmentVariable("INFLUX_DATABASE");
    string? authToken = System.Environment.GetEnvironmentVariable("INFLUX_TOKEN");

    using var client = new InfluxDBClient(hostUrl, authToken: authToken, database: database);

    const string record = "home,room=Living\\ Room temp=22.2,hum=36.4,co=17i";
    Console.WriteLine("Write record: {0,-30}", record);
    await client.WriteRecordAsync(record: record);
  }
}

                  Copy

c

300+ Telegraf plugins

Integrate your favorite tools with Telegraf, our popular open source connector with 5B+ downloads.

Client libraries

InfluxDB client libraries make it easy to integrate time series data into your applications using your favorite programming languages.

Community and ecosystem

InfluxDB includes a massive community of cloud and open source developers to help you work the way you want.

By developers, for developers

Connect with the InfluxDB developer community.

Social 4Social 4Reddit-logoslack-new-logoSocial 5Forum-logo

InfluxDB is a G2 Leader in Time Series

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

— Verified G2 reviewer

Start Trial Read reviews

G2 - Users Most Likely To Recommend

G2 - Leader Winter 2024

G2-MomentumLeader-Winter-2024

G2 Mid-Market Leader

G2 - Best Usability

G2 - Best Relationship

reCAPTCHA

Recaptcha requires verification.

Privacy - Terms

protected by reCAPTCHA

reCAPTCHA is changing its terms of service. Take action.

Privacy - Terms

Drift Widget

Processing... please wait

Drift Widget

网站信息

域名
influxdata.com
收录路径
influxdata