Transaction support for non-relational databases

Transaction support techniques for a database are disclosed herein. An exemplary technique includes generating a new version value for a key-value pair in the database and creating a new key-value pair in the database corresponding to a parameter to be updated with the new value, using the generated...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIN ANDREW, UTHAYASANKARALINGAM DEIVA SHANKAR, ARUNKUMAR YESHWANTH P, DONG YINGTAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Transaction support techniques for a database are disclosed herein. An exemplary technique includes generating a new version value for a key-value pair in the database and creating a new key-value pair in the database corresponding to a parameter to be updated with the new value, using the generated new version value and a name of the parameter as keys and the new value as a corresponding value for the created new key-value pair. The exemplary technique can then include determining whether creating the new key-value pair in the database is successfully completed, and in response to determining that creating the new key-value pair corresponding to the parameter is not successfully completed, in response to a query for a current value of the parameter, determining that the new key-value pair corresponding to the parameter is not successfully completed. An existing value of the parameter is returned as the current value of the parameter, rather than returning the new value. 在本文中公开了用于数据库的事务支持技术。一种示例性技术包括为所述数据库中的键