ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Du" <shawn...@neulion.com.cn>
Subject BinaryObject pros/cons
Date Thu, 27 Oct 2016 07:17:36 GMT
Hi expert,

 

BinaryObject gives great convenience to create dynamic objects. Does it have
disadvantages? 

 

Take below example, does each field name will consume memory or not?  Many
RDBMS which has fixed table schema, column name willn't use memory/disk.
How does it for BinaryObject?

 

If some fields' value are null, does it consume memory? 

 

+===========================================================================
============================================================================
=======================================================+

|    Key Class     |       Key        |           Value Class           |
Value                                                                 |

+===========================================================================
============================================================================
=======================================================+

| java.lang.String | 3E47D5ACA7A05D59 | o.a.i.i.binary.BinaryObjectImpl |
videoviewcount_by_regionid [idHash=312942657, hash=0, site_product=testsite,
regionID=35415317, value=4, timestamp=1477550400000]      |

 

 

Thanks

Shawn


Mime
View raw message