Hi my database is about 900GB. And I have set
dbms.memory.heap.initial_size=90g
dbms.memory.heap.max_size=90g
dbms.memory.pagecache.size=70g
I have about 350 Million nodes and 350 Million relationships. Right now it takes me about 2 hours to restart the graph. My degug log is as follows
2020-02-19 15:47:37.070+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] Selected RecordFormat:StandardV3_4[v0.A.9] record format from store E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db
2020-02-19 15:47:37.114+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] Selected RecordFormat:StandardV3_4[v0.A.9] record format from store E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db
2020-02-19 15:47:37.114+0000 INFO [o.n.k.i.s.f.RecordFormatSelector] Format not configured. Selected format from the store: RecordFormat:StandardV3_4[v0.A.9]
2020-02-19 15:47:37.848+0000 INFO [o.n.k.i.i.l.NativeLabelScanStore] Label index cleanup job registered
2020-02-19 15:47:37.850+0000 INFO [o.n.k.i.i.l.NativeLabelScanStore] Label index cleanup job started
2020-02-19 15:47:37.859+0000 INFO [o.n.k.NeoStoreDataSource] Commits found after last check point (which is at LogPosition{logVersion=1325, byteOffset=8147740}). First txId after last checkpoint: 68680
2020-02-19 15:47:37.859+0000 INFO [o.n.k.NeoStoreDataSource] Recovery required from position LogPosition{logVersion=1325, byteOffset=8147740}
2020-02-19 15:47:38.922+0000 INFO [o.n.k.i.i.l.NativeLabelScanStore] Label index cleanup job finished: Number of pages visited: 36516, Number of cleaned crashed pointers: 437, Time spent: 1s 71ms
2020-02-19 15:47:38.922+0000 INFO [o.n.k.i.i.l.NativeLabelScanStore] Label index cleanup job closed
2020-02-19 16:19:10.212+0000 INFO [o.n.k.r.Recovery] 10% completed
2020-02-19 16:25:40.898+0000 INFO [o.n.k.r.Recovery] 20% completed
2020-02-19 16:31:52.686+0000 INFO [o.n.k.r.Recovery] 30% completed
2020-02-19 16:38:11.355+0000 INFO [o.n.k.r.Recovery] 40% completed
2020-02-19 16:59:29.585+0000 INFO [o.n.k.r.Recovery] 50% completed
2020-02-19 16:59:33.281+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job registered: descriptor=IndexRule[id=1, descriptor=Index( GENERAL, :label[0](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\1\index-1
2020-02-19 16:59:33.281+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job started: descriptor=IndexRule[id=1, descriptor=Index( GENERAL, :label[0](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\1\index-1
2020-02-19 16:59:33.287+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job finished: descriptor=IndexRule[id=1, descriptor=Index( GENERAL, :label[0](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\1\index-1 Number of pages visited: 112, Number of cleaned crashed pointers: 0, Time spent: 5ms
2020-02-19 16:59:33.287+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job closed: descriptor=IndexRule[id=1, descriptor=Index( GENERAL, :label[0](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\1\index-1
2020-02-19 16:59:33.296+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job registered: descriptor=IndexRule[id=3, descriptor=Index( GENERAL, :label[1](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\3\index-3
2020-02-19 16:59:33.296+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job started: descriptor=IndexRule[id=3, descriptor=Index( GENERAL, :label[1](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\3\index-3
2020-02-19 16:59:33.297+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job finished: descriptor=IndexRule[id=3, descriptor=Index( GENERAL, :label[1](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\3\index-3 Number of pages visited: 8, Number of cleaned crashed pointers: 0, Time spent: 1ms
2020-02-19 16:59:33.297+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job closed: descriptor=IndexRule[id=3, descriptor=Index( GENERAL, :label[1](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\3\index-3
2020-02-19 16:59:33.301+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job registered: descriptor=IndexRule[id=5, descriptor=Index( GENERAL, :label[2](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\5\index-5
2020-02-19 16:59:33.301+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job started: descriptor=IndexRule[id=5, descriptor=Index( GENERAL, :label[2](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\5\index-5
2020-02-19 16:59:33.307+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job finished: descriptor=IndexRule[id=5, descriptor=Index( GENERAL, :label[2](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\5\index-5 Number of pages visited: 109, Number of cleaned crashed pointers: 0, Time spent: 6ms
2020-02-19 16:59:33.307+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job closed: descriptor=IndexRule[id=5, descriptor=Index( GENERAL, :label[2](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\5\index-5
2020-02-19 16:59:33.346+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job registered: descriptor=IndexRule[id=7, descriptor=Index( GENERAL, :label[55](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\7\index-7
2020-02-19 16:59:33.346+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job started: descriptor=IndexRule[id=7, descriptor=Index( GENERAL, :label[55](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\7\index-7
2020-02-19 16:59:33.490+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job registered: descriptor=IndexRule[id=9, descriptor=Index( GENERAL, :label[55](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\9\index-9
2020-02-19 16:59:33.500+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job registered: descriptor=IndexRule[id=11, descriptor=Index( GENERAL, :label[56](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\11\index-11
2020-02-19 16:59:33.508+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job registered: descriptor=IndexRule[id=13, descriptor=Index( GENERAL, :label[56](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\13\index-13
2020-02-19 16:59:33.509+0000 INFO [o.n.k.i.a.i.IndexingService] IndexingService.init: indexes not specifically mentioned above are ONLINE
2020-02-19 17:03:18.796+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job finished: descriptor=IndexRule[id=7, descriptor=Index( GENERAL, :label[55](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\7\index-7 Number of pages visited: 3278616, Number of cleaned crashed pointers: 458209, Time spent: 3m 45s 450ms
2020-02-19 17:03:18.796+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job closed: descriptor=IndexRule[id=7, descriptor=Index( GENERAL, :label[55](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\7\index-7
2020-02-19 17:03:18.797+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job started: descriptor=IndexRule[id=9, descriptor=Index( GENERAL, :label[55](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\9\index-9
2020-02-19 17:09:52.755+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job finished: descriptor=IndexRule[id=9, descriptor=Index( GENERAL, :label[55](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\9\index-9 Number of pages visited: 6651465, Number of cleaned crashed pointers: 18574175, Time spent: 6m 33s 957ms
2020-02-19 17:09:52.755+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job closed: descriptor=IndexRule[id=9, descriptor=Index( GENERAL, :label[55](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\9\index-9
2020-02-19 17:09:52.755+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job started: descriptor=IndexRule[id=11, descriptor=Index( GENERAL, :label[56](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\11\index-11
2020-02-19 17:09:52.778+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job finished: descriptor=IndexRule[id=11, descriptor=Index( GENERAL, :label[56](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\11\index-11 Number of pages visited: 284, Number of cleaned crashed pointers: 0, Time spent: 23ms
2020-02-19 17:09:52.778+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job closed: descriptor=IndexRule[id=11, descriptor=Index( GENERAL, :label[56](property[0]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\11\index-11
2020-02-19 17:09:52.778+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job started: descriptor=IndexRule[id=13, descriptor=Index( GENERAL, :label[56](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\13\index-13
2020-02-19 17:09:52.825+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job finished: descriptor=IndexRule[id=13, descriptor=Index( GENERAL, :label[56](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\13\index-13 Number of pages visited: 674, Number of cleaned crashed pointers: 0, Time spent: 47ms
2020-02-19 17:09:52.825+0000 INFO [o.n.k.i.i.s.GenericNativeIndexProvider] Schema index cleanup job closed: descriptor=IndexRule[id=13, descriptor=Index( GENERAL, :label[56](property[1876]) ), provider={key=native-btree, version=1.0}], indexFile=E:\DIRTTcast\data\Neo4j\neo4jDatabases\database-05393b80-9eb5-4e3b-8310-7936545fa66b\installation-3.5.14\data\databases\graph.db\schema\index\native-btree-1.0\13\index-13
I would appreciate if you could let me know, what the issue is and how I can speedup the restart process. Thank you