Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First understand the concepts | |
https://neo4j.com/developer/guide-performance-tuning/ | |
https://neo4j.com/docs/operations-manual/current/performance/memory-configuration/#heap-sizing | |
https://neo4j.com/docs/operations-manual/current/performance/#memory-tuning | |
run $NEO4J_HOME/conf/neo4j.conf | |
Heap: is for queries and transactions | |
chache: is for retrieve easier from hard disk (I think) | |
Decide how much ram mem you want to give for | |
OS operations: maybe 8g in my case. servers(1-3GB fully neo4j dedicated) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get node | |
MATCH (b:label1 { name: "bn:00706957n"}) return b | |
// get rel | |
match (n)-[r:rel {name:"0"}]-(p) return count (r) | |
// create toy graph | |
---PLAN | |
1 > 2 >3 > 4 |