Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99073

Support CE and costing of the shard filter stage

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization

      The catalog has a function to get the number of orphans present on a shard. This will allow us to estimate the cardinality of the shard filter stage.

      It is still an open question as to whether doing this is better than always estimating shard filter to have a hard-coded selectivity. We can certainly construct scenarios in which a large number of orphans could affect the optimal access-path.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: