CBR testing: Make internalQuerySamplingBySequentialScan more representative

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • 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:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: