StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Databases
  4. Databases
  5. IBM DB2 vs InfluxDB

IBM DB2 vs InfluxDB

OverviewDecisionsComparisonAlternatives

Overview

IBM DB2
IBM DB2
Stacks245
Followers254
Votes19
InfluxDB
InfluxDB
Stacks1.0K
Followers1.2K
Votes175

IBM DB2 vs InfluxDB: What are the differences?

Introduction

  1. Data Model: IBM DB2 is a relational database management system that uses a structured query language (SQL) while InfluxDB is a time series database that uses a time-centric data model, optimized for handling time-stamped data points.
  2. Scalability: IBM DB2 is more suitable for enterprise-level applications with complex database requirements, offering high scalability and availability features. InfluxDB, on the other hand, is designed for real-time analytics and monitoring of time series data, providing horizontal scalability and high write performance.
  3. Use Case: IBM DB2 is commonly used in industries such as banking, finance, and healthcare due to its ACID compliance, transactional support, and relational data capabilities. InfluxDB is preferred for IoT, DevOps, and monitoring applications where high throughput and fast data ingestion are essential.
  4. Query Language: IBM DB2 supports SQL for data manipulation and querying operations, providing a rich set of features for handling relational data. InfluxDB uses its own query language called InfluxQL, specifically designed for time series data analytics, offering functions like downsampling, data retention policies, and continuous queries.
  5. Storage Engine: IBM DB2 typically uses a disk-based storage engine for data persistence and retrieval, ensuring durability and consistency of data. In contrast, InfluxDB utilizes Time Structured Merge Trees (TSM) as its storage engine, optimized for efficient storage and retrieval of time series data points in large-scale deployments.
  6. Community Support: IBM DB2 has been in the market for several decades and has a strong enterprise-level support system, including documentation, training, and technical assistance. While InfluxDB has a growing community of users and contributors, it may have limited resources for enterprise-grade support and maintenance.

In Summary, IBM DB2 and InfluxDB differ in their data models, scalability, use cases, query languages, storage engines, and community support.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on IBM DB2, InfluxDB

Deepak
Deepak

Sep 6, 2021

Needs adviceonJSONJSONInfluxDBInfluxDB

Hi all, I am trying to decide on a database for time-series data. The data could be tracking some simple series like statistics over time or could be a nested JSON (multi-level nested). I have been experimenting with InfluxDB for the former case of a simple list of variables over time. The continuous queries are powerful too. But for the latter case, where InfluxDB requires to flatten out a nested JSON before saving it into the database the complexity arises. The nested JSON could be objects or a list of objects and objects under objects in which a complete flattening doesn't leave the data in a state for the queries I'm thinking.

[ 
  { "timestamp": "2021-09-06T12:51:00Z",
    "name": "Name1",
    "books": [
        { "title": "Book1", "page": 100 },
        { "title": "Book2", "page": 280 },
    ]
  },
 { "timestamp": "2021-09-06T12:52:00Z",
   "name": "Name2",
   "books": [
       { "title": "Book1", "page": 320},
       { "title": "Book2", "page": 530 },
       { "title": "Book3", "page": 150 },
   ]
 }
]

Sample query: With a time range, for name xyz, find all the book title for which # of page < 400.

If I flatten it completely, it will result in fields like books_0_title, books_0_page, books_1_title, books_1_page, ... And by losing the nested context it will be hard to return one field (title) where some condition for another field (page) satisfies.

Appreciate any suggestions. Even a piece of generic advice on handling the time-series and choosing the database is welcome!

30.5k views30.5k
Comments
Anonymous
Anonymous

Apr 21, 2020

Needs advice

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

381k views381k
Comments
Andy
Andy

Freelance Developer at DGTEpro

Feb 25, 2022

Review

There's really not an awful lot of difference between the two, they have wildly different storage mechanisms but they each have their fairly similar benefits. If you want to learn something that might be a requisite skill for a job, I would also look at alternatives such as time based and column based systems like InfluxDB and the unbelievably fast and flexible ClickHouse. While they may seem like an unlikely fit for a personal bug tracker app, there's no reason not to use them. Since I got into InfluxDB people have been requesting it a lot and I'll be using ClickHouse for all large databases, probably forever. Expand your horizons beyond your competition's.

78.1k views78.1k
Comments

Detailed Comparison

IBM DB2
IBM DB2
InfluxDB
InfluxDB

DB2 for Linux, UNIX, and Windows is optimized to deliver industry-leading performance across multiple workloads, while lowering administration, storage, development, and server costs.

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.

-
Time-Centric Functions;Scalable Metrics; Events;Native HTTP API;Powerful Query Language;Built-in Explorer
Statistics
Stacks
245
Stacks
1.0K
Followers
254
Followers
1.2K
Votes
19
Votes
175
Pros & Cons
Pros
  • 7
    Rock solid and very scalable
  • 5
    BLU Analytics is amazingly fast
  • 2
    Native XML support
  • 2
    Secure by default
  • 2
    Easy
Pros
  • 59
    Time-series data analysis
  • 30
    Easy setup, no dependencies
  • 24
    Fast, scalable & open source
  • 21
    Open source
  • 20
    Real-time analytics
Cons
  • 4
    Instability
  • 1
    HA or Clustering is only in paid version
  • 1
    Proprietary query language
Integrations
Node.js
Node.js
JavaScript
JavaScript
PHP
PHP
Ruby
Ruby
Java
Java
Python
Python
C#
C#
.NET
.NET
C++
C++
Perl
Perl
No integrations available

What are some alternatives to IBM DB2, InfluxDB?

MongoDB

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.

MySQL

MySQL

The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.

PostgreSQL

PostgreSQL

PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.

Microsoft SQL Server

Microsoft SQL Server

Microsoft® SQL Server is a database management and analysis system for e-commerce, line-of-business, and data warehousing solutions.

SQLite

SQLite

SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.

Cassandra

Cassandra

Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.

Memcached

Memcached

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

MariaDB

MariaDB

Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

RethinkDB

RethinkDB

RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.

ArangoDB

ArangoDB

A distributed free and open-source database with a flexible data model for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase