Getting Started with NoSQL
Chapters
This course introduces you to NoSQL databases and touch on various subjects. We will use CouchDb to explain things that are common with many NoSQL databases.
This course is divided into 16 chapters
- Intro
- Prerequisites
- What is NoSQL
- What kinds of data stores are available.
- Learn CAP theorem
- When to use NoSQL databases.
- CouchDB
- Install CouchDB on Windows
- Install CouchDB on Linux.
- Storing data
- Retreive stored data
- Querying data, Creating customer views and using Map Reduce function
- A word on attachments, querying attachments and deplying a simple webpage application on CouchDB
- Securing CouchDB
- Partitioning
- Other NoSQL databases and A word on where to go from here.
We hope that you will enjoy this course. If you have any feedback please send it through.
Author: Subject Coach
Added on: 2nd Jan 2015
Please get in touch with your teacher or tutor in case you have a question related to this lesson
None just yet!
There are heaps of options available when considering a NoSQL store for your project. From those let's briefly touch some of them.
MongoDB!
---------------------
MongoDB Has its own drivers for each language and data is not requested over HTTP, avoiding HTTP overhead can reduce response times.
As we stored our customer Filters as Views in CouchDB, in mongoDB that’s not supported.
Replication in MongoDB is master slave where data can be pushed on to the master from your application and master will then decide which slaves should it write to.
MongoDB is a partitioning tolerant database, this means that click connected to MongoDB will get some data back.
Javascipt is used to query MongoDB.
MongoDB also support Map Reduce functionality as we learnt in previous video.
Riak!
---------------------
Riak Supports MapReduce exactly the way CouchDB and MongoDB does.
Riak is also a Document store.
MapReduce in Riak can be written both in ErLang and JavaScript.
Riak Works well on Mac and Linux. There is no official support for Windows Operating system.
Redis!
---------------------
Redis is not like CouchDB or MongoDB.
it is Is Key Value store.
Works well only on Mac and Linux, but can be installed on Windows using an open source windows port by MS open tech.
Redis uses Master slave replication. It is possible to write directly to slave in Redis.
Values stored in Redis does not have to be strings. Redis support Lists, sets and hashes.
What next?
---------------------
Depending on what kind of data you are expecting, you have to make a decision what could work better for you.
I will recommend to jump in to writing a very basic application in technology such as NodeJS and try to connect to couchDB or any other NoSQL store and see how they work.
Once you know how NoSQL stores work and how they differ from traditional RDBMS, you will make more informed decisions for your projects.
Many new features are being added to different datastores, keeping in touch with those will definitely help you.