Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

InfluxDB

1K
1.2K
+ 1
175
OpenTSDB

33
75
+ 1
0
Add tool

InfluxDB vs OpenTSDB: What are the differences?

Introduction

InfluxDB and OpenTSDB are both time series databases used for storing and analyzing time series data. While they serve the same purpose, there are several key differences between the two.

  1. Data Model: InfluxDB uses a key-value store with a flexible schema, allowing for the storage of different types of data within the same measurement or series. OpenTSDB, on the other hand, follows a strict schema with fixed tags and metrics, which can limit the flexibility in data storage and retrieval.

  2. Query Language: InfluxDB uses a SQL-like query language called InfluxQL, which offers a wide range of query capabilities including aggregations, joins, and functions. OpenTSDB uses a simplified query language that requires specifying the metric, tags, and time range explicitly, making it less versatile compared to InfluxDB.

  3. Scalability: InfluxDB is designed to be highly scalable and can handle large volumes of data with ease. It provides built-in clustering and sharding capabilities, allowing for horizontal scaling across multiple nodes. OpenTSDB, on the other hand, relies on HBase for storage and scalability, which may require additional configuration and setup.

  4. Data Storage: InfluxDB stores data in its own custom time series file format, which is optimized for efficient data compression and retrieval. OpenTSDB, on the other hand, relies on HBase as its underlying storage system, which may introduce additional complexities and dependencies to the setup.

  5. Ease of Setup: InfluxDB offers a single binary distribution that can be easily installed and set up on various operating systems. It also provides a web-based admin interface for configuration and management. OpenTSDB, on the other hand, requires a multi-component setup, including HBase and ZooKeeper, which may require more effort and technical expertise.

  6. Community and Ecosystem: InfluxDB has a vibrant and active community with extensive documentation, libraries, and integrations with popular tools and frameworks. OpenTSDB, while also having a dedicated user base, may have a smaller community and a more limited ecosystem in terms of available libraries and integrations.

In summary, InfluxDB and OpenTSDB differ in their data model, query language, scalability, data storage, ease of setup, and community ecosystem. While both are capable time series databases, InfluxDB offers more flexibility and a wider range of features, making it a popular choice for many time series data applications.

Advice on InfluxDB and OpenTSDB
Needs advice
on
InfluxDBInfluxDBMongoDBMongoDB
and
TimescaleDBTimescaleDB

We are building an IOT service with heavy write throughput and fewer reads (we need downsampling records). We prefer to have good reliability when comes to data and prefer to have data retention based on policies.

So, we are looking for what is the best underlying DB for ingesting a lot of data and do queries easily

See more
Replies (3)
Yaron Lavi
Recommends
on
PostgreSQLPostgreSQL

We had a similar challenge. We started with DynamoDB, Timescale, and even InfluxDB and Mongo - to eventually settle with PostgreSQL. Assuming the inbound data pipeline in queued (for example, Kinesis/Kafka -> S3 -> and some Lambda functions), PostgreSQL gave us a We had a similar challenge. We started with DynamoDB, Timescale and even InfluxDB and Mongo - to eventually settle with PostgreSQL. Assuming the inbound data pipeline in queued (for example, Kinesis/Kafka -> S3 -> and some Lambda functions), PostgreSQL gave us better performance by far.

See more
Recommends
on
DruidDruid

Druid is amazing for this use case and is a cloud-native solution that can be deployed on any cloud infrastructure or on Kubernetes. - Easy to scale horizontally - Column Oriented Database - SQL to query data - Streaming and Batch Ingestion - Native search indexes It has feature to work as TimeSeriesDB, Datawarehouse, and has Time-optimized partitioning.

See more
Ankit Malik
Software Developer at CloudCover · | 3 upvotes · 357.8K views
Recommends
on
Google BigQueryGoogle BigQuery

if you want to find a serverless solution with capability of a lot of storage and SQL kind of capability then google bigquery is the best solution for that.

See more
Decisions about InfluxDB and OpenTSDB
Benoit Larroque
Principal Engineer at Sqreen · | 2 upvotes · 147.1K views

I chose TimescaleDB because to be the backend system of our production monitoring system. We needed to be able to keep track of multiple high cardinality dimensions.

The drawbacks of this decision are our monitoring system is a bit more ad hoc than it used to (New Relic Insights)

We are combining this with Grafana for display and Telegraf for data collection

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of InfluxDB
Pros of OpenTSDB
  • 59
    Time-series data analysis
  • 30
    Easy setup, no dependencies
  • 24
    Fast, scalable & open source
  • 21
    Open source
  • 20
    Real-time analytics
  • 6
    Continuous Query support
  • 5
    Easy Query Language
  • 4
    HTTP API
  • 4
    Out-of-the-box, automatic Retention Policy
  • 1
    Offers Enterprise version
  • 1
    Free Open Source version
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of InfluxDB
    Cons of OpenTSDB
    • 4
      Instability
    • 1
      Proprietary query language
    • 1
      HA or Clustering is only in paid version
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      798
      131
      3K
      21
      255
      - No public GitHub repository available -

      What is InfluxDB?

      InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.

      What is OpenTSDB?

      It is a distributed, scalable time series database to store, index & serve metrics collected from computer systems at a large scale. It can store and serve massive amounts of time series data without losing granularity.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use InfluxDB?
      What companies use OpenTSDB?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with InfluxDB?
      What tools integrate with OpenTSDB?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      Jan 26 2022 at 4:34AM

      Pinterest

      Amazon EC2RocksDBOpenTSDB+3
      3
      778
      What are some alternatives to InfluxDB and OpenTSDB?
      TimescaleDB
      TimescaleDB: An open-source database built for analyzing time-series data with the power and convenience of SQL — on premise, at the edge, or in the cloud.
      Redis
      Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
      MongoDB
      MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
      Elasticsearch
      Elasticsearch is a distributed, RESTful search and analytics engine capable of storing data and searching it in near real time. Elasticsearch, Kibana, Beats and Logstash are the Elastic Stack (sometimes called the ELK Stack).
      Prometheus
      Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
      See all alternatives