Help Center/ Graph Engine Service/ User Guide/ Accessing and Analyzing Graph Data/ Multi-Graph Management (Database Edition)
Updated on 2024-01-03 GMT+08:00

Multi-Graph Management (Database Edition)

When you create a database graph, it is automatically upgraded to a multi-graph cluster. This cluster can have multiple graph instances, each allocated with different data. This allows you to analyze multiple graphs simultaneously.

In the graph engine editor, you can manage the graph instances in the graph cluster by clicking the dropdown menu next to the cluster name in the upper left corner of the page to switch between graph instances.
Figure 1 Multi-graph management

Only database graphs support this function.

Adding or Deleting a Graph

  1. After the database graph cluster is created, the graph engine editor page is displayed. For details, see Accessing the GES Graph Editor.
  2. In the upper left corner of the page, click Add Graph. In the dialog box displayed, enter the graph name and select the vertex ID type.
    Currently, two vertex ID types are supported: fixed-length string and hash.
    • Fixed-length string: Vertex IDs are used for internal storage and compute. Specify the length limit. If the IDs are too long, the query performance can be reduced. Specify the length limit based on your dataset vertex IDs. If you cannot determine the maximum length, set the ID type to Hash.
    • Hash: Vertex IDs are converted into hash code for storage and compute. There is no limit on the ID length. However, there is an extremely low probability, approximately 10^(-43), that the vertex IDs will conflict.
    1. If you cannot determine the maximum length of a vertex ID, set this parameter to Hash.
    2. If you select the fixed-length string (fixedLengthString), you also need to enter the length of the vertex ID.

    Figure 2 Adding a graph
  3. After setting the parameters, click OK.
  4. To delete a graph instance, click Delete Graph.