It is not quite clear to me if running an explain actually runs the query or just samples to output the winning plan/index.
which of the following explain options run the actual query and which ones dont
queryPlanner - does not run ?
executionStats - runs ?
allPlansExecution - runs ?
Im concerned that testing a query over a huge collection will produce query targetting alerts in atlas while testing.
What about findAndModify queries also using the above options?
do they actually get run or just sampled to output the winning plan/index?