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!
When installing CouchDB on Linix,
You can either build from source or if there is a package available then use package manager, that is shipped with your Linix distro to install CouchDB
We will use Ubuntu as a Linux distro to install CouchDB on.
Goto http://couchDB.apache.org.
Click on Download link from top navigation menu.
click on Ubuntu packages to get instructions on how to install CouchDB.
You can also build from source, lets go back to the download page and click on source link to get complete CouchDB source.
We will install CouchDB using apt-get, you can also use Software Centre if you prefer UI.
Open terminal and type,
sudo apt-get install couchDB.
If you are asked to install additional packages, then do so.
Futon will be running now on default port 5984.
Next step is to launch Futon Web Interface for CouchDB.
Goto http://127.0.0.1 colon 5984/_utiils.
Now let's have a look at the folder to use when using the database dumps from the exercise files.
CouchDB data folder is protected, thus you will need to switch to Super User by using this command,
sudo su.
goto /var/lib/couchDB,
list files to see available databases. Excercise data must be copied here if you wish to utilize it.