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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0, 3.2.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: