Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions mongodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ It may seem unfair to other benches that don't have same preparation but working
require that all because you can't just make arbitrary queries on big collections in mongo.

If you search mongo analogues for your SQL queries then you can inspire by
`queries.js` but remember that these queries specially adapted to current benchmark
and may be work slower in your cases/environment. Especially if you have less than 100k docs.
`queries.sql`, which holds one aggregation pipeline per line in Extended JSON, in the same
order as the SQL of `../clickhouse/queries.sql`. Remember that these queries are specially
adapted to the current benchmark and may work slower in your cases/environment, especially
if you have less than 100k docs.

---

Expand Down
4 changes: 2 additions & 2 deletions mongodb/benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# aggregation pipelines (queries.txt, EJSON one-per-line) rather than SQL.
# This system runs aggregation pipelines (queries.sql, Extended JSON one per line) rather than SQL.
export BENCH_DOWNLOAD_SCRIPT="download-hits-tsv"
export BENCH_QUERIES_FILE="queries.txt"
export BENCH_QUERIES_FILE="queries.sql"
exec ../lib/benchmark-common.sh
Loading
Loading