#For more details and a complete list of settings, please see https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/
# 如果想自定义neo4j数据库数据的存储路径,要同时修改dbms.active_database 和 dbms.directories.data 两项配置,
# 修改配置后,数据会存放在${dbms.directories.data}/databases/${dbms.active_database} 目录下
# 安装的数据库的名称,默认使用${NEO4J_HOME}/data/databases/graph.db目录
# The name of the database to mount
dbms.active_database=graph.db
#安装Neo4j数据库的各个配置路径,默认使用$NEO4J_HOME下的路径
#Paths of directories in the installation.
# 数据路径
dbms.directories.data=data
# 插件路径
dbms.directories.plugins=plugins
dbms.directories.certificates=certificates #证书路径
dbms.directories.logs=logs #日志路径
dbms.directories.lib=lib #jar包路径
dbms.directories.run=run #运行路径
#默认情况下想load csv文件,只能把csv文件放到${NEO4J_HOME}/import目录下,把下面的#删除后,可以在load csv时使用绝对路径,这样可能不安全
#This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or comment it out to allow files to be loaded from anywhere in the filesystem; this introduces possible security problems. See the `LOAD CSV` section of the manual for details.
#此设置将所有“LOAD CSV”导入文件限制在`import`目录下。删除注释允许从文件系统的任何地方加载文件;这引入了可能的安全问题。
dbms.directories.import=import
#把下面这行的#删掉后,连接neo4j数据库时就不用输密码了
#Whether requests to Neo4j are authenticated. 是否对Neo4j的请求进行了身份验证。
#To disable authentication, uncomment this line 要禁用身份验证,请取消注释此行。
dbms.security.auth_enabled=false
#Enable this to be able to upgrade a store from an older version. 是否兼容以前版本的数据
dbms.allow_format_migration=true
#Java Heap Size: by default the Java heap size is dynamically calculated based on available system resources. Java堆大小:默认情况下,Java堆大小是动态地根据可用的系统资源计算。
#Uncomment these lines to set specific initial and maximum heap size. 取消注释这些行以设置特定的初始值和最大值
dbms.memory.heap.initial_size=512m
dbms.memory.heap.max_size=512m
#The amount of memory to use for mapping the store files, in bytes (or kilobytes with the 'k' suffix, megabytes with 'm' and gigabytes with 'g'). 用于映射存储文件的内存量(以字节为单位)千字节带有'k'后缀,兆字节带有'm',千兆字节带有'g')。
#If Neo4j is running on a dedicated server, then it is generally recommended to leave about 2-4 gigabytes for the operating system, give the JVM enough heap to hold all yo
neo4j配置
最新推荐文章于 2024-09-20 20:09:07 发布
本文详细介绍了如何配置Neo4j图数据库,包括安装步骤、配置文件修改、启动与停止服务,以及安全性设置等关键环节,帮助读者快速上手Neo4j的部署和管理。
摘要由CSDN通过智能技术生成