What I want to do
I want to use “dgraph live” tool to load my JSON data.
What I did
I ran the v20.11.2 Linux binary “dgraph” tool with 4.8K json file in upsertPredicate mode and it worked just fine:
"dgraph live -a 220.127.116.11:1234 -z 18.104.22.168:1234 -U “xid” -f data.json -s schema_with_xid.txt
I ran this same command but with 5M nodes (and their properties/edges) and it prints a status message similar to the following endlessly:
[19:24:14Z] Elapsed: 02h15m45s Txns: 0 N-Quads: 0 N-Quads/s [last 5s]: 0 Aborts: 0
[Decoder]: Using assembly version of decoder
Page Size: 4096
Dgraph version : v20.11.2
Dgraph codename : tchalla-2
Dgraph SHA-256 : 0153cb8d3941ad5ad107e395b347e8d930a0b4ead6f4524521f7a525a9699167
Commit SHA-1 : 94f3a0430
Commit timestamp : 2021-02-23 13:07:17 +0530
Branch : HEAD
Go version : go1.15.5
jemalloc enabled : true
For Dgraph official documentation, visit https://dgraph.io/docs/.
For discussions about Dgraph , visit https://discuss.dgraph.io.
Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2020 Dgraph Labs, Inc.