Fill in the chart below with five differences between SQL and NoSQL databases:
SQL: Atomicity, Consistency, Isolation and Durability
NoSQL: Consistency, Availability and Partition tolerance
Transactional data. For example, oOnline purchases.
Big data. AI. For example, image matching.
NoSQL
NoSQL
Structured Query Language
A database with a tables that point to each other. The same IDs are used accross multiple tables. A relational database consists of fields within a table. All tables hold same number of fields.
One-to-One: one ID to one field
One-to-Many: one ID shared by many fields
Many-to-Many: many IDs shared by many fields
Schema are a series of data fields. This data organization is standardized - all tables have the same fields.
NoSQL is a database consisting just of tables. There is no schema. There are no relations, but relations can be set manually.
Each table holds its own data. The data is independently pulled from these.
A MongoDB database consists of documents, each holding their own data fields and entries. All information is within one place for each table.
NoSQL. Database can easily be updated via horizontal or verticle scaling. Being that it is schema-less, lots of read and write queries can be run.
Duplicate data. Database has to be updated accross different tables.
Case examples for each database.