Docs Menu
Docs Home
/

Load Data into Atlas

Estimated completion time: 5 minutes

Atlas provides sample data you can load into your Atlas clusters. You can use this data to quickly get started experimenting with data in MongoDB and using tools such as the Atlas UI and MongoDB Charts.

For descriptions of each of the available datasets, see Available Sample Datasets. Each dataset page contains information on the databases, collections, and indexes in the dataset.

You can also generate synthetic data that aligns to your real data's schema. To learn more, see Generate Synthetic Data.

To import your own data, see Migrate or Import Data.

To load sample data, you must have Project Owner access to the project.

Users with Organization Owner access must add themselves to the project as a Project Owner.

To utilize the sample data provided by Atlas, you must create an Atlas cluster to load data into. To learn more, see Cluster Types.

You can load sample data into your Atlas cluster from the Atlas CLI or the Atlas UI. To load sample data into your local deployment, see Load Sample Data into Your Local Deployment.

Tip

You can use the local deployment steps to load data into a MongoDB Community or Enterprise cluster.

To load sample data into your local deployment:

1

Run the following command in your terminal to download the sample data:

curl https://atlas-education.s3.amazonaws.com/sampledata.archive -o sampledata.archive
2

Run the following command to load the data into your deployment, replacing <port-number> with the port where you're hosting the deployment:

mongorestore --archive=sampledata.archive --port=<port-number>

The following table shows the sample datasets available for Atlas clusters. Click a sample dataset to learn more about it.

For instructions on loading this sample data into your Atlas cluster, see Load Sample Data.

Dataset Name
Description

Contains details on AirBnB listings.

Contains training data for a mock financial services application.

Contains shipwreck data.

Contains planet data.

Contains movie data. Includes vector embeddings.

Contains restaurant data.

Contains data from a mock office supply store.

Contains MongoDB training services dataset.

Contains detailed weather reports.

When you load the sample data, Atlas creates the following namespaces on your cluster:

Warning

If any of these namespaces already exist on your cluster when you attempt to load the sample data, the operation will fail and no sample data will be loaded into your cluster.

Database
Collection

sample_airbnb

listingsAndReviews

sample_analytics

accounts

sample_analytics

customers

sample_analytics

transactions

sample_geospatial

shipwrecks

sample_guides

planets

sample_mflix

comments

sample_mflix

embedded_movies

sample_mflix

movies

sample_mflix

theaters

sample_mflix

users

sample_supplies

sales

sample_training

companies

sample_training

grades

sample_training

inspections

sample_training

posts

sample_training

routes

sample_training

trips

sample_training

zips

sample_weatherdata

data

The Get Started with Atlas tutorial walks through setting up an Atlas cluster and populating that cluster with sample data.

The following MongoDB Charts tutorials guide you through visualizing sample data provided by Atlas:

Visualizing Order Data
Visualize the Sample Supply Store Dataset, which contains sales order data from a mock office supply company.
Visualizing Movie Details
Visualize the Sample Mflix Dataset, which contains data on movies and movie theaters.

Tip

To visualize data in MongoDB Charts from the Atlas UI, click Visualize Your Data when viewing a specific database or collection. Charts loads the data source and you can start building a chart in the Charts view. For detailed steps, see Build Charts.

Instructor-led Training
Get quickly ramped on MongoDB with comprehensive private training programs for developers and operations teams.

Back

Download Query Logs

On this page