1. For more details and a complete list of settings, please see https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/
  2. # 如果想自定义neo4j数据库数据的存储路径,要同时修改dbms.active_database 和 dbms.directories.data 两项配置,
  3. # 修改配置后,数据会存放在${dbms.directories.data}/databases/${dbms.active_database} 目录下
  4. # 安装的数据库的名称,默认使用${NEO4J_HOME}/data/databases/graph.db目录
  5. # The name of the database to mount
  6. #dbms.active_database=graph.db
  7. #安装Neo4j数据库的各个配置路径,默认使用$NEO4J_HOME下的路径
  8. #Paths of directories in the installation.
  9. # 数据路径
  10. #dbms.directories.data=data
  11. # 插件路径
  12. #dbms.directories.plugins=plugins
  13. #dbms.directories.certificates=certificates 证书路径
  14. #dbms.directories.logs=logs 日志路径
  15. #dbms.directories.lib=lib jar包路径
  16. #dbms.directories.run=run 运行路径
  17. #默认情况下想load csv文件,只能把csv文件放到${NEO4J_HOME}/import目录下,把下面的#删除后,可以在load csv时使用绝对路径,这样可能不安全
  18. #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.
  19. #此设置将所有“LOAD CSV”导入文件限制在`import`目录下。删除注释允许从文件系统的任何地方加载文件;这引入了可能的安全问题。
  20. dbms.directories.import=import
  21. #把下面这行的#删掉后,连接neo4j数据库时就不用输密码了
  22. #Whether requests to Neo4j are authenticated. 是否对Neo4j的请求进行了身份验证。
  23. #To disable authentication, uncomment this line 要禁用身份验证,请取消注释此行。
  24. #dbms.security.auth_enabled=false
  25. #Enable this to be able to upgrade a store from an older version. 是否兼容以前版本的数据
  26. dbms.allow_format_migration=true
  27. #Java Heap Size: by default the Java heap size is dynamically calculated based on available system resources. Java堆大小:默认情况下,Java堆大小是动态地根据可用的系统资源计算。
  28. #Uncomment these lines to set specific initial and maximum heap size. 取消注释这些行以设置特定的初始值和最大值
  29. #dbms.memory.heap.initial_size=512m
  30. #dbms.memory.heap.max_size=512m
  31. #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')。
  32. #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 your transaction state and query context, and then leave the rest for the page cache. 如果Neo4j在专用服务器上运行,那么通常建议为操作系统保留大约2-4千兆字节,为JVM提供足够的堆来保存所有的事务状态和查询上下文,然后保留其余的页面缓存 。
  33. #The default page cache memory assumes the machine is dedicated to running Neo4j, and is heuristically set to 50% of RAM minus the max Java heap size. 默认页面缓存存储器假定机器专用于运行Neo4j,并且试探性地设置为RAM的50%减去最大Java堆大小。
  34. #dbms.memory.pagecache.size=10g
  35. ### Network connector configuration
  36. #With default configuration Neo4j only accepts local connections. Neo4j默认只接受本地连接(localhost)
  37. #To accept non-local connections, uncomment this line: 要接受非本地连接,请取消注释此行
  38. dbms.connectors.default_listen_address=0.0.0.0 (这是删除#后的配置,可以通过ip访问)
  39. #You can also choose a specific network interface, and configure a non-default port for each connector, by setting their individual listen_address. 还可以选择特定的网络接口,并配置非默认值端口,设置它们各自的listen_address
  40. #The address at which this server can be reached by its clients. This may be the server's IP address or DNS name, or it may be the address of a reverse proxy which sits in front of the server. This setting may be overridden for individual connectors below. 客户端可以访问此服务器的地址。这可以是服务器的IP地址或DNS名称,或者可以是位于服务器前面的反向代理的地址。此设置可能会覆盖以下各个连接器。
  41. #dbms.connectors.default_advertised_address=localhost
  42. #You can also choose a specific advertised hostname or IP address, and configure an advertised port for each connector, by setting their individual advertised_address. 您还可以选择特定广播主机名或IP地址,
  43. 为每个连接器配置通告的端口,通过设置它们独特的advertised_address。
  44. #Bolt connector 使用Bolt协议
  45. dbms.connector.bolt.enabled=true
  46. dbms.connector.bolt.tls_level=OPTIONAL
  47. dbms.connector.bolt.listen_address=:7687
  48. #HTTP Connector. There must be exactly one HTTP connector. 使用http协议
  49. dbms.connector.http.enabled=true
  50. dbms.connector.http.listen_address=:7474
  51. #HTTPS Connector. There can be zero or one HTTPS connectors. 使用https协议
  52. dbms.connector.https.enabled=true
  53. dbms.connector.https.listen_address=:7473
  54. #Number of Neo4j worker threads. Neo4j线程数
  55. #dbms.threads.worker_count=
  56. #Logging configuration 日志配置
  57. #To enable HTTP logging, uncomment this line 要启用HTTP日志记录,请取消注释此行
  58. dbms.logs.http.enabled=true
  59. #Number of HTTP logs to keep. 要保留的HTTP日志数
  60. #dbms.logs.http.rotation.keep_number=5
  61. #Size of each HTTP log that is kept. 每个HTTP日志文件的大小
  62. dbms.logs.http.rotation.size=20m
  63. #To enable GC Logging, uncomment this line 要启用GC日志记录,请取消注释此行
  64. #dbms.logs.gc.enabled=true
  65. #GC Logging Options see http://docs.oracle.com/cd/E19957-01/819-0084-10/pt_tuningjava.html#wp57013 for more information. GC日志记录选项 有关详细信息,请参见http://docs.oracle.com/cd/E19957-01/819-0084-10/pt_tuningjava.html#wp57013
  66. #dbms.logs.gc.options=-XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintPromotionFailure -XX:+PrintTenuringDistribution
  67. #Number of GC logs to keep. 要保留的GC日志数
  68. #dbms.logs.gc.rotation.keep_number=5
  69. #Size of each GC log that is kept. 保留的每个GC日志文件的大小
  70. #dbms.logs.gc.rotation.size=20m
  71. #Size threshold for rotation of the debug log. If set to zero then no rotation will occur. Accepts a binary suffix "k", "m" or "g". 调试日志旋转的大小阈值。如果设置为零,则不会发生滚动(达到指定大小后切割日志文件)。接受二进制后缀“k”,“m”或“g”。
  72. #dbms.logs.debug.rotation.size=20m
  73. #Maximum number of history files for the internal log. 最多保存几个日志文件
  74. #dbms.logs.debug.rotation.keep_number=7
  75. ### Miscellaneous configuration 其他配置
  76. #Enable this to specify a parser other than the default one. 启用此选项可指定除默认解析器之外的解析器
  77. #cypher.default_language_version=3.0
  78. #Determines if Cypher will allow using file URLs when loading data using `LOAD CSV`. Setting this value to `false` will cause Neo4j to fail `LOAD CSV` clauses that load data from the file system. 确定当使用加载数据时,Cypher是否允许使用文件URL `LOAD CSV`。将此值设置为`false`将导致Neo4j不能通过互联网上的URL导入数据,`LOAD CSV` 会从文件系统加载数据。
  79. dbms.security.allow_csv_import_from_file_urls=true
  80. #Retention policy for transaction logs needed to perform recovery and backups. 执行恢复和备份所需的事务日志的保留策略
  81. #dbms.tx_log.rotation.retention_policy=7 days
  82. #Enable a remote shell server which Neo4j Shell clients can log in to. 启用Neo4j Shell客户端可以登录的远程shell服务器
  83. dbms.shell.enabled=true
  84. #The network interface IP the shell will listen on (use 0.0.0.0 for all interfaces).
  85. dbms.shell.host=127.0.0.1
  86. #The port the shell will listen on, default is 1337.
  87. dbms.shell.port=1337
  88. #Only allow read operations from this Neo4j instance. This mode still requires write access to the directory for lock purposes. 只允许从Neo4j实例读取操作。此模式仍然需要对目录的写访问以用于锁定目的。
  89. #dbms.read_only=false
  90. #Comma separated list of JAX-RS packages containing JAX-RS resources, one package name for each mountpoint. The listed package names will be loaded under the mountpoints specified. Uncomment this line to mount the org.neo4j.examples.server.unmanaged.HelloWorldResource.java from neo4j-server-examples under /examples/unmanaged, resulting in a final URL of http://localhost:7474/examples/unmanaged/helloworld/{nodeId} 包含JAX-RS资源的JAX-RS软件包的逗号分隔列表,每个安装点一个软件包名称。所列出的软件包名称将在指定的安装点下加载。取消注释此行以装载org.neo4j.examples.server.unmanaged.HelloWorldResource.java neo4j-server-examples下/ examples / unmanaged,最终的URL为http//localhost7474/examples/unmanaged/helloworld/{nodeId}
  91. #dbms.unmanaged_extension_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged
  92. #JVM Parameters JVM参数
  93. #G1GC generally strikes a good balance between throughput and tail latency, without too much tuning. G1GC通常在吞吐量和尾部延迟之间达到很好的平衡,而没有太多的调整。
  94. dbms.jvm.additional=-XX:+UseG1GC
  95. #Have common exceptions keep producing stack traces, so they can be debugged regardless of how often logs are rotated. 有共同的异常保持生成堆栈跟踪,所以他们可以被调试,无论日志被旋转的频率
  96. dbms.jvm.additional=-XX:-OmitStackTraceInFastThrow
  97. #Make sure that `initmemory` is not only allocated, but committed to the process, before starting the database. This reduces memory fragmentation, increasing the effectiveness of transparent huge pages. It also reduces the possibility of seeing performance drop due to heap-growing GC events, where a decrease in available page cache leads to an increase in mean IO response time. Try reducing the heap memory, if this flag degrades performance. 确保在启动数据库之前,“initmemory”不仅被分配,而且被提交到进程。这减少了内存碎片,增加了透明大页面的有效性。它还减少了由于堆增长的GC事件而导致性能下降的可能性,其中可用页面缓存的减少导致平均IO响应时间的增加。如果此标志降低性能,请减少堆内存。
  98. dbms.jvm.additional=-XX:+AlwaysPreTouch
  99. #Trust that non-static final fields are really final. This allows more optimizations and improves overall performance. NOTE: Disable this if you use embedded mode, or have extensions or dependencies that may use reflection or serialization to change the value of final fields! 信任非静态final字段真的是final。这允许更多的优化和提高整体性能。注意:如果使用嵌入模式,或者有可能使用反射或序列化更改最终字段的值的扩展或依赖关系,请禁用此选项!
  100. dbms.jvm.additional=-XX:+UnlockExperimentalVMOptions
  101. dbms.jvm.additional=-XX:+TrustFinalNonStaticFields
  102. #Disable explicit garbage collection, which is occasionally invoked by the JDK itself. 禁用显式垃圾回收,这是偶尔由JDK本身调用。
  103. dbms.jvm.additional=-XX:+DisableExplicitGC
  104. #Remote JMX monitoring, uncomment and adjust the following lines as needed. Absolute paths to jmx.access and jmx.password files are required. 远程JMX监视,取消注释并根据需要调整以下行。需要jmx.access和jmx.password文件的绝对路径。
  105. #Also make sure to update the jmx.access and jmx.password files with appropriate permission roles and passwords, the shipped configuration contains only a read only role called 'monitor' with password 'Neo4j'. 还要确保使用适当的权限角色和密码更新jmx.access和jmx.password文件,所配置的配置只包含名为“monitor”的只读角色,密码为“Neo4j”。
  106. #For more details, see: http://download.oracle.com/javase/8/docs/technotes/guides/management/agent.html On Unix based systems the jmx.password file needs to be owned by the user that will run the server, and have permissions set to 0600. Unix系统,有关详情,请参阅:http://download.oracle.com/javase/8/docs/technotes/guides/management/agent.html,jmx.password文件需要由运行服务器的用户拥有,并且权限设置为0600。
  107. #For details on setting these file permissions on Windows see: http://docs.oracle.com/javase/8/docs/technotes/guides/management/security-windows.html  Windows系统 有关在设置这些文件权限的详细信息,请参阅:http://docs.oracle.com/javase/8/docs/technotes/guides/management/security-windows.html
  108. #dbms.jvm.additional=-Dcom.sun.management.jmxremote.port=3637
  109. #dbms.jvm.additional=-Dcom.sun.management.jmxremote.authenticate=true
  110. #dbms.jvm.additional=-Dcom.sun.management.jmxremote.ssl=false
  111. #dbms.jvm.additional=-Dcom.sun.management.jmxremote.password.file=/absolute/path/to/conf/jmx.password
  112. #dbms.jvm.additional=-Dcom.sun.management.jmxremote.access.file=/absolute/path/to/conf/jmx.access
  113. #Some systems cannot discover host name automatically, and need this line configured: 某些系统无法自动发现主机名,需要配置以下行:
  114. #dbms.jvm.additional=-Djava.rmi.server.hostname=$THE_NEO4J_SERVER_HOSTNAME
  115. #Expand Diffie Hellman (DH) key size from default 1024 to 2048 for DH-RSA cipher suites used in server TLS handshakes. 对于服务器TLS握手中使用的DH-RSA密码套件,将Diffie Hellman(DH)密钥大小从默认1024展开到2048。
  116. #This is to protect the server from any potential passive eavesdropping. 这是为了保护服务器免受任何潜在的被动窃听。
  117. dbms.jvm.additional=-Djdk.tls.ephemeralDHKeySize=2048
  118. ### Wrapper Windows NT/2000/XP Service Properties 包装器Windows NT / 2000 / XP服务属性包装器Windows NT / 2000 / XP服务属性
  119. #WARNING - Do not modify any of these properties when an application using this configuration file has been installed as a service. WARNING - 当使用此配置文件的应用程序已作为服务安装时,不要修改任何这些属性。
  120. #Please uninstall the service before modifying this section. The service can then be reinstalled. 请在修改此部分之前卸载服务。 然后可以重新安装该服务。
  121. #Name of the service 服务的名称
  122. dbms.windows_service_name=neo4j
  123. ### Other Neo4j system properties 其他Neo4j系统属性
  124. dbms.jvm.additional=-Dunsupported.dbms.udc.source=zip

原文地址:https://blog.csdn.net/zhanaolu4821/article/details/80887473

Neo4j图数据库配置文件详解的更多相关文章

  1. Ubuntu16.04下Neo4j图数据库官网安装部署步骤(图文详解)(博主推荐)

    不多说,直接上干货! 说在前面的话  首先,查看下你的操作系统的版本. root@zhouls-virtual-machine:~# cat /etc/issue Ubuntu LTS \n \l r ...

  2. Ubuntu14.04下Neo4j图数据库官网安装部署步骤(图文详解)(博主推荐)

    不多说,直接上干货! 说在前面的话  首先,查看下你的操作系统的版本. root@zhouls-virtual-machine:~# cat /etc/issue Ubuntu 14.04.4 LTS ...

  3. GRUB2配置详解:默认启动项,超时时间,隐藏引导菜单,配置文件详解,图形化配置

    配置文件详解: /etc/default/grub # 设定默认启动项,推荐使用数字 GRUB_DEFAULT=0 # 注释掉下面这行将会显示引导菜单 #GRUB_HIDDEN_TIMEOUT=0 # ...

  4. J2EE进阶(四)Spring配置文件详解

    J2EE进阶(四)Spring配置文件详解 前言 Spring配置文件是用于指导Spring工厂进行Bean生产.依赖关系注入(装配)及Bean实例分发的"图纸".Java EE程 ...

  5. 网卡配置文件详解 用户管理与文件权限篇 文件与目录权限 软连接 tar解压命令 killall命令 linux防火墙 dns解析设置 计划任务crond服务 软件包安装 阿里云 yum源 安装

    Linux系统基础优化及常用命令 Linux基础系统优化 引言没有,只有一张图. Linux的网络功能相当强悍,一时之间我们无法了解所有的网络命令,在配置服务器基础环境时,先了解下网络参数设定命令. ...

  6. SaltStack系列(一)之环境部署、命令及配置文件详解

    一.SaltStack介绍 1.1 saltstack简介: saltstack是基于python开发的一套C/S架构配置管理工具,它的底层使用ZeroMQ消息队列pub/sub方式通信,使用SSL证 ...

  7. Neo4j图数据库从入门到精通

    目录 第一章:介绍 Neo4j是什么 Neo4j的特点 Neo4j的优点 第二章:安装 1.环境 2.下载 3.开启远程访问 4.启动 第三章:CQL 1.CQL简介 2.Neo4j CQL命令/条款 ...

  8. Neo4j图数据库从入门到精通(转)

    add by zhj: 转载时,目录没整理好,还会跳转到原文 其实RDB也可以存储多对多的关系,使用的是中间表,GDB使用的是边,RDB中的实体存储在数据表,而GDB存储在节点.两者使用的底层技术不同 ...

  9. kafka实战教程(python操作kafka),kafka配置文件详解

    kafka实战教程(python操作kafka),kafka配置文件详解 应用往Kafka写数据的原因有很多:用户行为分析.日志存储.异步通信等.多样化的使用场景带来了多样化的需求:消息是否能丢失?是 ...

随机推荐

  1. 子类中执行父类的方法(引出super()与mro列表)

    1. 我们先想一下在python中如果子类方法中想执行父类的方法,有什么方式?大概有三种: Parent.__init__(self, name) # 通过父类的名字,指定调用父类的方法 super( ...

  2. log4j.properties log4j.xml 路径问题

  3. phpstorm配置了git后Terminal 不能使用显示:git' 不是内部或外部命令,也不是可运行的程序

    问题:在phpstorm上配置好git后,将代码拉了下来 ,但是命令行无法使用显示如图 解决方法:①找到安装git的位置,然后在该目录的子目录下分别找到git-core.bin 两个目录,我的安装在了 ...

  4. Bootstrap视频教程

    一.全局CSS样式 0.课件 001.概览_栅格系统 2.排版和代码 3.表格和按钮 4.表单 5.图片 6.辅助类 7.响应式工具 二.组件 8.图标_下拉菜单_按钮组 9.输入框组 10.导航 1 ...

  5. 3、inform (通知、告诉、报告) - perform (表现)

  6. python hive

    sudo apt-get install sasl2-bin sudo apt-get install libsasl2-dev pip install pyhs2 pip install pyhiv ...

  7. spring boot系列(七)spring boot 使用mongodb

    1 pom.xml配置 增加包依赖:spring-boot-starter-data-mongodb <dependency> <groupId>org.springframe ...

  8. 一起学习linux环境的git

    第一节 GIT最初是由Linus Benedict Torvalds为了更有效地管理Linux内核开发而创立的分布式版本控制软件,与常用的版本控制工具如CVS.Subversion不同,它不必服务器端 ...

  9. Swift小知识点总结

    1>判断输入字符串位数: if phoneTextField.text?.lengthOfBytes(using: .utf8) != 11 { self.showHint(hint: &quo ...

  10. jekins自动部署tomcat注意事项、连接tomcat报错

    jekins自动部署tomcat注意事项 千万不要用下面插件推送,报错很多, 要用脚本,一篇博客说的:“我们都是用的脚本,插件报错太多,也不完善” Deploy to container Plugin ...