crate logo

crate

crate/crate

Distributed and Scalable SQL Database for Near Real-Time Data Analysis

GraphCanon updated 1mo · GitHub synced 1mo

4.4k stars603 forksLast push 1mo Java Apache-2.0

Decision brief

CrateDB is distinguished by its capability to manage massive data volumes in near real-time with PostgreSQL compatibility and Lucene-based indexing.

Good fit when

  • - When you require a SQL-compliant database with the flexibility of distributed architecture that can scale horizontally.
  • - Preferably for use cases involving Big Data analytics where near real-time querying is necessary, such as Industrial IoT or OLAP scenarios.

Avoid when

  • - Avoid if your application environment strictly mandates a specific type of database that isn’t PostgreSQL-compliant, and requires custom integrations.
  • - Not suitable for applications needing absolute transactional guarantees with strict ACID compliance at the expense of performance.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of 1mo
Provenance
Not a fork · Organization account
As of 1mo
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/crate/crate

How it fits your stack(4)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

CrateDB is a PostgreSQL-compatible, distributed SQL database that supports near real-time analytics on massive datasets, suitable for complex queries. Built on Lucene, it's compatible with Elasticsearch and adept at handling time-series data.

Capability facts

Languages
java

Source: github.language · Jul 21, 2026

Categories

Tags

README

.. image:: docs/_static/crate-logo.svg :alt: CrateDB :target: https://cratedb.com


.. image:: https://github.com/crate/crate/actions/workflows/main.yml/badge.svg :target: https://github.com/crate/crate/actions?query=workflow%3A%22CrateDB+SQL%22

.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg :target: https://cratedb.com/docs/crate/reference/en/latest/

.. image:: https://img.shields.io/badge/container-docker-green.svg :target: https://hub.docker.com/_/crate/

|

Help us improve CrateDB by taking our User Survey! <https://cratedb.com/user-survey>_

About

CrateDB is a distributed SQL database that makes it simple to store and analyze massive amounts of data in real-time.

CrateDB offers the benefits_ of an SQL database and the scalability and flexibility typically associated with NoSQL databases. Modest CrateDB clusters can ingest tens of thousands of records per second without breaking a sweat. You can run ad-hoc queries using standard SQL_. CrateDB's blazing-fast distributed query execution engine parallelizes query workloads across the whole cluster.

CrateDB is well suited to containerization, can be scaled horizontally using ephemeral virtual machines (e.g., Kubernetes, AWS, and Azure) with no shared state. You can deploy and run CrateDB on any sort of network — from personal computers to multi-region hybrid clouds and the edge_.

Features

  • Use standard SQL_ via the PostgreSQL wire protocol_ or an HTTP API_.

  • Dynamic table schemas and queryable objects provide document-oriented features in addition to the relational features of SQL.

  • Support for time-series data, real-time full-text search, geospatial data types and search capabilities.

  • Horizontally scalable, highly available and fault-tolerant clusters that run very well in virtualized and containerized environments.

  • Extremely fast distributed query execution.

  • Auto-partitioning, auto-sharding, and auto-replication.

  • Self-healing and auto-rebalancing.

  • User-defined functions_ (UDFs) can be used to extend the functionality of CrateDB.

Screenshots

CrateDB provides an Admin UI_:

.. image:: crate-admin.gif :alt: Screenshots of the CrateDB Admin UI

Try CrateDB

Run CrateDB via the official Docker Image_:

.. code-block:: console

sh$ docker run --publish 4200:4200 --publish 5432:5432 --env CRATE_HEAP_SIZE=1g crate '-Cdiscovery.type=single-node'

Or visit the installation documentation_ to see all the available download and install options.

Once you're up and running, head over to the introductory docs. To interact with CrateDB, you can use the Admin UI sql console or the CrateDB shell_ CLI tool. Alternatively, review the list of recommended clients and tools_ that work with CrateDB.

For container-specific documentation, check out the CrateDB on Docker how-to guide_ or the CrateDB on Kubernetes how-to guide_.

Contributing

This project is primarily maintained by Crate.io_, but we welcome community contributions!

See the developer docs_ and the contribution docs_ for more information.

Security

The CrateDB team and community take security bugs seriously. We appreciate your efforts to responsibly disclose_ your findings, and will make every effort to acknowledge your contributions.

If you think you discovered a security flaw, please follow the guidelines at SECURITY.md_.

Help

Looking for more help?

  • Try one of our beginner tutorials, how-to guides, or consult the reference manual_.

  • Check out our support channels_.

  • Crate.io_ also offers CrateDB Cloud, a fully-managed CrateDB Database as a Service (DBaaS). The CrateDB Cloud Tutorials will get you started.

.. _Admin UI: https://cratedb.com/docs/crate/admin-ui/ .. _AWS: https://cratedb.com/docs/crate/tutorials/en/latest/cloud/aws/index.html .. _Azure: https://cratedb.com/docs

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.