Join Joseph LeBlanc for an in-depth discussion in this video Exploring NoSQL possibilities, part of Up and Running with NoSQL Databases.
You may be wondering when you should use NoSQL database instead of an SQL-based relational one. Let's take look at some examples of instances where NoSQL databases give you an advantage. Many NoSQL databases can be used to easily create web applications with customizable fields. You don't have to worry about schema changes and you can still index the fields. For instance, if you have an application that keeps track of comments on articles, you can add votes later. Another possibility for NoSQL is to use it as a caching layer.
You might have a relational database that you want to keep traffic away from. You can use NoSQL as a caching layer and write code to pull data from the relational database and store it in NoSQL, then you can use NoSQL for your API. Many NoSQL databases can also store binary files. With NoSQL you don't have to worry about file system permissions. NoSQL databases will frequently extract all the metadata about a file and allow you to query by it. You can also use NoSQL to attach other data to specific files.
- What is NoSQL?
- Installing CouchDB on Mac, Windows, and Linux
- Storing data
- Nesting document data
- Specifying search criteria
- Reducing data
- Attaching and retrieving images
- Deploying applications
- Securing CouchDB
- Understanding the CAP theorem