May 2019 Summaries
3 posts from MongoDB
Filter
Month:
Year:
Post Summaries
Back to Blog
MongoDB has introduced low-level timestamps in its WiredTiger storage engine to enable queries based on time and order, allowing snapshots to be created from a common point in time. This change reconciles the two ideas of order in the server and storage layer, ensuring that MongoDB's concept of time can be queried for data retrieval. Timestamps are now stored as metadata within the update structures created by WiredTiger, enabling the use of timestamps with queries to retrieve data at a specific moment. The addition of timestamps simplifies replication rollbacks by allowing servers to drop changes made after a majority commit point, reducing the complexity of synchronizing a server with the rest of the cluster. This change has enabled the use of WiredTiger's multi-version concurrency control to reduce locks and streamline resynchronization processes, giving the server the ability to roll back to a specific point in time for transaction correctness guarantees.
May 23, 2019
1,026 words in the original blog post.
MongoDB Atlas has introduced a new feature called "Load Sample Data" that allows users to quickly load six pre-existing datasets into their database instance, ready for exploration and practice. This feature is designed to help developers learn MongoDB faster by providing access to 350MB of sample data, including collections on topics such as AirBnB reviews, shipwrecks, movies, office supplies, training data, and weather reports. The sample data is pre-indexed and can be used with various tools like MongoDB Charts or Compass for data visualization and analysis. This feature aims to simplify the learning experience for MongoDB users, especially those on the free tier, by providing a set of pre-loaded datasets and tutorials to get started with.
May 15, 2019
517 words in the original blog post.
JSON Schema validation is a powerful tool in MongoDB that allows developers to define the structure and constraints of their data, ensuring data consistency and security. By using the uniqueItems keyword, developers can enforce uniqueness within arrays, preventing duplicate values and unauthorized extensions. This technique can be applied to various use cases, including validating array contents, ensuring data integrity, and preventing errors at a database level. The JSON schema validation process provides a flexible and scalable way to validate document shape and values, making it an essential tool for developers working with MongoDB.
May 09, 2019
840 words in the original blog post.