Asynchronous Transactions: Start Now, Check Later

Pete Vilter, Nathan Daly, Brad Lovering, Sameera Salameh, Denis Gursky, Helmi Nour

25 January 2023

less than a minute read

RelationalAI's full suite of SDKs provides access to API endpoints which allow you to track long-running transactions in our Relational Knowledge Graph Management System (RKGMS). This is more reliable for long-running transactions, allows transactions to be canceled, and keeps a log of transactions that you can inspect either while they're running or at a later time.

You can now create a transaction, get an ID back, and then use that ID to check its progress and get its results. You no longer need to keep your connection to the cloud open until the transaction completes. This allows you to run asynchronous transactions and see results for up to seven days.

Asynchronous transactions are available in the RelationalAI SDKs for Julia, Python, Java, Go, and C#. See specifically the Exec and ExecAsync methods.

Managing Transactions

Database transaction activity can be viewed, analyzed, and managed in the RAI Console. This gives you access to all transactions associated with the selected RAI account, including transactions initiated via the Console or any of the RelationalAI SDKs.

You can inspect the details of all past and currently running transactions, as well as cancel running transactions.

Searching for Transactions

You can search for transactions by entering text in the search box. Search only returns results for transactions already displayed; it will not return results for earlier transactions.

You can view detailed information on a transaction, which looks like this:

Further information is provided on the transaction details page, including transaction status (transaction, query, results), state (created, running, completed, aborted), and details.

For more details, see Managing Transactions in the RAI Console.

Related Posts

Get Early Access

Join our community, keep up to date with the latest developments in our monthly newsletter, and get early access to RelationalAI.