Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-186

Take advantage of region boundaries for min/max queries

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Resolution: Not A Problem
    • None
    • None
    • None
    • 55

    Description

      Rowkey is led by date non null.

      explain select max(date) from foobar where date < to_date('2013-02-17 00:00:00')

      [["PLAN"],
      ["CLIENT PARALLEL 7-WAY RANGE SCAN OVER FOOBAR TO (2013-02-17 00:00:00) EXCLUSIVE"],
      [" SERVER FILTER BY FirstKeyOnlyFilter"],
      [" SERVER AGGREGATE INTO SINGLE ROW"]]

      Does this plan imply we scan from the beginning of the table up to the specified endpoint?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ryang-sfdc ryang-sfdc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: