博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
neo4j配置文件注意项
阅读量:6770 次
发布时间:2019-06-26

本文共 2354 字,大约阅读时间需要 7 分钟。

hot3.png

8 # The name of the database to mount  9 dbms.active_database=graph10.db //数据库名 10 #dbms.active_database=graph.db  //默认注释 11  12 # Paths of directories in the installation. 13 dbms.directories.data=/data/neo4j  //数据库存储地址 14 #dbms.directories.data=data    //默认注释  在neo4j安装目录下的data下 20 # This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or comment it out to 21 # allow files to be loaded from anywhere in the filesystem; this introduces possible security problems. See the 22 # `LOAD CSV` section of the manual for details. 23 #dbms.directories.import=import    //注释该行,导入csv文件可在系统任意目录下  neo4j-import时用 36  #dbms.memory.heap.initial_size=2048m 37 #dbms.memory.heap.max_size=512m 38 dbms.memory.heap.initial_size=30720m  //初始内存 我设置为除系统用4G后的所有 39 dbms.memory.heap.max_size=30720m# The amount of memory to use for mapping the store files, in bytes (or 42 # kilobytes with the 'k' suffix, megabytes with 'm' and gigabytes with 'g'). 43 # If Neo4j is running on a dedicated server, then it is generally recommended 44 # to leave about 2-4 gigabytes for the operating system, give the JVM enough 45 # heap to hold all your transaction state and query context, and then leave the 46 # rest for the page cache. 47 # The default page cache memory assumes the machine is dedicated to running 48 # Neo4j, and is heuristically set to 50% of RAM minus the max Java heap size. 49 dbms.memory.pagecache.size=32g      //内存 我设置为除系统用4g后的所有 61 # With default configuration Neo4j only accepts local connections. 62 # To accept non-local connections, uncomment this line: 63 dbms.connectors.default_listen_address=0.0.0.0   //打开远程访问//HA模式配置239 # Database mode240 # Allowed values:241 # HA - High Availability242 # SINGLE - Single mode, default.243 # To run in High Availability mode uncomment this line:244 dbms.mode=HA245 246 # ha.server_id is the number of each instance in the HA cluster. It should be247 # an integer (e.g. 1), and should be unique for each cluster instance.248 ha.server_id=1249 250 # ha.initial_hosts is a comma-separated list (without spaces) of the host:port251 # where the ha.host.coordination of all instances will be listening. Typically252 # this will be the same for all cluster instances.253 ha.initial_hosts=10.1.140.25:5001,10.1.140.24:5001  //此处比较重要

 

转载于:https://my.oschina.net/sunyouling/blog/887706

你可能感兴趣的文章
WEB前端开发的思考与感悟
查看>>
Django搭建个人博客:文章标签功能
查看>>
Go 语言编译过程概述
查看>>
为什么要做短视频秒播优化
查看>>
《微服务设计》读书笔记(关于微服务的一点想法)
查看>>
最小外接矩形思路以及实现
查看>>
借助工具完成js 合并及压缩混淆处理
查看>>
PAT A1063
查看>>
时序数据库连载系列:时序数据库那些事
查看>>
如何制作可以在 MaxCompute 上使用的 crcmod
查看>>
行为型模式:迭代器模式
查看>>
测试格式
查看>>
CentOS 7 将 Nginx 添加系统服务
查看>>
uni-app 1.4 发布,一套代码,发行小程序(微信/支付宝/百度)、H5、App多个平台...
查看>>
React中富文本编辑器的技术选型调研
查看>>
网易云 MySQL实例迁移的技术实现
查看>>
一、 函数调用栈,执行上下文及变量对象
查看>>
智能支付稳定性测试实战
查看>>
Alibaba Cluster Data 开放下载:270GB 数据揭秘你不知道的阿里巴巴数据中心
查看>>
写了一个可以通过调后台接口实现模糊查询的下拉框(因为layui.js不满足需求)。...
查看>>