NoSQL Flashcards
Keys vs Values in NoSQL
Keys are like cell names.
Values are what the values are in the specific cells.
NoSQL on Cloud
Microsoft Azure:
- Azure Tables
- Hadoop on Azure/Hbase
Amazon:
- SimpleDB
- DynamoDB
- Elastic MapReduce
Document Stores in NoSQL (One of the 4 types of NoSQL DBs)
These are JavaScript object notation - JSON files.
Example: MongoDB
Key-value Stores (One of the 4 types of NoSQL DBs)
Customer table:
Row ID: __
Address: ___
First name: ___
Last name: ___
Order ID: ___
Order table:
Order ID: ___
No. of items: ___
Can’t simply relate the two tables, need to have some foreign key
Wide Column Stores
Within each row there are super columns as well as columns under the super columns.
Each super column is simply a name, while columns under the super columns have the actual data.
Advantages and disadvantages of NoSQL
Advantages:
- Faster when the web load is huge
- Good for Big Data
- Good for large, public facing sites
Disadvantages:
- Performance can be low
- Not as consistent as SQL databases
- Not to be used with data on stock trades, credit cards, accounting debits and credits