Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-917

Calculation of 'stats wa' need to be modified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cli
    • None

    Description

      'Write Amplification Factor' = 'Total Written' / 'Total Upserted' 

      'Total Written' is always increase.

      'Total Upserted' is not always increase. When the newest commit is insert new data,'Total Upserted' will be 0.

      It leads the result are not in line with our understanding. 

       

      if I insert 3 times, update 1 times, then insert again(10 rows per time)

      'stats wa ' result as follows:

       

      'Total Written' need change to get the difference between adjacent commit.

      I found that the numsWrites always increase. It's the reason of this.

       

      I'll try to fix it.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            y_static_y yaojingyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: