Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21721

Sql. Adjust cost estimation for index scan

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • sql

    Description

      Scan over an index if significantly slower than scan over a table. In some cases (for example, TPC-H q1 on scaleFactor=0.1) it's faster to read an entire table and do sorting in memory rather than scan the index.

      Let's adjust cost function to reflect the real complexity of index scan.

      Attachments

        Issue Links

          Activity

            People

              korlov Konstantin Orlov
              korlov Konstantin Orlov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m