在这次新的更新中,Neo4j的核心发生了很多变化,这真的令人兴奋。
以前的Neo4j版本缺少的一件事是让用户使用网络界面的能力。好吧,他们可以使用它,如果你不介意他们能删除所有内容,或者你不介意让整个数据库只读给每个人,包括你自己。
3.x现在有解决方法吗?我发现你已经对网络界面进行了一些非常棒的改进(在所有会议和YouTube视频中似乎已经在雷达之下飞行) - 但是我不能让我的用户使用任何这个真棒,因为他们可能match (n) detach delete (n)
。
谢谢! :)
答案 0 :(得分:3)
If you have access to enterprise version or don't mind the AGPL license of neo4j-ha then you can create a read-only slave.
Have a look at neo4j high availability documentation for configuration.
In particular you want to have following properties set:
# Only allow read operations from this Neo4j instance. This mode still requires
# write access to the directory for lock purposes.
dbms.read_only=true
and
# Whether this instance should only participate as slave in cluster. If set to
# true, it will never be elected as master.
ha.slave_only=true