Discussion:
Do you know how to clear cache in Neo4j?
i***@public.gmane.org
2013-02-08 21:00:39 UTC
Permalink
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
"http://lists.neo4j.org/pipermail/user/2010-December/006049.html"

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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Michael Hunger
2013-02-08 23:35:41 UTC
Permalink
Why would you want to clear the cache?

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

Michael
Post by i***@public.gmane.org
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
"http://lists.neo4j.org/pipermail/user/2010-December/006049.html"
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.
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
jean caca
2014-07-13 03:09:30 UTC
Permalink
He just told you why.

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

Thanks,
Jean
Post by Michael Hunger
Why would you want to clear the cache?
Cold / uncached performance is not what you aim for in production settings.
Michael
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
"http://lists.neo4j.org/pipermail/user/2010-December/006049.html"
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
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Nigel Small
2014-07-14 12:07:29 UTC
Permalink
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
Post by jean caca
He just told you why.
I'd be interested in knowing how to clear that cache as well, for the same
purposes.
Thanks,
Jean
Post by Michael Hunger
Why would you want to clear the cache?
Cold / uncached performance is not what you aim for in production settings.
Michael
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
"http://lists.neo4j.org/pipermail/user/2010-December/006049.html"
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
For more options, visit https://groups.google.com/groups/opt_out.
--
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
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Stefan Armbruster
2014-07-14 12:15:22 UTC
Permalink
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
Post by Nigel Small
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
Post by jean caca
He just told you why.
I'd be interested in knowing how to clear that cache as well, for the same
purposes.
Thanks,
Jean
Post by Michael Hunger
Why would you want to clear the cache?
Cold / uncached performance is not what you aim for in production settings.
Michael
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
"http://lists.neo4j.org/pipermail/user/2010-December/006049.html"
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
For more options, visit https://groups.google.com/groups/opt_out.
--
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
For more options, visit https://groups.google.com/d/optout.
--
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
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Xiaomei Zeng
2016-03-06 23:03:29 UTC
Permalink
Post by Michael Hunger
Why would you want to clear the cache?
Cold / uncached performance is not what you aim for in production settings.
Michael
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
"http://lists.neo4j.org/pipermail/user/2010-December/006049.html"
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
For more options, visit https://groups.google.com/groups/opt_out.
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...