Can dgraph support incremental import?

Can dgraph support incremental import?For example, * The schema is already established and the data is already in the Dgraph,Whether dgraph can add a new node label or a new relational label, and import the data for the new label?

Yes. You don’t have to import from scratch. You can use upserts (another upsert documentation) to add new structure to your data

p/s: welcome to the best graph database in the world. :slight_smile:

thank you

1 Like

I don’t think @chewxy’s answer is entirely accurate. You can use upserts, but dgraph does not currently support incremental imports.

All exports can be done incrementally, but imports always blow away your current data and replace it with the imported data.

You can of course do upserts if you are writing the code yourself.

1 Like

If I want add new label in the established schema and import data, can upserts support incremental imports?