cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4j using Direct I/O (bypassing the Neo4j's caching system)

Hello,

I would like to ask can we bypass the Neo4j's caching system by using Direct IO?
Any suggestion?
Thanks

1 REPLY 1

Can you clarify more what you're trying to do and why you want to do this?

A possibility would be to make the page cache very small, which would make it difficult or impossible for Neo4j to hold any of the raw database contents in memory. Which would sort of accomplish what you're asking, but would really harm database performance.

It isn't something I would recommend doing. Perhaps there's a better way to get where you need to go, if you can provide more details of your use case and need.

https://neo4j.com/docs/operations-manual/current/performance/memory-configuration/