Home / Companies / MongoDB / Blog / January 2019

January 2019 Summaries

2 posts from MongoDB

Filter
Month: Year:
Post Summaries Back to Blog
The Bucket Pattern is a useful approach to organizing time-series data, particularly in IoT, Real-Time Analytics, or Time-Series data, by grouping measurements together based on a specific time span. This pattern can reduce index size, simplify queries, and enable the use of pre-aggregated data. By applying this pattern to a data stream, documents can be created that hold measurements from a particular time span, allowing for potential query simplification and improved storage efficiency. The Bucket Pattern enables efficient access to historical trends, forecasting, and optimization by providing pre-aggregated values such as average temperature or sum of temperatures. This approach is particularly beneficial when dealing with large amounts of data and can be used in various applications, including IoT implementations and financial transactions.
Jan 31, 2019 721 words in the original blog post.
In MongoDB, the Attribute Pattern is a useful approach for handling documents with many similar fields but varying characteristics, particularly when those characteristics need to be sorted or queried on. This pattern allows for efficient indexing by moving common attributes into an array and reducing the number of indexes required, making it easier to manage queries and improve performance. By applying this pattern, developers can add organization to their documents, account for rare/unpredictable fields, and use non-deterministic naming conventions, ultimately simplifying query writing and execution.
Jan 24, 2019 792 words in the original blog post.