检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Importing Metadata from OBS (1.0.0) Function This API is used to import metadata from OBS. URI POST /v1.0/{project_id}/graphs/metadata/upload_from_obs Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Importing Metadata from OBS (1.0.0) Function This API is used to import metadata from OBS. URI POST /v2/{project_id}/graphs/metadata/upload-from-obs Table 1 URI parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Naming OBS Objects The OBS object names supported by GES can contain the following characters: Letters and digits 0-9, a-z, A-Z Special characters ! - _ . * ' ( ) The following characters are not supported: Special characters \{^}%`]">[~<#|&@:,$=+?
Ensure that you have uploaded the metadata file to your OBS bucket. Name: Enter a name for the metadata. Figure 2 Importing metadata from OBS Click OK to import the metadata. If the import is successful, the metadata file is displayed on the Metadata Management page.
Importing a Backup from OBS You can import a backup file exported to OBS to a graph. After the import is successful, you can use the backup to restore the graph instance. Graphs of the database edition do not support this function.
Otherwise, the backup will fail when importing from OBS to the graph. Figure 1 Exporting a backup to OBS Click OK to back up the graph. Storing backup files in OBS will incur charges. For details, see OBS Billing.
To ensure successful data recovery during system restarts, do not delete any graph data stored in OBS while using the graph. The size of a single file in the import directory or the size of a single file to be imported cannot exceed 5 GB. Or the import will fail.
To use resources stored on OBS for other services, you need the OBS OperateAccess permission. OBS is a global service. You can find the corresponding OBS policy in the Global service project scope.
Table 5 schemaPath_1 Parameter Type Description jobId String Job ID corresponding to OBS file import path String OBS storage path, excluding OBS endpoint status String OBS file status: success: Imported successfully. partiallyFailed: Partially failed. failed: Failed to import the
Table 5 schema_path Parameter Type Description job_id String Job ID corresponding to OBS file import path String OBS storage path, excluding OBS endpoint status String OBS file import status.
Algorithm Results in TXT Format Table 1 Algorithm results in TXT format Algorithm Supported On header content e.g. all_pairs_shortest_paths Local host, OBS # runtime: {runtime} # paths_number: {paths_number} # data_total_size: {data_total_size} # data_return_size: {data_return_size
Table 6 schemaPath_1 Parameter Type Description jobId String Job ID corresponding to OBS file import path String OBS storage path, excluding OBS endpoint status String OBS file status: success: Imported successfully. partiallyFailed: Partially failed. failed: Failed to import the
OBS GES stores graph data on Object Storage Service (OBS), satisfying the requirements for secure, reliable, and cost-effective storage. When creating a graph, obtain the vertex and edge data sets from OBS buckets. In addition, you can use OBS buckets to store logs.
Backing Up and Restoring Graphs Backing Up a Graph Restoring a Graph Deleting a Backup Exporting a Backup to OBS Importing a Backup from OBS Parent topic: Managing Graphs
You can check whether the data is exported successfully in the selected OBS path. Parent topic: Managing Graphs
(Optional) Importing Metadata to OBS You can upload a prepared metadata file to an OBS bucket to import it to GES. The procedure is as follows: Log in to the OBS console and create an OBS bucket.
Data storage space GES data can be uploaded or exported through Object Storage Service (OBS), and storage fees are charged according to OBS billing rules.For more details, see OBS Pricing Details.
To interact with OBS, such as importing data, you must have the OBS permissions. For details, see Table 5.
To interact with OBS, for instance, to view the metadata, you need the OBS permissions. For details, see Common GES operations supported by each OBS policy.
Querying Schema Structure Function This API is used to query the structure of the generated schema (obtained from OBS). URI GET /ges/v1.0/{project_id}/graphs/{graph_name}/schema/structure?