neo4j数据库的大小非常大

时间:2018-01-07 05:10:08

标签: neo4j graph-databases

我有一张包含以下信息的图表:

50,000个节点

3,500,000关系

所有节点都有标签"音乐"具有以下属性:

名称:字符串(最多6个字符)

ID:整数

播放:布尔

所有关系都是" T1"没有属性。

为什么数据库大小太大而2.5 GiB,而在" neo4j硬件大小计算器"告诉我"估计磁盘大小"小于100 MB!

为什么关系会增加数据库大小?每1,000,000个关系为我的数据库大小增加1 GB!

应该注意的是,我没有删除任何节点或关系。

提前致谢

1 个答案:

答案 0 :(得分:1)

这是因为事务日志文件。 <com.biomorgoth.outlinetextview.StrokedEditText android:id="@+id/your_edit_text" android:hint="Write here!" android:textColor="@android:color/white" android:textColorHint="#5fff" android:textSize="25sp" strokeAttrs:textStrokeColor="@android:color/black" strokeAttrs:textStrokeWidth="1.7" strokeAttrs:textHintStrokeColor="#5000" strokeAttrs:textHintStrokeWidth="1" android:layout_width="wrap_content" android:layout_height="wrap_content" /> 文件夹中的事务文件用于备份事务,并在数据丢失时进行恢复。 可以在配置文件中限制事务文件的最大大小。 建议在删除日志文件之前停止neo4j。

相关问题