{ "status": "passed", "findings": { "query": "TPC-H Q1", "scaleFactor": 0.01, "originalMatchedRows": { "postgres": 59307, "mongo": 60175 }, "originalSourceMismatchObserved": true, "alignedAllNumericAggregatesAgree": true, "isolatedDatabaseRuns": 8, "originalSqlCutoff": "1998-09-02", "originalMongoCutoff": "1998-12-01" }, "provenance": { "slug": "tpch-databases", "title": "TPC-H Q1 — MongoDB embedding versus PostgreSQL reproducibility audit", "authors": [ "André Merlo", "Jorge N. S. Pavão", "Luiz C. de Freitas", "Jorge Soares", "Diego Brandão", "Kele Belloze" ], "conference": "XVIII Brazilian e-Science Workshop (BreSci 2024), co-located with SBBD", "article": "https://sol.sbc.org.br/index.php/bresci/article/view/30582", "source": "https://github.com/jnpavao/tpch_mongodb", "scope": "Portable audit of Q1 from the published repository, using genuine TPC-H dbgen 2.13.0 at scale factor 0.01 (complete generated lineitem table). The original MongoDB pipeline filters through 1998-12-01 while the original PostgreSQL query filters through 1998-09-02. Run both unchanged, then an explicitly named aligned variant that changes only MongoDB’s cutoff to 1998-09-02. Execute each engine/mode with and without an index in isolated database instances. Validate numerical equivalence only for aligned semantics and record original-source disagreement. This is a Q1 audit, not reproduction of all 22 queries, the paper’s hardware, scale or performance ranking. Timings under concurrent execution are observations, not a controlled database benchmark. Original data generator and specification: https://www.tpc.org/tpch/ and https://github.com/electrum/tpch-dbgen/tree/32f1c1b92d1664dba542e927d23d86ffa57aa253. TPC-H data are generated by definition; no hand-built fixture replaces them. Original code authors retain attribution; upstream has no explicit license declaration. MongoDB binary is obtained from its official distribution; respective upstream terms apply.", "executionClaim": "Adapted scientific workflow; completion and agreement are reported only by measured evidence." }, "acquisition": { "files": [ { "path": "AvaliaMongoDB.py", "url": "https://raw.githubusercontent.com/jnpavao/tpch_mongodb/680b36b32746df155f18620ee4e48d4a0f1eaf7a/AvaliaMongoDB.py", "sha256": "6d19fae08ad3f21f7cdf2579bb9cce9b97a50e2a5103ce98ba81ea67a5003d05", "bytes": 46876 }, { "path": "AvaliaPostgreSQL.py", "url": "https://raw.githubusercontent.com/jnpavao/tpch_mongodb/680b36b32746df155f18620ee4e48d4a0f1eaf7a/AvaliaPostgreSQL.py", "sha256": "2924e1aa5ab337c61bf1b3b528d7ca0abbc50ab0a100886ef82778e9761cb918", "bytes": 36172 }, { "path": "dbgen.tar.gz", "url": "https://codeload.github.com/electrum/tpch-dbgen/tar.gz/32f1c1b92d1664dba542e927d23d86ffa57aa253", "sha256": "01d8a4fa0fff4be83a9f43dbdc5a69f560d34f5ff0b4dbff1fc3a5320baf6318", "bytes": 211381 }, { "path": "mongodb.tgz", "url": "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian12-7.0.16.tgz", "sha256": "073b4ffa712a7f74e1ad046e3c7dc8d7af8db550b329b5c75466c7ea43ec6d38", "bytes": 84762182 } ] } }