Get Advice Icon

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

InfluxDB

1K
1.2K
+ 1
175
QuestDB

19
50
+ 1
17
Add tool

InfluxDB vs QuestDB: What are the differences?

Introduction

InfluxDB and QuestDB are both time series databases that are commonly used in various industries for storing and analyzing time-stamped data. While they have similarities in their purpose and functionality, there are key differences between the two.

  1. Storage Model: InfluxDB uses a log-based storage model, where data is stored in an append-only format in a time-ordered sequence. This makes writing and querying data fast, but it can lead to higher storage requirements and slower performance for complex queries. On the other hand, QuestDB uses a columnar storage model, which offers better compression and faster query performance, especially for analytical workloads.

  2. Query Language: InfluxDB uses a query language called InfluxQL, which is specifically designed for time series data and offers functionalities like aggregation, filtering, and joining. QuestDB, on the other hand, uses a more familiar SQL-like query language, making it easier for users with SQL experience to work with time series data.

  3. Data Replication: InfluxDB supports data replication through its clustering feature, which allows for high availability and data redundancy. It uses a consensus algorithm (RAFT) to ensure data consistency across the cluster. QuestDB, on the other hand, does not natively support clustering or data replication. However, it provides easy integration with message queues and other data replication mechanisms to achieve high availability.

  4. Data Type Support: InfluxDB provides native support for a variety of data types, including integers, floats, strings, booleans, and time. It also supports handling fields and tags differently, allowing for more flexible data modeling. QuestDB, on the other hand, has a more limited set of supported data types, including numeric types, boolean, time, and symbol (string). It does not differentiate between fields and tags like InfluxDB, simplifying the data model but reducing flexibility.

  5. Concurrency and Scalability: InfluxDB is optimized for handling high write loads and can efficiently handle concurrent writes to the database. It also provides sharding capabilities for distributing data across multiple nodes to scale horizontally. QuestDB, on the other hand, is designed to handle high read loads and provides excellent query performance, especially for analytical workloads. While QuestDB can handle writes, its focus is more on read-heavy use cases.

  6. Ecosystem and Integrations: InfluxDB has a more mature ecosystem with extensive integrations and compatibility with various tools and frameworks, including Grafana, Prometheus, Telegraf, and Kapacitor. It also has a large community and active development, resulting in better support and documentation. QuestDB, being a newer database, has a smaller ecosystem and fewer integrations. However, it provides essential integrations like JDBC and REST API, and its community is growing rapidly.

In summary, InfluxDB and QuestDB have differences in their storage model, query language, data replication, data type support, concurrency/scalability focus, and ecosystem/integrations. While InfluxDB is known for its fast writes, InfluxQL, and extensive ecosystem, QuestDB excels in query performance, SQL-like query language, and columnar storage. The choice between the two depends on specific use cases and requirements.

Advice on InfluxDB and QuestDB
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 · 360.4K 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 QuestDB
Benoit Larroque
Principal Engineer at Sqreen · | 2 upvotes · 148.3K 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 QuestDB
  • 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
  • 2
    No dependencies
  • 2
    Real-time analytics
  • 2
    Open source
  • 2
    Postgres wire protocol
  • 2
    Time-series data analysis
  • 2
    SQL
  • 1
    Fast
  • 1
    Embedded
  • 1
    InfluxDB line protocol
  • 1
    HTTP API
  • 1
    High-performance

Sign up to add or upvote prosMake informed product decisions

Cons of InfluxDB
Cons of QuestDB
  • 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
    6.5K
    180
    - 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 QuestDB?

    QuestDB is an open source database for time series, events, and analytical workloads with a primary focus on performance. It enhances ANSI SQL with time series extensions.

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

    What companies use InfluxDB?
    What companies use QuestDB?
    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 QuestDB?

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

    Blog Posts

    What are some alternatives to InfluxDB and QuestDB?
    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