[Neo4j] is there a way to programmatically determine number of nodes and relationship in a datastore?

2011-08-18 Thread Gautam Thaker
Hi: I am somewhat new to neo4j. I wanted to track the number of nodes and relations in my datastore over time, and to do so from my own program (as opposed to from the webadmin gui that one reaches at http://localhost:7474.) Are there API calls that provide this information? Thanks. Gautam

Re: [Neo4j] is there a way to programmatically determine number of nodes and relationship in a datastore?

2011-08-18 Thread Peter Neubauer
Hi Gautam, a lot of monitoring info is exposed via the JMX and Monitoring API, see http://docs.neo4j.org/chunked/snapshot/operations-monitoring.html for details. I believe the number of nodes and releationships is part of the community edition, so just try it out using the JMX API (there is Java