Updated on 2024-03-28 GMT+08:00

Clearing Data

If unnecessary data is imported or the imported data volume exceeds the graph size, you can clear the data.

In addition, if you delete data by mistake using Gremlin or Cypher commands, you can clear the broken data and import the correct data again.

This operation will clear all vertex and edge data of the graph. Exercise caution when performing this operation.

The procedure is as follows:

  1. Log in to the GES management console. In the navigation pane on the left, choose Graph Management.
  2. In the graph list, locate your desired graph, click More in the Operation column, and select Clear Data.

    Figure 1 Selecting Clear Data

  3. In the dialog box that is displayed, select or deselect Clear the metadata in the graph. (For a database edition graph, you need to select the graph name first.)

    • If you clear graph metadata, the graph will be reset, and all data and running tasks will be cleared.
    • Deleted metadata cannot be recovered. Exercise caution when performing this operation.

  4. Click Yes.