Systems and methods for processing timeseries data
Abstract
A system is provided for storing, in a database, a plurality of timeseries represented by a plurality of respective documents events in a columnar format. The system further is adapted compress at least one of the values within the plurality of documents. According to some embodiments, the system stores the compressed values as a Simple-8b block and calculates the optimal Simple-8b selector. According to some embodiments, the system is adapted to determine a secondary index based on values within the bucket.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A system comprising: a database engine in a database executed by at least one computer processor and configured to store timeseries events, the database engine being further configured to: receive, over a network operatively coupled to the database engine, the timeseries events as one or more BSON documents, wherein the one or more BSON documents includes timeseries measurements; compress the one or more BSON documents, wherein the compressing comprises: performing a delta compression operation or a delta-of-delta compression operation on at least one of the timeseries measurements; and store, in one or more storage entities of the database, the compressed one or more BSON documents using a Simple-8b block, wherein the database engine is configured to store the compressed one or more BSON documents using the Simple-8b block by: determining whether an optimal Simple-8b selector to be used is an extended Simple-8b selector based on a number of trailing zeros in one or more of the compres
- Claim 2Depends on #1
The system according to claim 1, wherein the compressing further comprises performing a ZigZag encoding using an output of the delta compression or the delta-of-delta compression.
- Claim 3Depends on #2
The system according to claim 2, wherein the compressing further comprises calculating a number associated with meaningful bits of an output of the ZigZag encoding.
- Claim 4Depends on #3
The system according to claim 3, wherein the compressing further comprises performing a scale encoding on the at least one of the timeseries measurements.
- Claim 5Depends on #1
The system according to claim 1, wherein the delta compression operation or a delta-of-delta compression operation of a document element based on a type value of the document element.
- Claim 6Depends on #1
The system according to claim 1, wherein the storing of the compressed one or more BSON documents further comprises: storing a first portion of the compressed measurements using the Simple-8b block, and storing a second portion of the compressed measurements using a second Simple-8b block.
- Claim 7Depends on #1
The system according to claim 1, wherein the Simple-8b block comprises the Simple-8b selector, the Simple-8b selector configured to encode a number of slots for storing the compressed measurements; and a shift configured to encode the number of trailing zeros stored within a slot of the Simple-8b block.
- Claim 8Independent Claim
A method comprising: storing, by a database engine in a database, timeseries events, the database engine being configured to: receive, over a network operatively coupled to the database engine, the timeseries events as one or more BSON documents, wherein the one or more BSON documents includes timeseries measurements; compress the one or more BSON documents, wherein the compressing comprises: performing a delta compression operation or a delta-of-delta compression operation on at least one of the timeseries measurements; and storing, in one or more storage entities of the database, the compressed one or more BSON documents using a Simple-8b block, wherein the storing comprises: determining whether an optimal Simple-8b selector to be used in an extended Simple-8b selector based on a number of trailing zeros in one or more of the compressed measurements; and calculating the optimal Simple-8b selector for the Simple-8b block based on the compressed measurements and the determination of wh
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority under 35 U.S.C. § 120 to and is a Continuation-In-Part of U.S. patent application Ser. No. 17/858,950, filed Jul. 6, 2022, entitled “ SYSTEMS AND METHOD FOR PROCESSING TIMESERIES DATA ” , which claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Application Ser. No. 63/220,332 filed Jul. 9, 2021, entitled “ SYSTEMS AND METHOD FOR PROCESSING TIMESERIES DATA ” . This Application also claims priority under 35 U.S.C. 119(e) to and is a Non-Provisional of U.S. Provisional Application Ser. No. 63/392,457, filed Jul. 26, 2022, entitled “ SYSTEMS AND METHODS FOR PROCESSING TIME SERIES DATA ” . The entire contents of these applications are incorporated herein by reference in their entirety. NOTICE OF MATERIAL SUBJECT TO COPYRIGHT PROTECTION Portions of the material in this patent document are subject to copyright protection under the copyright laws of the United States and of other countries. The owner of the copyright rights has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the United States Patent and Trademark Office publicly available file or records, but otherwise reserves all copyright rights whatsoever. The copyright owner does not hereby waive any of its rights to have this patent document maintained in secrecy, including without limitation its rights pursuant to 37 C.F.R. § 1.14. SUMMARY According to some aspects described herein, it is appreciated that it would be useful to be able to store timeseries data in a non-relational database format. Timeseries information is used by a number of systems for recording data retrieved over time, such is done in multiple types of systems/industries such as the Internet of Things (IoT), manufacturing, utilities, energy, retail, advertising, E-commerce, financial services, banking, stock brokerages, among others that store and analyze data over time. Historically, nonrelationa
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (25)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (3)
- Jeong et al. A data management infrastructure for bridge monitoring. Proceedings vol. 9435, Sensors and Smart Structures Technologies for Civil, Mechanical and Aerospace Systems 2015; 94350P (2015). pp. 1-16 (Year: 2015).
- MongoDB Manual, https://www.mongodb.com/docs/v4.4 pp. 1-122 (Year: 2020).
- Qi M. Digital Forensics and NoSQL Databases, 2014 11th International Conference on Fuzzy Systems and Knowledge Discovery pp. 1-6 (Year: 2014).