PDA

View Full Version : how to view size taken up and max size



deanhiller
Jan 25th, 2011, 02:02 PM
How do I view what is in the gemfire cache as far as what data is on what node? Is there any tools I can start up to see how my data is spread and if it is spreading correctly?

thanks,
Dean

upthewaterspout
Jan 26th, 2011, 12:05 PM
If you just want to see the size of regions, vsd is a great tool for viewing gemfire statistics. You can download it from the gemfire download page - http://www.springsource.com/products/gemfire-evaluation-download.

To use it, you need to configure gemfire to write statistics to a file. Add

statistic-sampling-enabled=true
statistic-archive-file=stats.gfs

To you gemfire properties. Gemfire will write statistics once a second to the file, which you can then view with vsd.

Databrowser and gemfire shell are also good for exploring what's actually stored in each member.