发明名称 Differentiated secondary index maintenance in log structured NoSQL data stores
摘要 There is provided a method for operating multi-node data stores. A data table is stored in a first computing node and an index table is stored in a second computing node. The index table provides keys used for accessing data in the first computing node and other multi-node data stores. Operations that update or read the data table accessed from the first computing node and the index table accessed from the second computing node are performed. The operations optimize between latency in updating or reading the data table and the index table and data consistency maintained between data entries in the data table and data entries pointed by indices in the index table.
申请公布号 US9218383(B2) 申请公布日期 2015.12.22
申请号 US201313837812 申请日期 2013.03.15
申请人 International Business Machines Corporation 发明人 Tan Wei;Tata Sandeep
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Scully, Scott, Murphy & Presser, P.C. 代理人 Scully, Scott, Murphy & Presser, P.C. ;Garg, Esq. Nidhi
主权项 1. A method for operating multi-node data stores, the method comprising: storing at least one data table in at least one first computing node; storing at least one index table in at least one second computing node, the index table providing keys used for accessing data in said first computing node and other multi-node data stores; and performing operations that update or read the at least one data table accessed from the at least one first computing node and the at least one index table accessed from the at least one second computing node, the operations optimizing between latency in updating or reading the at least one data table and the at least one index table and data consistency maintained between data entries in the at least one data table and data entries pointed by indices in the at least one index table, wherein the data recorded in the at least one data table includes at least one tuple <k, v, t>, where k represents a key, v represents a new value of the key, and t represents a timestamp which indicates that the new value of the key is added to the at least one data table, and said method further comprises: synchronously inserting a new index entry into the at least one index table upon inserting a corresponding new data entry to the at least one data table, and synchronously deleting a corresponding stale index entry in the at least one index table upon the insertion of the corresponding new index entry to the at least one index table, wherein the new data entry is represented by the tuple <k, v, t>, to the at least one data table, and the new index entry inserted into the at least one index table is represented by a tuple <v⊕k, null, t>, where ⊕ represents a byte array concatenation operation.
地址 Armonk NY US