You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(aoe): more accurate calculation of the size of each memory node #164
For the column data node, there are 3 major parts, and the size of the node cannot be determined until the node becomes read-only.
metadata like field type, size, etc.
null value bitmap
column raw data
Currently, when a node is first created, it will be given an estimated size.
For example, for a column of type int32, if a node max row is 1000, the estimated size of this node is sizeof(int32) * rows = 4000 byte.
When the data corresponding to the node is continuously upgraded to a higher form(transient-->unsorted-->sorted), the initial node size will be inherited. The size error of each node is not big, but if it accumulates too much, it will affect memory management.
This issue will recalculate the real node size when it becomes read-only.
Activity
Merge pull request matrixorigin#164 from ck89119/snapshot-restore
Merge pull request matrixorigin#164 from jiangxinmeng1/tombstone_merg…