[SERVER-84674] Collscan benchmarks - queries with common path prefix Created: 09/Jan/24  Updated: 28/Jan/24  Resolved: 24/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Henri Nikku
Resolution: Fixed Votes: 0
Labels: M3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: QO 2024-02-05
Participants:
Linked BF Score: 135

 Description   

In Genny’s RepeatedPathTraversal we have a number of queries with a filter of fields with common path prefix of length 2, and collection size of 1M.

We will need

  • Extend the benchmark with deeper fields with longer common prefixes, e.g. find({“a.b.c.d.e”: 1, “a.b.c.d.f”: 1}), find({$or: [\{"a.b.c.d.e": 1\}, \{"a.b.c.d.f": 1\} ]}) 
  • Possibly run the same queries over smaller collection sizes (100 and 10K documents).


 Comments   
Comment by Githook User [ 23/Jan/24 ]

Author:

{'name': 'Henri Nikku', 'email': 'henri.nikku@mongodb.com', 'username': 'henrinikku'}

Message: SERVER-84674 Add queries with longer common path prefixes (#1116)
Branch: master
https://github.com/mongodb/genny/commit/bd176873f14220a16f96f31d1461385ee8b73532

Comment by Henri Nikku [ 19/Jan/24 ]

https://github.com/mongodb/genny/pull/1116

Generated at Thu Feb 08 06:55:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.