neo4j配置⽂件f详解⼀、dbms配置
dbms.default_database=neo4j
⽬录路径
dbms.directories.data=data
dbms.directories.plugins=plugins
ificates=certificates
dbms.directories.logs=logs
dbms.directories.lib=lib
dbms.directories.run=run
ics=metrics
导⼊⽂件的⽬录,配置后只能从import⽬录导⼊,注释后可从任意⽂件⽬录导⼊
dbms.directories.import=import
认证
dbms.security.auth_enabled=false
允许更新conf
dbms.allow_upgrade=true
初始Java堆⼤⼩
最⼤Java堆⼤⼩
jvm额外启动参数,多个配置多个
dbms.jvm.additional=-XX:MaxDirectMemorySize=512m
页缓存⼤⼩,默认为RAM⼤⼩减去最⼤堆内存后的50%(假如机器上只运⾏了neo4j)
数据库总数
dbms.max_databases=100
是否允许在线备份
abled=true
默认只能localhost备份
dbms.backup.listen_address=0.0.0.0:6362
#The maximum time interval of a transaction within which it should be completed.
Defines whether memory for transaction state should be allocated on- or offheap.ON_HEAP, OFF_HEAP。默认OFF___allocation=ON_HEAP
The number of Cypher query execution plans that are cached.
dbms.query_cache_size=1000
neo4j运⾏模式:SINGLE, CORE, READ_REPLICA
⼆、JVM配置
初始Java堆⼤⼩
最⼤Java堆⼤⼩
三、⽹络连接配置
默认只允许本地连接
配置成当前机器IP或hostname
Bolt 连接
Bolt连接保持时间
处理Bolt连接线程池最⼤线程数,默认400
处理Bolt连接线程池最⼩线程数,默认5
HTTP 连接
HTTPS 连接
neo4j⼯作线程数,只对REST连接⽣效
dbms.threads.worker_count=20
四、metris监控
default true
监控导出到CSV⽂件
abled=true
允许Prometheus,默认false
abled=true
The hostname and port to use as Prometheus endpoint dpoint=localhost:2004
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论