MongoDB has been granted a patent for a database system that allows for multi-document transactions. The system includes a database with multiple data storage nodes and can perform operations on multiple documents within a transaction. If an error occurs during the transaction, the system can reverse the operations using a transaction identifier. GlobalData’s report on MongoDB gives a 360-degree view of the company including its patenting strategy. Buy the report here.

According to GlobalData’s company profile on MongoDB, Social media analytics was a key innovation area identified from patents. MongoDB's grant share as of September 2023 was 73%. Grant share is based on the ratio of number of grants to total number of patents.

Database system for performing multi-document transactions

Source: United States Patent and Trademark Office (USPTO). Credit: MongoDB Inc

A recently granted patent (Publication Number: US11768885B2) describes a database system that includes a database with at least one data storage node and a processor that executes various system components. The system components consist of an interface component, a transaction processing component, and a transaction identification component.

The interface component is responsible for receiving a multi-document transaction, which includes a first operation to modify data in a first document and a second operation to modify data in a second document. The first and second documents are stored in the database, and the modifications made by these operations establish a relationship between the data in the two documents.

The transaction processing component performs the multi-document transaction on the database by executing the first operation on the first document. It then determines whether any errors occurred during the transaction. If an error is detected, the component uses a transaction identifier to reverse the first operation performed on the first document.

The system also includes a transaction identification component that generates the transaction identifier and associates it with the multi-document transaction. This allows the transaction processing component to link the first and second operations with the transaction identifier.

In addition, the patent describes a configuration where multiple processors are involved in the execution of the system components. One processor handles the transaction identification component, while another processor executes the transaction processing component. The transaction identification component transmits the first and second operations, along with the transaction identifier, to the second processor.

The transaction processing component can perform parts of the multi-document transaction by executing the first and second operations on a primary data storage node. It also triggers secondary data storage nodes to replicate these operations.

The patent further explains that the transaction processing component associates the first and second operations with the transaction identifier by storing a relationship between each operation and the identifier. This allows the component to reverse the first operation by identifying it through the stored relationship.

The database system described in the patent follows an eventual consistency model. It includes a primary data storage node with an operation log and secondary data storage nodes that retrieve and replicate operations from the log. The transaction processing component writes parts of the first and second operations to the operation log during the multi-document transaction.

If no errors occur during the transaction, the transaction processing component outputs a confirmation and may proceed to perform the second operation on the second document.

Overall, this patent presents a database system that enables the execution of multi-document transactions and provides mechanisms for error detection and reversal of operations.

To know more about GlobalData’s detailed insights on MongoDB, buy the report here.

Premium Insights

From

The gold standard of business intelligence.

Blending expert knowledge with cutting-edge technology, GlobalData’s unrivalled proprietary data will enable you to decode what’s happening in your market. You can make better informed decisions and gain a future-proof advantage over your competitors.

GlobalData

GlobalData, the leading provider of industry intelligence, provided the underlying data, research, and analysis used to produce this article.

GlobalData Patent Analytics tracks bibliographic data, legal events data, point in time patent ownerships, and backward and forward citations from global patenting offices. Textual analysis and official patent classifications are used to group patents into key thematic areas and link them to specific companies across the world’s largest industries.