Favicon of CrateDB

CrateDB

CrateDB is an open-source distributed SQL database for real-time analytics and search, querying relational, JSON, time-series, geospatial, vector, and full-text data through one PostgreSQL-compatible interface.

LicenseOpen source (permissive)· Apache-2.0
DeploymentSelf-hostedManagedHybrid
PricingFreeSubscription
Operational complexityMedium
WorkloadInteractiveStreaming
LanguageJava

Use it when

  • Sensor and industrial data arrives in mixed shapes: relational rows, nested JSON, time-series, geospatial, vectors, and full text behind one SQL surface.
  • PostgreSQL wire compatibility matters; standard drivers and JDBC connect without an adapter.
  • High-cardinality IoT data must stay queryable in near real time, and everything being indexed by default is worth its write cost.
  • The alternative is a document store beside a time-series database beside a search index.

Think twice when

  • Raw scan throughput on flat tables is the benchmark; ClickHouse and Doris are built for exactly that.
  • You rely on transactions or strict consistency; CrateDB is eventually consistent and has no transactions.
  • Pre-aggregation is central to your serving model; there are no materialized views, so aggregates run at query time.

How it runs

A shared-nothing cluster where every node ingests, stores, coordinates, and answers queries; tables shard with replicas across nodes, and scaling means adding nodes. Storage is Lucene-based with columnar and row structures per field. CrateDB Cloud is the managed option.

Details

Compare

How CrateDB answers the questions OLAP Engines turns on.

OLAP Engines
How it works
SpecializationMulti-model: relational, JSON, full-text, geospatial and vector
SQL dialectPostgreSQL wire protocol
JoinsHash and nested-loop joins, all join types
Updates and deletesUPDATE and DELETE by query; no transactions, eventual consistency
Ingest to queryableAbout a second: rows appear on table refresh, not on write
Storage formatLucene-based columnar and row storage
Compute and storageShared-nothing cluster; every node ingests, stores and coordinates
IndexesIndexed by default: inverted for text, BKD numeric and geo, HNSW vectors
Pre-aggregationNone: views run at query time; materialized views not supported
Running it
Concurrent usersAny node coordinates; shards answer in parallel across the cluster

Share:

Alternatives to CrateDB

Favicon

 

  
  
Favicon

 

  
  
Favicon