Database: NoSQL Flashcards
What is NoSQL?
NoSQL stands for Non Structured query languages, which is a category for non relational databases
How is data structured in NoSQL databases?
There are collections, with documents filled in a structure resembling javascript objects
How does NoSQL compare to SQL databases?
NoSQL databases arent relational: There is the possiblity of relating them, but most likely you will only copy the data to another document.
NoSQL databases are schemaless, even though schemas are also used, but there is no need to have all schemas looking exactly the same: You dont have to fill all fields.
Weakness of NoSQL compared to SQL
NoSQL copies data to other documents instead of joining then, which means the more copies there are, the longer the process to update all of them
SQL ensures more data integrity/stability because it doesnt copy variables
SQL deals better with complex queries
SQL is more structured, making it retrieve data more quickly