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

Incorrect stats if data size is less than guidepost width

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      For a small table, lets say with a single region < guidepost width, the stats after running update statistics can be way off. This is because we get an empty guidepost for the region and in BaseResultIterators we end up estimating the #rows as guidepostwidth/estimated row size of the table. For a table having <100 rows and guidepost width size of 100 mb, if the estimated row size is 100 bytes we end up estimating a million rows.

      Attachments

        1. PHOENIX-4674.patch
          1 kB
          James R. Taylor

        Activity

          People

            abhishek.chouhan Abhishek Singh Chouhan
            abhishek.chouhan Abhishek Singh Chouhan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: