SERVER-78265 is adding new options to 'sampleRate' and 'sampleSize' to the analyzeShardKey command, where 'sampleRate' is a double in range (0, 1] representing the proportion of the documents in the collection to sample. This definition aligns with what other commands use (e.g. the profiler and analyze command). For usability purposes, the 'sampleRate' option for the configureQueryAnalyzer command should be renamed to 'samplesPerSecond' so it is self-explanatory and cannot be confused with the 'sampeRate' option for the analyzeShardKey command which belongs to the same feature being introduced in PM-1858.
- is related to
-
MONGOSH-1499 Make analyzeShardKey shell helper support the new options
- Closed