Skip to content

Optimization: Performing DETACH-DELETE on a large-scale graph will consume a very long time #168

@Mrhs121

Description

@Mrhs121

Description

I created a graph locally with 10 million vertices and 50 million edges. When I was executing MATCH (n:User) where n.id <9999999 DETACH DELETE n, I waited for at least an hour but it still didn't finish. There are 9,999,999 vertices that meet the condition n.id <9999999, and the number of edges associated with them is 9,999,999 *5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions