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: _top
Returned table header: process_id
| process_uql
| duration
(the id, UQL statement and duration (second) of the task)
Syntax:
// To show all real-time processes in the current Ultipa instance
top()
Stop Real-time Process
Syntax:
// 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>)