This chapter will include two demonstrations. The first of these will show you how to import data into the MongoDB database and how to update the data. This will not require any code files, but it will require some setup, which is detailed in the following subsections.
The second demonstration will show you how to interface with MongoDB from within Python, and using a Python script called process_large_data.py
. The finished code is available in the code
folder of the external resources.
All of the external resources are available at the following link: https://goo.gl/8S58ra.
To follow along with the exercises, you should have at least 25 GB of disk space free. If disk space is a limiting factor, you can still follow along using a smaller version of the dataset, as I will explain in the next section.