-
Book Overview & Buying
-
Table Of Contents
Time Series Analysis with Python Cookbook - Second Edition
By :
MongoDB, a NoSQL database, stores data in documents and uses Binary JSON (BSON), which extends JSON with additional data types and is more efficient for storage and retrieval. Unlike relational databases, where data is stored in tables that consist of rows and columns, document-oriented databases store data in collections and documents.
A document represents the lowest granular level of data being stored, as rows do in relational databases. A collection, like a table in relational databases, stores documents. Unlike relational databases, a collection can store documents of different schemas and structures, making MongoDB’s flexible schema ideal for time series data that might evolve with changing metrics or collection patterns.
Since version 5.0, MongoDB offers dedicated time series collections that efficiently store and organize time series data. These specialized collections automatically organize measurements by time and metadata (such as...