arXiv:2611.07971cs.DBNov 2026

Manuscript Offprint

arXiv:2611.07971

ArcadeDB in Python: An In-Process Multi-Model Database

Taewoon Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

OPEN ACCESS

https://doi.org/10.25080/fwvt2525

Figure

SciPy 2026

July 13 - July 19, 2026

Proceedings of the 25th Python in Science Conference ISSN: 2575-9752

Taewoon Kim¹ID

¹HumemAI

Abstract

Some Python workflows need transactional reads and writes over documents, traversals over a graph, and similarity search over vector embeddings. In practice these are split across separate systems (a document store, a graph engine, and a vector index), and the data is copied between them and kept consistent by application code. ArcadeDB is an open-source multi-model database engine, written in Java, that supports all three access patterns and can be embedded in a host process. We present arcadedb-embedded, a Python package that runs ArcadeDB inside the Python process via JPype, using a Java Runtime Environment bundled in the wheel. One pip install gives a database with documents, a property graph, and vector search, and needs no Java installation. Query results can be returned as Python lists, NumPy arrays, pandas DataFrames, or Arrow tables. We demonstrate a hybrid retrieval workflow that chains vector search, SQL filtering, and graph traversal over one dataset. We benchmark arcadedb-embedded against SQLite, DuckDB, LadybugDB, and Chroma, and report its costs.

Keywords multi-model database, embedded database, graph database, vector search, Python bindings, JPype

1. INTRODUCTION

A question-answering system over a Q&A site stores posts and their metadata as documents (queried with SQL, much like rows of a table, but without a fixed schema), models who answered-what or what-cites-what as a graph, and retrieves passages by semantic similarity over vectors, all over the same corpus. Python is popular for these workloads, but no single Python-embeddable data store covers all three access patterns. The usual response is to assemble a stack of SQLite or DuckDB for documents, NetworkX or an embedded graph database such as LadybugDB for the graph, and a vector index such as FAISS, hnswlib, or Chroma for vectors [1], [2], [3], [4], [5], [6], [7].

A stack of specialists is a reasonable default, and D. Datta [8] makes the case for assembling one from interoperable Python libraries. It has costs when all three access patterns apply to the same data. Each system holds its own copy, with its own consistency model, so every write has to reach all of them. A query that spans models passes identifiers from one library to another. Reproducing an experiment means pinning several packages instead of one.

This paper describes the alternative, one embedded multi-model database that holds documents, a property graph, and vector indexes. That database is ArcadeDB [9], an Apache-2.0 Java application that keeps all three models in one store (referred to as “the engine” throughout the rest of the paper). Documents are queried with its SQL dialect, the graph with OpenCypher, and vectors through a graph index of the Hierarchical Navigable Small World (HNSW) family. Transactional (online transaction processing, OLTP) and analytical (online analytical processing, OLAP) queries run over the same data. ArcadeDB is ACID (atomic, consistent, isolated, durable). Its Graph Analytical Views (GAV), an ArcadeDB-specific structure, speed up graph analytics while the base graph stays transactional.

Published Jul 13, 2026

Correspondence to Taewoon Kim taewoon@humem.ai

Open Access

©️

Copyright © 2026 Kim. This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International license, which enables reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator.

SciPy 2026 | July 13, 2026

Kim, 2026

arcadedb-embedded binds the Java engine through JPype [10], [11]. The paper contains benchmarks comparing arcadedb-embedded to the specialists.

Concretely, this paper contributes:

  1. An in-process multi-model database for Python. Each wheel bundles a Java Runtime Environment (JRE) for its platform, from which the binding starts a Java Virtual Machine (JVM) inside the Python process via JPype. The binding covers JVM lifecycle, transactions, and NumPy/pandas/Arrow interop. Wheels exist for four platforms and five Python versions, and the user never installs Java.

  2. A hybrid workflow. A single retrieval pipeline composes vector search, SQL filtering and graph traversal over one dataset in one process. A capability matrix shows that no single Python-embeddable alternative expresses this composition.

  3. A benchmark against embedded specialists. A reproducible benchmark suite compares the engine, from Python, against embedded specialists on a real-world Q&A corpus, across transactional, analytical, and vector workloads. We report which models each side wins and what the unified engine costs in memory, startup, latency tails, disk, and result transport into Python.