CBR testing: Implement stride sampling

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      internalQuerySamplingBySequentialScan, which is used exclusively for testing, takes the first N documents from the collection in order to build the sample, with means that the sample is skewed.

      Instead, take every M-th document so that you still end up with N documents in the sample, but taken at intervals over the entire collection.

      This will undoubtedly introduce a performance hit, but this flag is only used for testing purposes.

            Assignee:
            Philip Stoev
            Reporter:
            Philip Stoev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: