Decomposing Engine and Schema Effects in Database Performance: A Result-Equivalent E-Commerce Benchmark

Published database comparisons typically cover engine pairs, conflate the engine effect with the schema effect, and compare queries that do not compute the same result. We present StreamCart, a benchmark built on a realistic e-commerce workload, and use it to decompose performance across six systems, PostgreSQL as an optimized relational baseline and five specialized engines (MongoDB, Cassandra, Neo4j, Elasticsearch, TimescaleDB), each implemented at a naive migration level and at an engine-optimized level, eleven configurations in all. Result equivalence for the claim-bearing analytics queries is verified row by row against the relational reference. Across seven read query classes, no naive implementation outperforms the baseline on any query, and no single engine dominates, with the classes splitting between PostgreSQL, optimized Elasticsearch, and optimized MongoDB. Schema design emerges as a factor on par with engine choice, improving performance by up to 3892 times on Cassandra and 137 times on Elasticsearch, where load-time denormalization lets the optimized form outperform PostgreSQL by 15.8 and 6.3 times on identical results, while a single omitted uniqueness constraint reduced Neo4j write throughput a hundredfold. Concurrent write throughput spans roughly two orders of magnitude (165 to 12,603 events per second). All code, data, and raw timings are public.

Link
https://doi.org/10.20944/preprints202610.2033.v1
Found by
Crossref
Authors
Ioana-Maria Feraru, Ionuț Hrubaru
Categories
benchmark
Published
2026-10-21
Last seen by the radar
2026-10-23
Citations
0
Radar score
26.75 / 100 (how it is scored)
Why it scored so
Matched: benchmark; Primary record: Crossref
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref