Import Data
As an Administrator you can initialize a new Dgraph cluster by doing an Initial import and you can import data into a running instance by performing a Live import.
Initial import is considerably faster than the live import but can only be used to load data into a new cluster (without prior data) and is executed before starting the Alpha nodes.
:::noteBoth options accept [RDF N-Quad/Triple] data or JSON format. Refers to data migration to see how to convert other data formats.:::
To load CSV-formatted data or SQL data into Dgraph, first convert the dataset into one of the accepted formats (RDF N-Quad/Triple or JSON) and then load the resulting dataset into Dgraph.
After you convert the .csv or .sql files to RDF N-Quad/Triple or JSON,
you can use Dgraph Live Loader or
Dgraph Bulk Loader to import your data.