Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IGNORE_EXISTED_INDEX #262

Closed
xiajingchun opened this issue Feb 8, 2023 · 1 comment
Closed

Support IGNORE_EXISTED_INDEX #262

xiajingchun opened this issue Feb 8, 2023 · 1 comment
Assignees
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@xiajingchun
Copy link

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

@xiajingchun xiajingchun added the type/enhancement Type: make the code neat or more efficient label Feb 8, 2023
@veezhang veezhang self-assigned this Feb 9, 2023
@veezhang
Copy link
Contributor

#264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

2 participants