Other operations
Ultipa GQL offers other useful statements for interacting with a graph database, such as managing background jobs and truncating data.
Checking background jobs
Graph management and analysis tasks can be time-consuming, so requests can be executed as background jobs.
Tasks such as creating indexes, rebalancing graphs, and running high-cost algorithms can be processed in the background.
Listing job records
To display all jobs, use the following:
GQL:
SHOW JOB
This query lists all jobs, including those that are finished, in progress, or failed.
Stopping and clearing jobs
Ultipa GQL allows users to stop an in-progress job and delete records of completed jobs.
To stop an in-processing job, use the following:
GQL:
STOP JOB 1
This query stops the job with ID 1.
To delete a job record if it is completed or failed, use the following:
GQL:
DELETE JOB 1
This query removes the job record with ID 1.
Deleting...