我是Neo4j的新手,并在Ubuntu上做了一些测试。我想知道Neo4j在哪里存储数据。它们在哪里存储创建的节点和关系?
答案 0 :(得分:3)
这应该有所帮助:dpkg -L neo4j
/etc/neo4j/neo4j.properties
/etc/neo4j/neo4j-wrapper.conf
/etc/neo4j/neo4j-http-logging.xml
/etc/neo4j/neo4j-server.properties
日志
/var/log/neo4j
/var/lib/neo4j/data/graph.db/messages.log
二进制
/usr/bin/neo4j-shell
/usr/bin/neo4j
数据
/var/lib/neo4j/data/graph.db
商店文件
节点,属性,数组,字符串,关系组,关系
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.nodestore.db
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.propertystore.db
-rw-r--r-- 1 neo4j nogroup 128 Jul 30 20:41 neostore.propertystore.db.arrays
-rw-r--r-- 1 neo4j nogroup 128 Jul 30 20:41 neostore.propertystore.db.strings
-rw-r--r-- 1 neo4j nogroup 25 Jul 30 20:41 neostore.relationshipgroupstore.db
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.relationshipstore.db
ls -lh /var/lib/neo4j/data/graph.db/
total 168K
-rw-r--r-- 1 neo4j nogroup 11 Jul 30 20:41 active_tx_log
drwxr-xr-x 2 neo4j nogroup 4.0K Jul 30 20:41 index
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 lock
-rw-r--r-- 1 neo4j nogroup 50K Jul 30 20:41 messages.log
-rw-r--r-- 1 neo4j nogroup 63 Jul 30 20:41 neostore
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.id
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.labeltokenstore.db
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.labeltokenstore.db.id
-rw-r--r-- 1 neo4j nogroup 38 Jul 30 20:41 neostore.labeltokenstore.db.names
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.labeltokenstore.db.names.id
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.nodestore.db
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.nodestore.db.id
-rw-r--r-- 1 neo4j nogroup 68 Jul 30 20:41 neostore.nodestore.db.labels
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.nodestore.db.labels.id
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.propertystore.db
-rw-r--r-- 1 neo4j nogroup 128 Jul 30 20:41 neostore.propertystore.db.arrays
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.propertystore.db.arrays.id
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.propertystore.db.id
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.propertystore.db.index
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.propertystore.db.index.id
-rw-r--r-- 1 neo4j nogroup 38 Jul 30 20:41 neostore.propertystore.db.index.keys
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.propertystore.db.index.keys.id
-rw-r--r-- 1 neo4j nogroup 128 Jul 30 20:41 neostore.propertystore.db.strings
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.propertystore.db.strings.id
-rw-r--r-- 1 neo4j nogroup 25 Jul 30 20:41 neostore.relationshipgroupstore.db
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.relationshipgroupstore.db.id
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.relationshipstore.db
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.relationshipstore.db.id
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 neostore.relationshiptypestore.db
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.relationshiptypestore.db.id
-rw-r--r-- 1 neo4j nogroup 38 Jul 30 20:41 neostore.relationshiptypestore.db.names
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.relationshiptypestore.db.names.id
-rw-r--r-- 1 neo4j nogroup 64 Jul 30 20:41 neostore.schemastore.db
-rw-r--r-- 1 neo4j nogroup 9 Jul 30 20:41 neostore.schemastore.db.id
-rw-r--r-- 1 neo4j nogroup 16 Jul 30 20:41 nioneo_logical.log.1
-rw-r--r-- 1 neo4j nogroup 4 Jul 30 20:41 nioneo_logical.log.active
drwxr-xr-x 3 neo4j nogroup 4.0K Jul 30 20:41 schema
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 store_lock
-rw-r--r-- 1 neo4j nogroup 0 Jul 30 20:41 tm_tx_log.1
dpkg -L neo4j
/.
/etc
/etc/neo4j
/etc/neo4j/neo4j.properties
/etc/neo4j/neo4j-wrapper.conf
/etc/neo4j/neo4j-http-logging.xml
/etc/neo4j/neo4j-server.properties
/etc/neo4j/windows-wrapper-logging.properties
/etc/neo4j/custom-logback.xml
/etc/neo4j/README.txt
/etc/neo4j/logging.properties
/etc/init.d
/etc/init.d/neo4j-service
/var
/var/log
/var/log/neo4j
/var/lib
/var/lib/neo4j
/var/lib/neo4j/data
/var/lib/neo4j/data/README.txt
/var/lib/neo4j/LICENSES.txt
/var/lib/neo4j/CHANGES.txt
/var/lib/neo4j/UPGRADE.txt
/var/lib/neo4j/bin
/var/lib/neo4j/bin/neo4j
/var/lib/neo4j/bin/utils
/var/lib/neo4j/bin/neo4j-installer
/var/lib/neo4j/bin/lib
/var/lib/neo4j/bin/lib/README.txt
/var/lib/neo4j/bin/org.neo4j.server.plist
/var/lib/neo4j/bin/neo4j-shell
/var/lib/neo4j/bin/README.txt
/var/lib/neo4j/README.txt
/usr
/usr/bin
/usr/share
/usr/share/neo4j
/usr/share/neo4j/plugins
/usr/share/neo4j/plugins/README.txt
/usr/share/neo4j/system
/usr/share/neo4j/system/lib
/usr/share/neo4j/system/lib/logback-access-1.1.2.jar
.....
/usr/share/neo4j/system/lib/mimepull-1.6.jar
/usr/share/neo4j/system/README.txt
/usr/share/neo4j/lib
/usr/share/neo4j/lib/neo4j-shell-2.1.3.jar
/usr/share/neo4j/lib/neo4j-jmx-2.1.3.jar
....
/usr/share/neo4j/lib/neo4j-cypher-compiler-2.0-2.0.3.jar
/usr/share/neo4j/lib/README.txt
/usr/share/neo4j/lib/neo4j-graph-matching-2.1.3.jar
/usr/share/neo4j/lib/opencsv-2.0.jar
/usr/share/doc
/usr/share/doc/neo4j
/usr/share/doc/neo4j/changelog.gz
/usr/share/doc/neo4j/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/neo4j
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/neo4j-shell.1.gz
/var/lib/neo4j/data/log
/var/lib/neo4j/plugins
/var/lib/neo4j/system
/var/lib/neo4j/lib
/var/lib/neo4j/conf
/usr/bin/neo4j-shell
答案 1 :(得分:0)
如果您的意思是在磁盘上,请在此处查看(仅用于检查目的):<neo4j_home>/data/graph.db
。