DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Apache Druid vs. BoltDB vs. PostgreSQL vs. SwayDB vs. TiDB

System Properties Comparison Apache Druid vs. BoltDB vs. PostgreSQL vs. SwayDB vs. TiDB

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonBoltDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSwayDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataAn embedded key-value store for Go.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLAn embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storageTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelRelational DBMS
Time Series DBMS
Key-value storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Key-value storeRelational DBMS
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.29
Rank#95  Overall
#49  Relational DBMS
#7  Time Series DBMS
Score0.76
Rank#224  Overall
#32  Key-value stores
Score645.05
Rank#4  Overall
#4  Relational DBMS
Score0.04
Rank#373  Overall
#57  Key-value stores
Score4.94
Rank#72  Overall
#40  Relational DBMS
Websitedruid.apache.orggithub.com/­boltdb/­boltwww.postgresql.orgswaydb.simer.aupingcap.com
Technical documentationdruid.apache.org/­docs/­latest/­designwww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation and contributorsPostgreSQL Global Development Group infowww.postgresql.org/­developerSimer PlahaPingCAP, Inc.
Initial release201220131989 info1989: Postgres, 1996: PostgreSQL20182016
Current release29.0.1, April 202416.2, February 20247.6.0, January 2024
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoMIT LicenseOpen Source infoBSDOpen Source infoGNU Affero GPL V3.0Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaGoCScalaGo, Rust
Server operating systemsLinux
OS X
Unix
BSD
Linux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeyes infoschema-less columns are supportedschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyesnoyesnoyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nonoyes infospecific XML-type available, but no XML query functionality.nono
Secondary indexesyesnoyesnoyes
SQL infoSupport of SQLSQL for queryingnoyes infostandard with numerous extensionsnoyes
APIs and other access methodsJDBC
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
Go.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Kotlin
Scala
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnonouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.nono
Triggersnonoyesnono
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basednonepartitioning by range, list and (since PostgreSQL 11) by hashnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesnoneSource-replica replication infoother methods possible by using 3rd party extensionsnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoyesACIDAtomic execution of operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nononoyesno
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemnofine grained access rights according to SQL-standardnoFine grained access rights according to SQL-standard
More information provided by the system vendor
Apache DruidBoltDBPostgreSQLSwayDBTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesRedgate webinars: A series of key topics for new PostgreSQL users.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
Apache DruidBoltDBPostgreSQLSwayDBTiDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

Conferences, events and webinars

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

Recent citations in the news

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading

Apache Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers' Choice Awards
26 January 2024, Datanami

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Imply Data gives Apache Druid schema auto-discover capability
6 June 2023, SiliconANGLE News

Imply Announces Automatic Schema Discovery for Apache Druid, Reinforcing Druid's Leadership for Real-Time ...
6 June 2023, Business Wire

provided by Google News

4 Instructive Postmortems on Data Downtime and Loss
1 March 2024, The Hacker News

Grafana Loki: Architecture Summary and Running in Kubernetes
14 March 2023, hackernoon.com

Roblox’s cloud-native catastrophe: A post mortem
31 January 2022, InfoWorld

How to Put a GUI on Ansible, Using Semaphore
22 April 2023, The New Stack

provided by Google News

Leveraging PostgreSQL for Cutting-Edge Generative AI Applications: Insights from Google's Product Managers
23 April 2024, WebProNews

Handle tables without primary keys while creating Amazon Aurora PostgreSQL zero-ETL integrations with Amazon ...
18 April 2024, AWS Blog

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, blogs.oracle.com

PostgreSQL or MySQL: What Should I Choose for My Full-Stack Project?
10 April 2024, hackernoon.com

Breaking Boundaries: PostgreSQL 16 is now available on IBM Cloud
17 April 2024, ibm.com

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

PingCAP Wins 2024 Data Breakthrough Awards
12 April 2024, Yahoo Finance

provided by Google News



Share this page

Featured Products

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Present your product here