{"pub_number":"US12373411B2","doc_number":"12373411","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Snapshots of a column store","abstract_text":"Columnar storage provides many performance and space saving benefits for analytic workloads, but previous mechanisms for handling single row update transactions in column stores suffer from poor performance. A columnar data layout facilitates both low-latency random access capabilities together with high-throughput analytical access capabilities, simplifying Hadoop architectures for use cases involving real-time data. In disclosed embodiments, systems may perform read and scan features through which users may have consistent reads of the columnar storage at any given point in time. These scans (e.g., snapshots) allow for analytics to be performed on the data, consistent backups of the data, for incremental backups, perform cross-cluster synchronization, and/or for offline audit analysis.","claims":[{"number":1,"text":"A method for implementing read or scan in a distributed database system that supports multi-version concurrency control (MVCC), the method comprising: instantiating a scanner at a particular timepoint, the scanner being configured to provide a point-in-time snapshot of a dataset associated with the particular timepoint, wherein the dataset includes a row stored in an on-disk store via (i) a base data module for storing a column data for the row and (ii) a delta module for storing a set of REDO delta records each indicating a later state of the column data stored in the base data module and a set of UNDO delta records each indicating an earlier state of the column data, wherein each of the set of REDO delta records and the set of UNDO delta records is associated with a unique transaction identifier; performing a delta compaction that causes the column data stored in the base data module to be updated to a particular later state based on applying one or more of the set of REDO delta reco","independent":true},{"number":2,"text":"The method of claim 1, wherein iteratively applying the mutations comprises: upon determining that a given one of the selected subset of the increased set of UNDO delta records or the decreased set of REDO delta records indicates a delete operation, marking the row as deleted in the output buffer.","independent":false,"depends_on":[1]},{"number":3,"text":"The method of claim 1, wherein the set of UNDO delta records and the set of REDO delta records each correspond to an update operation, delete operation, or reinsert operation to which the row is subjected, wherein unique transaction identifiers for the set of UNDO delta records and the set of REDO delta records are monotonically increasing.","independent":false,"depends_on":[1]},{"number":4,"text":"The method of claim 1, further comprising: storing one or more versions of the row in the database, wherein each of the one or more versions has at least one of the mutations applied to the row.","independent":false,"depends_on":[1]},{"number":5,"text":"The method of claim 4, further comprising: determining which of the one or more versions of the row to garbage collect based on a retention period.","independent":false,"depends_on":[4]},{"number":6,"text":"The method of claim 1, wherein the set of UNDO delta records and the set of REDO delta records are implemented as a singly linked list.","independent":false,"depends_on":[1]},{"number":7,"text":"The method of claim 6, wherein the singly linked list includes a mutation head that points to a given mutation node corresponding to a first mutation of the set of UNDO delta records or the set of REDO delta records, and a next mutation pointer in the given mutation node points to a subsequent mutation node corresponding to a second mutation of the set of UNDO delta records and the set of REDO delta records.","independent":false,"depends_on":[6]},{"number":8,"text":"The method of claim 6, wherein each mutation node of the singly linked list includes a change record field indicating the data of the row to be mutated.","independent":false,"depends_on":[6]}],"description":"CROSS REFERENCE TO RELATED APPLICATION\nThis application is a continuation of U.S. patent application Ser. No. 15/881,541, filed Jan. 26, 2018, entitled\n“\nMUTATIONS IN A COLUMN STORE,\n”\nwhich is a continuation of U.S. patent application Ser. No. 15/149,128, filed May 7, 2016, entitled\n“\nMUTATIONS IN A COLUMN STORE,\n”\nwhich claims the benefit of U.S. Provisional Application No. 62/158,444, filed May 7, 2015, entitled\n“\nMUTATIONS IN A COLUMN STORE,\n”\nall of which are incorporated herein by reference in their entireties. This application also incorporates by reference in their entireties U.S. Provisional Application No. 62/134,370, filed Mar. 17, 2015, entitled\n“\nCOMPACTION POLICY,\n”\nand U.S. patent application Ser. No. 15/073,509, filed Mar. 17, 2016, entitled\n“\nCOMPACTION POLICY.\n”\nTECHNICAL FIELD\nEmbodiments of the present disclosure relate to systems and methods for fast and efficient handling of database tables. More specifically, embodiments of the present disclosure relate to a storage engine for structured data which supports low-latency random access together with efficient analytical access patterns.\nBACKGROUND\nSome database systems implement database table updates by deleting an existing version of the row and re-inserting the row with updates. This causes an update to incur\n“\nread\n”\ninput/output (IO) on every column of the row to be updated, regardless of the number of columns being modified by the transaction. This can lead to significant IO costs. Other systems use\n“\npositional update tracking,\n”\nwhich avoids this issue but adds a logarithmic cost to row insert operations.\nBRIEF DESCRIPTION OF THE DRAWINGS\nFIG.\n1\nillustrates an example database table, according to embodiments of the present disclosure.\nFIGS.\n2\nA and","inventors":[{"name":"Todd Lipcon","slug":"todd-lipcon","city":"San Francisco","country":"US"}],"assignees":[{"name":"CLOUDERA, INC.","slug":"cloudera-inc","country":"US"}],"examiners":[],"cpc_codes":["G06F 16/221","G06F 16/2246","G06F 16/2282","G06F 16/23"],"ipc_codes":["G06F 16/22","G06F 16/23"],"filing_date":"2021-05-07","pub_date":"2025-07-29","grant_date":"2025-07-29","expiration_date":"2041-05-07","family_members":[],"citations_made":[{"pub_number":"US6026406A","category":"applicant"},{"pub_number":"US6119128A","category":"applicant"},{"pub_number":"US6349310B1","category":"examiner"},{"pub_number":"US7548928B1","category":"applicant"},{"pub_number":"US7567973B1","category":"applicant"},{"pub_number":"US8010492B2","category":"examiner"},{"pub_number":"US8706769B1","category":"applicant"},{"pub_number":"US9280570B2","category":"applicant"},{"pub_number":"US9519676B1","category":"examiner"},{"pub_number":"US10037251B1","category":"examiner"},{"pub_number":"US10114831B2","category":"examiner"},{"pub_number":"US10346432B2","category":"examiner"},{"pub_number":"US11003642B2","category":"applicant"},{"pub_number":"US12169507B2","category":"examiner"},{"pub_number":"US20020091718A1","category":"examiner"},{"pub_number":"US20030018644A1","category":"examiner"},{"pub_number":"US20030065884A1","category":"applicant"},{"pub_number":"US20040083263A1","category":"examiner"},{"pub_number":"US20040148303A1","category":"applicant"},{"pub_number":"US20040199519A1","category":"examiner"},{"pub_number":"US20050240615A1","category":"applicant"},{"pub_number":"US20070033354A1","category":"applicant"},{"pub_number":"US20110010330A1","category":"examiner"},{"pub_number":"US20110022574A1","category":"applicant"},{"pub_number":"US20110082854A1","category":"applicant"},{"pub_number":"US20110213775A1","category":"applicant"},{"pub_number":"US20110258242A1","category":"examiner"},{"pub_number":"US20110276744A1","category":"applicant"},{"pub_number":"US20120016851A1","category":"applicant"},{"pub_number":"US20120016852A1","category":"applicant"},{"pub_number":"US20120072656A1","category":"examiner"},{"pub_number":"US20120078978A1","category":"examiner"},{"pub_number":"US20120221528A1","category":"examiner"},{"pub_number":"US20120323971A1","category":"applicant"},{"pub_number":"US20130117247A1","category":"examiner"},{"pub_number":"US20130166554A1","category":"applicant"},{"pub_number":"US20130198139A1","category":"examiner"},{"pub_number":"US20130218840A1","category":"applicant"},{"pub_number":"US20130275476A1","category":"applicant"},{"pub_number":"US20130290282A1","category":"applicant"},{"pub_number":"US20130311612A1","category":"applicant"},{"pub_number":"US20130339293A1","category":"applicant"},{"pub_number":"US20140052700A1","category":"examiner"},{"pub_number":"US20140081918A1","category":"examiner"},{"pub_number":"US20140136788A1","category":"applicant"},{"pub_number":"US20140164823A1","category":"applicant"},{"pub_number":"US20140195492A1","category":"applicant"},{"pub_number":"US20140215170A1","category":"applicant"},{"pub_number":"US20140244599A1","category":"applicant"},{"pub_number":"US20140279855A1","category":"applicant"},{"pub_number":"US20140297601A1","category":"applicant"},{"pub_number":"US20140304219A1","category":"applicant"},{"pub_number":"US20140317048A1","category":"applicant"},{"pub_number":"US20150026128A1","category":"applicant"},{"pub_number":"US20150039573A1","category":"examiner"},{"pub_number":"US20150046413A1","category":"examiner"},{"pub_number":"US20150088824A1","category":"examiner"},{"pub_number":"US20150213071A1","category":"applicant"},{"pub_number":"US20150237127A1","category":"examiner"},{"pub_number":"US20150242400A1","category":"examiner"},{"pub_number":"US20150278281A1","category":"examiner"},{"pub_number":"US20150286668A1","category":"examiner"},{"pub_number":"US20160042016A1","category":"examiner"},{"pub_number":"US20160070618A1","category":"applicant"},{"pub_number":"US20160275094A1","category":"applicant"},{"pub_number":"US20160328429A1","category":"applicant"},{"pub_number":"US20170351718A1","category":"examiner"},{"pub_number":"US20180150490A1","category":"applicant"},{"pub_number":"US20180253468A1","category":"applicant"},{"pub_number":"CN1737943A","category":"applicant"},{"pub_number":"CN104111962B","category":"applicant"},{"pub_number":"EP2898432B1","category":"applicant"},{"pub_number":"JP2010146113A","category":"examiner"},{"pub_number":"WO2013074665","category":"applicant"}],"non_patent_literature":["Wikipedia,","“","Multiversion concurrency control","”",", May 1, 2015 version (Year: 2015).","Bernstein et al.,","“","Concurrency Control in Distributed Database Systems","”",", Jun. 1981 (Year: 1981)."],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":74,"npl_citations":10,"citations_per_year":0.0,"pagerank":0.0,"citation_rank":3483942,"pagerank_rank":3483942,"velocity_rank":3483942,"family_citations":0}}