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

Stats - Expected bytes/rows return null for index tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.11.0
    • None
    • None
    • None

    Description

      Machine readable estimated row count and bytes read return null for explain plan that uses index.

      +-------------------------------------------------------------------------------------------------------------------+-----------------+----------------+
      |                                                       PLAN                                                        | EST_BYTES_READ  | EST_ROWS_READ  |
      +-------------------------------------------------------------------------------------------------------------------+-----------------+----------------+
      | CLIENT 48-CHUNK 407739 ROWS 470002889 BYTES PARALLEL 1-WAY FULL SCAN OVER T.IDX                                   | null            | null           |
      |     SERVER FILTER BY FIRST KEY ONLY                                                                               | null            | null           |
      |     SERVER AGGREGATE INTO SINGLE ROW                                                                              | null            | null           |
      +-------------------------------------------------------------------------------------------------------------------+-----------------+----------------+
      

      Estimated row count and bytes read works fine if NO_INDEX hint is used for base table stats.

      Attachments

        Activity

          People

            samarthjain Samarth Jain
            mujtabachohan Mujtaba Chohan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: