# ![ArcadeDB](https://arcadedb.com/assets/images/arcadedb-logo.png)

Multi Model DBMS Built for Extreme Performance

              Ask DeepWiki   Bolt drivers          

Join Discord

Github   LinkedIn   Bluesky   Twitter   Youtube   Discord   StackOverflow   Blog

ArcadeDB is a Multi-Model DBMS created by Luca Garulli, the same founder of [OrientDB](https://github.com/orientechnologies/orientdb), after SAP's acquisition. Written from scratch with a brand-new engine made of Alien Technology, ArcadeDB is able to crunch millions of records per second on common hardware with minimal resource usage. ArcadeDB reuses OrientDB's SQL engine (heavily modified) and some utility classes. It's written in LLJ: Low Level Java - still Java21+ but only using low level APIs to leverage advanced mechanical sympathy techniques and reduce Garbage Collector pressure. Highly optimized for extreme performance, it runs from a Raspberry Pi to multiple servers on the cloud. ArcadeDB is fully transactional DBMS with support for ACID transactions, structured and unstructured data, native graph engine (no joins but links between records), full-text indexing, geospatial querying, and advanced security. ArcadeDB supports the following models: - [Graph Database](https://docs.arcadedb.com#graph-model) (compatible with Neo4j Cypher, Apache Tinkerpop Gremlin and OrientDB SQL) - [Document Database](https://docs.arcadedb.com#document-model) (compatible with the MongoDB driver + MongoDB queries and OrientDB SQL) - [Key/Value](https://docs.arcadedb.com#keyvalue-model) (compatible with the Redis driver) - [Search Engine](https://docs.arcadedb.com/#searchengine-model) - [Time Series](https://docs.arcadedb.com/#timeseries-model) (with InfluxDB Line Protocol, Prometheus remote_write/read, and PromQL support) - [Vector Embedding](https://docs.arcadedb.com/#vector-model) - [Geospatial](https://docs.arcadedb.com/#geospatial-model) ArcadeDB understands multiple languages: - [SQL](https://docs.arcadedb.com#sql) (from OrientDB SQL) - Neo4j [Cypher (Open Cypher)](https://docs.arcadedb.com#cypher) - [Apache Gremlin (Apache Tinkerpop v3.7.x)](https://docs.arcadedb.com#gremlin-api) - [GraphQL Language](https://docs.arcadedb.com#graphql) - [MongoDB Query Language](https://docs.arcadedb.com#mongodb-query-language) ArcadeDB key capabilities: - **70+ Built-in Graph Algorithms** — Pathfinding, centrality, community detection, link prediction, graph embeddings, and more — all available out of the box - **Parallel Query Execution** — SQL queries leverage multiple CPU cores for faster execution on large datasets - **Materialized Views** — Pre-computed query results stored and automatically maintained - **MCP Server** — Built-in [Model Context Protocol](https://docs.arcadedb.com/#mcp-server) server for AI assistant and LLM integration - **AI Assistant** — Integrated AI assistant in Studio (Beta) for query help and database management - **Geospatial Indexing** — Native spatial queries and proximity searches with `geo.*` SQL functions - **TimeSeries** — Columnar storage with Gorilla/Delta-of-Delta compression, InfluxDB/Prometheus ingestion, PromQL queries, Grafana integration - **Hash Indexes** — Extendible hashing for faster exact-match lookups alongside LSM-Tree indexes ArcadeDB can be used as: - Embedded from any language on top of the Java Virtual Machine - Embedded from Python via bindings: [arcadedb-embedded-python](https://github.com/humemai/arcadedb-embedded-python) - Remotely by using [HTTP/JSON](https://docs.arcadedb.com#http-json-api) - Remotely by using a [Postgres driver](https://docs.arcadedb.com#postgres-driver) (ArcadeDB implements Postgres Wire protocol) - Remotely by using a [Redis driver](https://docs.arcadedb.com#redis-query-language) (only a subset of the operations are implemented) - Remotely by using a [MongoDB driver](https://docs.arcadedb.com#mongodb-query-language) (only a subset of the operations are implemented) - By AI assistants via the built-in [MCP Server](https://docs.arcadedb.com/#mcp-server) (Model Context Protocol) For more information, see the [documentation](https://docs.arcadedb.com). ### Use Cases Explore real-world examples in the [arcadedb-usecases](https://github.com/ArcadeData/arcadedb-usecases) repository — self-contained projects with Docker Compose, SQL schemas, and runnable demos covering: - **Recommendation Engine** — graph traversal + vector similarity + time-series - **Knowledge Graphs** — co-authorship and citation networks with full-text search - **Graph RAG** — retrieval-augmented generation with LangChain4j and Neo4j Bolt - **Fraud Detection** — graph, vector, and time-series signals with Cypher - **Real-time Analytics** — IoT and service monitoring with time-series - **Social Network Analytics** — materialized view dashboards with polyglot queries - **Supply Chain** — multi-tier visibility with PostgreSQL protocol and JavaScript ### Getting started in 5 minutes Start ArcadeDB Server with Docker: ``` docker run --rm -p 2480:2480 -p 2424:2424 \ -e JAVA_OPTS="-Darcadedb.server.rootPassword=playwithdata -Darcadedb.server.defaultDatabases=Imported[root]{import:https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/OpenBeer.gz}" \ arcadedata/arcadedb:latest ``` Now open your browser on http://localhost:2480 and play with [ArcadeDB Studio](https://docs.arcadedb.com/#studio) and the imported `OpenBeer` database to find your favorite beer. ![ArcadeDB Studio](https://arcadedb.com/assets/images/openbeer-demo-graph.png) ArcadeDB is cloud-ready with [Docker](https://docs.arcadedb.com/arcadedb/how-to/operations/install-docker) and [Kubernetes](https://docs.arcadedb.com/arcadedb/how-to/operations/kubernetes) support. You can also [download the latest release](https://github.com/ArcadeData/arcadedb/releases), unpack it on your local hard drive and start the server with `bin/server.sh` or `bin/server.bat` for Windows. ### Releases There are four variants of (about monthly) releases: - `full` - this is the complete package including all modules - `minimal` - this package excludes the `gremlin`, `redisw`, `mongodbw`, `graphql` modules - `headless` - this package excludes the `gremlin`, `redisw`, `mongodbw`, `graphql`, `studio` modules - `base` - core engine, server, and network only — excludes all optional modules (`console`, `gremlin`, `studio`, `redisw`, `mongodbw`, `postgresw`, `grpcw`, `graphql`, `metrics`) The nightly builds of the repository head can be found [here](https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/com/arcadedb/arcadedb-package/). You can also build a **custom distribution** with only the modules you need using the [Custom Package Builder](https://docs.arcadedb.com/#custom-package-builder): ```bash curl -fsSL https://github.com/ArcadeData/arcadedb/releases/download/26.3.1/arcadedb-builder.sh | \ bash -s -- --version=26.3.1 --modules=gremlin,studio ``` Available optional modules: `console`, `gremlin`, `studio`, `redisw`, `mongodbw`, `postgresw`, `grpcw`, `graphql`, `metrics`. The builder supports interactive mode, Docker image generation, and offline builds from local Maven repositories. ### Java Versions Starting from ArcadeDB 24.4.1 code is compatible with Java 21. Java 21 packages are available on [Maven central](https://repo.maven.apache.org/maven2/com/arcadedb/) and docker images on [Docker Hub](https://hub.docker.com/r/arcadedata/arcadedb). We also support Java 17 on a separate branch `java17` for those who cannot upgrade to Java 21 yet through GitHub packages. To use Java 17 inside your project, add the repository to your `pom.xml` and reference dependencies as follows: ```xml github github https://maven.pkg.github.com/ArcadeData/arcadedb com.arcadedb arcadedb-engine 26.3.1-java17 ``` Docker images are available on ghcr.io too: ```shell docker pull ghcr.io/arcadedata/arcadedb:26.3.1-java17 ``` ### Embedding Gremlin alongside the engine Always use the `shaded` classifier for gremlin when embedding it, whether alongside `arcadedb-engine` or on its own. Its ANTLR runtime is relocated into a private package, so it never collides with the engine's ANTLR 4.13.2 on a shared classpath. The plain `arcadedb-gremlin` jar resolves ANTLR to the engine's 4.13.2 (pulled transitively via `arcadedb-engine`), which the engine's SQL/Cypher parsers require. TinkerPop's Gremlin string-query parser ships a precompiled ANTLR 4.9.1 parser that only deserializes against the relocated runtime inside the `shaded` jar, so the plain jar alone will not run Gremlin string queries - use the `shaded` classifier. ```xml com.arcadedb arcadedb-engine 26.8.1 com.arcadedb arcadedb-gremlin 26.8.1 shaded ``` ### Building and Testing Build the entire project (skipping tests): ```bash mvn clean install -DskipTests ``` Build the Docker image (skipping tests): ```bash mvn clean install -DskipTests -Pdocker ``` #### Running Unit Tests: Run the full unit test suite: ```bash mvn test ``` Some tests are tagged to indicate their cost: - `slow` - functional tests that take noticeably long (large batches, multi-second elapsed time, big payloads) - `benchmark` - microbenchmarks not intended for regular CI runs To skip these and run only the fast tests: ```bash mvn test -DexcludedGroups="slow,benchmark" ``` To run only a specific tag (e.g. benchmark tests in isolation): ```bash mvn test -Dgroups="benchmark" ``` #### Running Integration Tests: Run all the integration tests (requires Docker): ```bash mvn verify -Pintegration ``` Run integration tests excluding the end-to-end, load, and HA tests: ```bash mvn verify -Pintegration -pl !e2e,!load-tests,!e2e-ha ``` #### Running End-to-End Tests: All end-to-end tests (requires Docker): ```bash mvn verify -Pintegration -pl e2e,load-tests,e2e-ha ``` #### Test Suites at a Glance The codebase is covered by several complementary test suites, each with a distinct scope: | Suite | How it runs | Scope | |-------|-------------|-------| | **Unit tests** | `mvn test` (`*Test`) | Fast, in-process tests of a single component in isolation: engine internals (storage, pages, WAL, indexes, serialization), query parsing and execution (SQL, Cypher, Gremlin, GraphQL), schema, graph traversals, and security. The bulk of coverage; no external services required. Tagged `slow`/`benchmark` tests can be excluded. | | **Integration tests** | `mvn verify -Pintegration` (`*IT`) | Tests spanning multiple components or a running server within the same JVM/module: HTTP/REST API, wire protocols (Postgres, MongoDB, Redis, Bolt, gRPC), cross-module behavior, and embedded multi-server clustering. Some require Docker. | | **End-to-end (`e2e`)** | `mvn verify -Pintegration -pl e2e` | Black-box tests against a real ArcadeDB server in a Docker container (Testcontainers), exercising it the way external clients do: JDBC/Postgres queries, the remote Java API, server-side JavaScript functions, and the Bolt and gRPC drivers. | | **Load tests (`load-tests`)** | `mvn verify -Pintegration -pl load-tests` | Throughput and stability under sustained concurrent workloads against single-server and three-node clusters in containers, including high-volume document and time-series ingestion. Verifies no data loss or corruption under contention. | | **HA end-to-end (`e2e-ha`)** | `mvn verify -Pintegration -pl e2e-ha` | Resilience and correctness of the high-availability (Raft) cluster under failure: leader failover, rolling restarts, split-brain, network partitions/delay/packet loss, replication convergence, and cluster-wide operations (backup/restore, import, drop database, user management). Uses Testcontainers and fault injection (Toxiproxy). | | **Python client (`e2e-python`)** | `cd e2e-python && pytest tests/` | Verifies the Postgres wire protocol against real Python clients (`psycopg2`, `asyncpg`) and the SQLAlchemy ORM, running against a server in a Docker container (Testcontainers). | | **JavaScript client (`e2e-js`)** | `cd e2e-js && npm install && npm test` | Verifies Node.js client compatibility over the Bolt (`neo4j-driver`) and Postgres (`pg`) protocols, running against a server in a Docker container (Jest + Testcontainers). | | **C# client (`e2e-csharp`)** | `cd e2e-csharp/ArcadeDB.E2ETests && dotnet test` | Verifies the Postgres wire protocol against a .NET client (`Npgsql`), running against a server in a Docker container (xUnit + Testcontainers). | ### Community Join our growing community around the world, for ideas, discussions and help regarding ArcadeDB. - Chat live with us on [Discord](https://discord.gg/w2Npx2B7hZ) - Follow us on [Twitter](https://twitter.com/arcade_db) - or on [Bluesky](https://bsky.app/profile/arcadedb.bsky.social) - Connect with us on [LinkedIn](https://www.linkedin.com/products/arcadedb) - or on [Facebook](https://www.facebook.com/arcadedb) - Questions tagged `#arcadedb` on [Stack Overflow](https://stackoverflow.com/questions/tagged/arcadedb) - View our official [Blog](https://arcadedb.com/blog/) ### Security For security issues kindly email us at support@arcadedb.com instead of posting a public issue on GitHub. ### License and Attribution ArcadeDB is Free for any usage and licensed under the liberal [Open Source Apache 2 license](LICENSE). We are committed to remaining **Open Source Forever** — see our [Governance](GOVERNANCE.md) for the structural guarantees that make this more than a promise. If you need commercial support, or you need to have an issue fixed ASAP, check our [pricing page](https://arcadedb.com/pricing.html). For third-party attributions and copyright notices, see: - [NOTICE](NOTICE) - Required legal attributions - [ATTRIBUTIONS.md](ATTRIBUTIONS.md) - Detailed third-party acknowledgments - [LICENSE](LICENSE) - Full license text - [GOVERNANCE.md](GOVERNANCE.md) - License guarantee and project governance ### Thanks To for providing YourKit Profiler to our committers. ### Contributing We would love for you to get involved with ArcadeDB project. If you wish to help, you can learn more about how you can contribute to this project in the [contribution guide](CONTRIBUTING.md). Have fun with data! The ArcadeDB Team ## Stargazers over time [![Stargazers over time](https://starchart.cc/ArcadeData/arcadedb.svg?variant=adaptive)](https://starchart.cc/ArcadeData/arcadedb)