From bfb48f93c4903b066ee49b381086180a7e3c3ae4 Mon Sep 17 00:00:00 2001 From: Joelinkglobal <112553426+Joelinkglobal@users.noreply.github.com> Date: Wed, 31 Aug 2022 15:24:44 +0100 Subject: [PATCH 1/2] Update README.md Assignment on com 411 php --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 28a8d3a..4af1ae3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,34 @@ # WebDevelopment A repository to explore diffrences between Web3 and Web2 +Name: oketah Joel Nwite +Regno: 2020/hnd/31991/C's + +The following are the main difference between SQL and NoSQL + +Type – +SQL databases are primarily called as Relational Databases (RDBMS); whereas NoSQL database are primarily called as non-relational or distributed database. + + Language – +SQL databases defines and manipulates data based structured query language (SQL). Seeing from a side this language is extremely powerful. SQL is one of the most versatile and widely-used options available which makes it a safe choice especially for great complex queries. But from other side it can be restrictive. + +Scalability – +In almost all situations SQL databases are vertically scalable. This means that you can increase the load on a single server by increasing things like RAM, CPU or SSD. But on the other hand NoSQL databases are horizontally scalable. This means that you handle more traffic by sharding, or adding more servers in your NoSQL database. + +Structure – +SQL databases are table-based on the other hand NoSQL databases are either key-value pairs, document-based, graph databases or wide-column stores. This makes relational SQL databases a better option for applications that require multi-row transactions such as an accounting system or for legacy systems that were built for a relational structure. + + Property followed – +SQL databases follow ACID properties (Atomicity, Consistency, Isolation and Durability) whereas the NoSQL database follows the Brewers CAP theorem (Consistency, Availability and Partition tolerance). + +Support – +Great support is available for all SQL database from their vendors. Also a lot of independent consultations are there who can help you with SQL database for a very large scale deployments but for some NoSQL database you still have to rely on community support and only limited outside experts are available for setting up and deploying your large scale NoSQL deployments. + + Key highlights point on different between SQL and NoSQL: + +1. SQL are RELATIONAL DATABASE MANAGEMENT SYSTEM (RDBMS) while NoSQL are Non-relational or distributed database system. +2. SQL have fixed or static or predefined schema. while NoSQL have dynamic schema. +3. SQL are not suited for hierarchical data storage. While NoSQL are best suited for hierarchical data storage. +4. SQL are best suited for complex queries . While NoSQL are not so good for complex queries +5. SQL are vertically Scalable while are Horizontally scalable +6. SQL Follows ACID property while NoSQL Follows CAP(consistency, availability, partition tolerance) +Examples: MySQL, PostgreSQL, Oracle, MS-SQL Server etc Examples: MongoDB, GraphQL, HBase, Neo4j, Cassandra etc From cce8f7dc580afe57ab375bd2182caf8b2692622a Mon Sep 17 00:00:00 2001 From: Joelinkglobal <112553426+Joelinkglobal@users.noreply.github.com> Date: Wed, 31 Aug 2022 15:32:00 +0100 Subject: [PATCH 2/2] Update README.md Assignment on com 411 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4af1ae3..74e85f6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # WebDevelopment -A repository to explore diffrences between Web3 and Web2 +A repository to explore diffrences between SQL and nosql + Name: oketah Joel Nwite Regno: 2020/hnd/31991/C's