You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2017/05/24 23:35:04 UTC

[jira] [Created] (PHOENIX-3884) Correct MutationState size estimation

Lars Hofhansl created PHOENIX-3884:
--------------------------------------

             Summary: Correct MutationState size estimation
                 Key: PHOENIX-3884
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3884
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.10.0
            Reporter: Lars Hofhansl


Currently the Mutation is estimated by called Mutation.heapSize(), which adds all the overhead needed to store the Mutation on the Java heap and has little to do with the actual size on the wire or the size of disk.

With a sample row with a 20 byte key and 10 columns with a qualifier length and value length of this reports 1800 bytes, where the size is closer to 600-700 bytes.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)