Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1177 Cost-based query optimization
  3. PHOENIX-1259

Perform partial scan for ANALYZE when table salted or local index

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0, 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      If the table is salted or a local index, we can tweak our logic slightly for the start/stop range of the scan we're doing to analyze the table. We should pass three new parameters over:

      • the start key/stop key for the scan
      • a boolean for isSalted (table.getBucketNum() != null)
      • a boolean for isLocalIndex (table.getIndexType() == IndexType.LOCAL)

        Attachments

          Activity

            People

            • Assignee:
              ram_krish ramkrishna.s.vasudevan
              Reporter:
              jamestaylor James R. Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: