我租了一台Joyent SmartOS机器为我的项目托管Neo4j服务器。Neo4j推荐设置
机器是特小0.5 GB(1 vCPU)这意味着它具有512 MB的RAM。
你会推荐什么,而不是下面的默认neostore。设置?
neostore.nodestore.db.mapped_memory=25M
neostore.relationshipstore.db.mapped_memory=50M
neostore.propertystore.db.mapped_memory=90M
neostore.propertystore.db.strings.mapped_memory=130M
neostore.propertystore.db.arrays.mapped_memory=130M
有些CPU的信息,如果需要:
# psrinfo -pv
The physical processor has 6 cores and 12 virtual processors (1 3 5 7 9 11 13 15 17 19 21 23)
The core has 2 virtual processors (1 13)
The core has 2 virtual processors (3 15)
The core has 2 virtual processors (5 17)
The core has 2 virtual processors (7 19)
The core has 2 virtual processors (9 21)
The core has 2 virtual processors (11 23)
x86 (GenuineIntel 206C2 family 6 model 44 step 2 clock 2400 MHz)
Intel(r) Xeon(r) CPU E5645 @ 2.40GHz
The physical processor has 6 cores and 12 virtual processors (0 2 4 6 8 10 12 14 16 18 20 22)
The core has 2 virtual processors (0 12)
The core has 2 virtual processors (2 14)
The core has 2 virtual processors (4 16)
The core has 2 virtual processors (6 18)
The core has 2 virtual processors (8 20)
The core has 2 virtual processors (10 22)
x86 (GenuineIntel 206C2 family 6 model 44 step 2 clock 2400 MHz)
Intel(r) Xeon(r) CPU E5645 @ 2.40GHz
取决于你的数据库有多大。您在那里设置的缓存信息是建议您的文件有多大,以帮助您调整缓存的大小,但如果您有更多的信息和内存,则需要缓存缓存较小。 – Nicholas
现在我的数据ammount很小,但让我们说我有250MB的数据? – webjay
你可以在这里找到更多关于缓存的信息。 http://docs.neo4j.org/chunked/stable/configuration-caches.html – Nicholas