[
https://issues.apache.org/jira/browse/PHOENIX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410304#comment-15410304
]
Thomas D'Silva commented on PHOENIX-3148:
-----------------------------------------
1) Here is the break down of estimated size.
table.getEstimatedSize() 6378
list of column families 2702
map of columnsByName size 836
PK columns size 580 (not sure if this is required)
map with allColumns size 524 (not sure if this is required)
map with numPKColumns size 252 (not sure if this is required)
const 288
rowKeySchema size 228
list of physicalNames 205
tableName 199
familyByBytes map size 184
familyByString map size 184
schemaName 136
families.length array size 60 (not sure if this is required)
list of indexes array size 0
tenantId 0
pkName 0
parentTableName 0
defaultFamilyName 0
parentName 0
2) protobuf length 372
The protobuf size is a lot smaller than our estimated size.
> Reduce size of PTable so that more tables can be cached in the metada cache.
> ----------------------------------------------------------------------------
>
> Key: PHOENIX-3148
> URL: https://issues.apache.org/jira/browse/PHOENIX-3148
> Project: Phoenix
> Issue Type: Bug
> Reporter: Thomas D'Silva
> Labels: argus
> Fix For: 4.9.0
>
>
> According to PHOENIX-2995, the current size is 7KB per PTable which works out
> to enabling 140K PTables per 1GB.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)