Learn about the setup of basic indexing functionality, and see a demonstration.
- [Kirsten] Let's go ahead and bring the data back…into the database.…Since we've removed the collection,…we'll need to import the collection again.…Open your terminal.…If the Mongo client is still running,…go ahead and Control C to quit.…Make sure you're exercise file directory…for this section.…We'll run the Mongo import command again.…If you take a look at the JSON file for this module,…you'll see that another field has been added,…and we'll work with that a bit later.…So mongoimport.…Again, db learning_mongo,…collection tours jsonArray,…file tours.json.…
Great!…Now that we've got the data in the database,…let's start thinking about indexes.…When we were setting up the original numbers collection,…we added a simple index of a single field…to speed the lookups,…and it made a huge difference.…But that was a very simple example,…and we want to make indexes that make sense…for the data we have and the queries we think…people will want to make.…We might want to be able to find…which tours are in a package,…which tours match a query for length and price,…
- Installing MongoDB for Windows and OS X
- Why Mongo?
- Document-oriented data
- Exploring the Mongo shell
- Importing data into the database
- Building an application in Node.js
- Tuning Mongo queries
- Replication and sharding
Skill Level Intermediate
1. Understand MongoDB
2. Explore the System
3. Build an Application in Node
Node MongoDB setup4m 59s
4. Advanced Topics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.