Cache tuning with embedded neo4j?

23 views
Skip to the first unread message

Josef Karthauser

unread,
9 Apr 2015, 15:56:5009/04/2015
to ne...@googlegroups.com
Sorry if this has been asked before; but what's the best way of cache tuning Neo4J with an embedded database?

I'm not sure what the default settings would be in embedded, as there isn't a configuration file to tweak.

Is there a way of getting profile output from Neo4j so that I can see how what the high tide marks are for my application?

Thanks,
Joe

Michael Hunger

unread,
10 Apr 2015, 20:38:5710/04/2015
to ne...@googlegroups.com
What do you want to achieve?

You can tune the JVM heap and in Neo4j 2.2 the page-cache size in the config that you pass to the database.

You can also enable different types of LRU caches with cache_type=none|soft|weak|hpc(enterprise)

Usually what you can look at from the outside is either profiling with tools like jvsiualvm or yourkit (which also inform you about peak memory usage).

And the gc-logs (jvm commandline arguments) but also CPU and disk (I/O) usage.

MIchael

--
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/d/optout.

Reply all
Reply to author
Forward
0 new messages