Aggregate-Oriented Databases in NoSQL Last Updated : 15 Mar, 2022 Comments Improve Suggest changes Like Article Like Report The aggregate-Oriented database is the NoSQL database which does not support ACID transactions and they sacrifice one of the ACID properties. Aggregate orientation operations are different compared to relational database operations. We can perform OLAP operations on the Aggregate-Oriented database. The efficiency of the Aggregate-Oriented database is high if the data transactions and interactions take place within the same aggregate. Several fields of data can be put in the aggregates such that they can be commonly accessed together. We can manipulate only a single aggregate at a time. We can not manipulate multiple aggregates at a time in an atomic way. Aggregate - Oriented databases are classified into four major data models. They are as follows: Key-valueDocumentColumn familyGraph-basedEach of the Data models above has its own query language. key-value Data Model: Key-value and document databases were strongly aggregate-oriented. The key-value data model contains the key or Id which is used to access the data of the aggregates. key-value Data Model is very secure as the aggregates are opaque to the database. Aggregates are encrypted as the big blog of bits that can be decrypted with key or id. In the key-value Data Model, we can place data of any structure and datatypes in it. The advantage of the key-value Data Model is that we can store the sensitive information in the aggregate. But the disadvantage of this model the database has some general size limits. We can store only the limited data.Document Data Model: In Document Data Model we can access the parts of aggregates. The data in this model can be accessed inflexible manner. we can submit queries to the database based on the fields in the aggregate. There is a restriction on the structure and data types of data to be paced in this data model. The structure of the aggregate can be accessed by the Document Data Model. Column family Data Model: The Column family is also called a two-level map. But, however, we think about the structure, it has been a model that influenced later databases such as HBase and Cassandra. These databases with a big table-style data model are often referred to as column stores. Column-family models divide the aggregate into column families. The Column-family model is a two-level aggregate structure. The first level consists of keys that act as a row identifier that selects the aggregate. The second-level values in the Column family Data Model are referred to as columns.In the above example, the row key is 234 which selects the aggregate. Here the row key selects the column families customer and orders. Each column family contains the columns of data. In the orders column family, we have the orders placed by the customers.Graph Data Model: In a graph data model, the data is stored in nodes that are connected by edges. This model is preferred to store a huge amount of complex aggregates and multidimensional data with many interconnections between them. Graph Data Model has the application like we can store the Facebook user accounts in the nodes and find out the friends of the particular user by following the edges of the graph.We can find the friends of a person by observing this graph data model. If there is an edge between two nodes then we can say they are friends. Here we also consider the indirect links between the nodes to determine the friend suggestions. Comment More infoAdvertise with us Next Article Aggregate-Oriented Databases in NoSQL H hasani Follow Improve Article Tags : DBMS Geeks Premier League Geeks-Premier-League-2022 NoSQL Similar Reads Aggregate Data Model in NoSQL We know, NoSQL are databases that store data in another format other than relational databases. NoSQL deals in nearly every industry nowadays. For the people who interact with data in databases, the Aggregate Data model will help in that interaction. Features of NoSQL Databases: Schema Agnostic: NoS 2 min read Types of NoSQL Databases A database is a collection of structured data or information that is stored in a computer system and can be accessed easily. A database is usually managed by a Database Management System (DBMS). NoSQL databases are a category of non-relational databases designed to handle large-scale, unstructured, 5 min read Top 10 Open-Source NoSQL Databases in 2024 NoSQL databases are becoming more and more popular these days. This is because companies increasingly require NoSQL databases as traditional relational databases are not enough to fulfill their requirements anymore. Now companies have to deal with millions of users at the same time, handle insane qu 8 min read NoSQL Database Design In the world of modern data management, NoSQL databases have emerged as powerful alternatives to traditional relational databases. NoSQL, which stands for "Not Only SQL" have a diverse set of database technologies designed to handle large volumes of unstructured, semi-structured, and structured data 4 min read Mongoose Model.aggregate() API Mongoose, a popular ODM (Object Data Modeling) library for MongoDB and Node.js, provides an easy-to-use API for interacting with MongoDB databases. One of the most powerful features of Mongoose is the aggregate() method. In this article, we will expalin the aggregate() method, explain its syntax, us 4 min read Like