[ 
https://issues.apache.org/jira/browse/IGNITE-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158195#comment-16158195
 ] 

Vladimir Ozerov commented on IGNITE-6300:
-----------------------------------------

[~avinogradov], as I already mentioned, storage format != binary format. For 
this reason by estimating binary object you estimate nothing. For me this is a 
no-go for the product, as I do not want to confuse users with meaningless 
numbers. Space estimation is performed not by some analysts, but by developers 
and administrators, and it is not a problem for them to setup an Ignite 
instance and call some API. Our goal should be to have this API simple and 
intuitive. Basically, this is how other vendors work. E.g. Oracle use special 
commands and system tables for this [1].

If you still feel that this feature is needed, I would strongly suggest you to 
start discussion on the devlist to get more opinions and discuss how this 
feature will look like. JIRA ticket is not appropriate place for such 
discussion.

[1] 
https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:266215435203

> BinaryObject's set size estimator
> ---------------------------------
>
>                 Key: IGNITE-6300
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6300
>             Project: Ignite
>          Issue Type: New Feature
>            Reporter: Anton Vinogradov
>            Assignee: Dmitriy Sorokin
>
> Need to provide some API to estimate requirements for any data model.
> For example:
> 1) You have classes A,B and C with known fields.
> 2) You know that you have to keep 1M of A, 2M of B and 45K of C.
> 3) BinarySizeEstimator should return you expected memory consumption on 
> actual Ignite version without starting a node.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to