How to implement transactions in VoltDB? -
voltdb in memory , acid compliant database. how can implement transactions in database. please suggest.
all operations against voltdb 100% strict-serializable acid transactions.
there no begin, commit or rollback.
if want multi-statement transaction, must create stored procedure. run() method of stored procedure becomes transactional context. implicitly starts begin , ends commit. if exception thrown, rollback.
this covered in tutorial: https://docs.voltdb.com/tutorial/index.php
chapter 5 on procedures: https://docs.voltdb.com/tutorial/part5.php
Comments
Post a Comment