Decomposing Engine and Schema Effects in Database Performance: A Result-Equivalent E-Commerce Benchmark
Ioana-Maria Feraru, Ionuț Hrubaru
Key points
From the paper's conclusion- StreamCart, a realistic e-commerce benchmark, decomposes performance across an optimized relational baseline (PostgreSQL) and five specialized engines (MongoDB, Cassandra, Neo4j, Elasticsearch, and TimescaleDB), each at a naive and an engine-optimized level.
Abstract
Published database comparisons usually cover engine pairs, conflate engine and schema effects, and compare queries that compute different results. StreamCart, a realistic e-commerce benchmark, decomposes performance across an optimized relational baseline (PostgreSQL) and five specialized engines (MongoDB, Cassandra, Neo4j, Elasticsearch, and TimescaleDB), each at a naive and an engine-optimized level. All eleven configurations were measured in three independent runs, and the analytics results of Elasticsearch, and those of Neo4j on rolling revenue, were verified row by row. A naive port outperformed the baseline in two of 35 query cells, and no single engine dominated. Engine and implementation level explained 10.0% and 6.0% of the variance of log latency as main effects and 10.6% through their interaction. Optimized Elasticsearch answered the two revenue analytics queries 35 and 45 times faster than PostgreSQL, but load-time precomputation that PostgreSQL can adopt as well accounts for factors of 12 and 6.8. Latency grew less with dataset size for optimized Elasticsearch and Cassandra than for PostgreSQL, though their incremental growth was not distinguished, and against PostgreSQL with the same precomputation, only Elasticsearch on rolling revenue kept that advantage. PostgreSQL led in concurrent writes while acknowledging every insert after an fsync. All code, data, and timings are public.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Hybrid Product Search Without the Copy: Lexical, Semantic and Filtered Retrieval Served Directly from a Data LakearXiv · 2026
- No Silver Bullet: Boosting GaussDB Performance on the 30TB TPC-H WorkloadarXiv · 2026
- Performance-Storage Trade-Off Analysis of MongoDB Indexing Strategies Using Large-Scale E-Commerce DataJournal of Enhanced Studies in Informatics and Computer Applications · 2026
- Reducing the Cross-Model Tax: Query Optimization over Multi-Model DataarXiv · 2026
- Comparing Write, Read, and Query Performance of General-Purpose and Columnar Data Serialization Formats at Increasing Scale: An Empirical Benchmark Study with Statistical Validation on Synthetic and Real-World DataarXiv · 2026
- Schema Retrieval with Embeddings and Vector Stores Using Retrieval-Augmented Generation and LLM-Based SQL Query GenerationApplied Sciences · 2026