One UQL sentence can either run as real-time process, or background task. Ultipa's task mechanism helps users to control the running status of the engine and make real-time adjustments to the computing resources.
Non-algorithm commands and algorithms that adopt streaming return (i.e.
return clause is used in
algo() command) both run as process in real time.
Show Real-time Process
Returned table name:
Returned table header:
duration (the id, UQL statement and duration (second) of the task)
// To show all real-time processes in the current Ultipa instance top()
Stop Real-time Process
// To kill all real-time processes in the current Ultipa instance kill("*") // To kill a certain real-time process in the current Ultipa instance kill(<process_id>)