vesoft-inc / nebula-importer

Nebula Graph Importer with Go
Apache License 2.0
90 stars 60 forks source link

Support IGNORE_EXISTED_INDEX #262

Closed xiajingchun closed 1 year ago

xiajingchun commented 1 year ago

Introduction

When there're indexes defined in the space schema, the performance of inserting new data will be impacted significantly. The more indexes are defined, the worse the performance will become.

Can we add a flag in importer to enable the IGNORE_EXISTED_INDEX feature which is supported in INSERT VERTEX and INSERT EDGE, as below:

INSERT VERTEX IGNORE_EXISTED_INDEX person(id) ...
INSERT EDGE IGNORE_EXISTED_INDEX like(grade) ...

This flag can be configured globally and defined by vertex type and edge type.

Contents

Related work

veezhang commented 1 year ago

264