ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: statistics of cache - number of loaded rows to particular tires.
Date Mon, 23 May 2016 12:59:27 GMT
Sure, you can have a look at VisorCache.estimateMemorySize sources if you really needs this.

—
Denis

> On May 22, 2016, at 1:28 AM, Tomek W <rrrtomtomrrr@gmail.com> wrote:
> 
> Ok, maybe something that use  ignitevisorcmd ?
> 
> 2016-05-21 21:44 GMT+02:00 Denis Magda <dmagda@gridgain.com <mailto:dmagda@gridgain.com>>:
> Hi,
> 
> Size in number of entries:
> 
> cache.size(CachePeekMode.ONHEAP)
> cache.size(CachePeekMode.OFFHEAP)
> 
> cache.size(CachePeekMode.SWAP)
> 
> Size in bytes:
> CacheMetrics.getOffHeapAllocatedSize
> CacheMetrics.getSwapSize
> 
> To my knowledge there is no public API that returns size in bytes for ONHEAP portion
of the heap.
> 
> —
> Denis
> 
> > On May 21, 2016, at 9:18 PM, tomk <rrrtomtomrrr@gmail.com <mailto:rrrtomtomrrr@gmail.com>>
wrote:
> >
> > Hello,
> > How to check following thnigs:
> > How many entries (rows) is loaded to off-heap.
> > How many entries (rows) is loaded to on-heap
> > How many entries (rows) is swapped ?
> > (better metric: GB/MB)
> >
> >
> >
> >
> >
> > --
> > View this message in context: http://apache-ignite-users.70518.x6.nabble.com/statistics-of-cache-number-of-loaded-rows-to-particular-tires-tp5071.html
<http://apache-ignite-users.70518.x6.nabble.com/statistics-of-cache-number-of-loaded-rows-to-particular-tires-tp5071.html>
> > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
> 
> 


Mime
View raw message