Re: [Neo4j] Do you know how to clear cache in Neo4j?

1,333 views
Skip to first unread message

Michael Hunger

unread,
Feb 8, 2013, 6:35:41 PM2/8/13
to ne...@googlegroups.com
Why would you want to clear the cache?

Cold / uncached performance is not what you aim for in production settings.

Michael

Am 08.02.2013 um 22:00 schrieb i28...@gmail.com:

Hi~~~

I have done some test for benchmarking purposes in Neo4j.

But, I got some different result because I didn't remove(clear) cache.

So, I have found a method about flushing cache 

However, it is old version. 

To clear cache, what should I do?

Thanks a lot

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

jean caca

unread,
Jul 12, 2014, 11:09:30 PM7/12/14
to ne...@googlegroups.com, michael...@neotechnology.com
He just told you why.

I'd be interested in knowing how to clear that cache as well, for the same purposes.

Thanks,
Jean

Nigel Small

unread,
Jul 14, 2014, 8:07:34 AM7/14/14
to Neo4J, Michael Hunger

I think Michael's question was more to ask why there is value in measuring uncached performance at all. In production, caches are typically in play and so the performance statistics for warm caches are far more useful for comparison purposes.

Nigel

For more options, visit https://groups.google.com/d/optout.

Stefan Armbruster

unread,
Jul 14, 2014, 8:15:26 AM7/14/14
to ne...@googlegroups.com, Michael Hunger
Neo4j Enterprise edition features JMX beans for NodeCache and
Relationship cache. These beans have a clear() method that clears the
respective cache, see
http://docs.neo4j.org/chunked/stable/jmx-mxbeans.html#jmx-cache-nodecache

/Stefan

Xiaomei Zeng

unread,
Mar 6, 2016, 6:24:37 PM3/6/16
to Neo4j, michael...@neotechnology.com
Reply all
Reply to author
Forward
0 new messages