---
title: "Sample datasets"
url: "https://docs.yugabyte.com/stable/develop/sample-data/"
---

# Sample datasets

Explore the YugabyteDB YSQL API using sample datasets.

YugabyteDB and YugabyteDB client shell installations include sample datasets you can use to test out YugabyteDB. These are located in the `share` directory of your installation. The datasets are also available in the [sample directory of the YugabyteDB GitHub repository](https://github.com/yugabyte/yugabyte-db/tree/master/sample "sample directory of the YugabyteDB GitHub repository"). The datasets are provided in the form of SQL script files. All of the datasets are PostgreSQL-compatible, and you can explore them using the [ysqlsh shell](/stable/api/ysqlsh/ "ysqlsh shell") to compare between PostgreSQL and the YugabyteDB [YSQL API](/stable/api/ysql/ "YSQL API").

You can install and use the sample datasets using either a local installation of YugabyteDB, or by connecting to a cluster in YugabyteDB Aeon (including your free cluster).

Local install

The ysqlsh shell is included with the YugabyteDB installation. For information on installing YugabyteDB, refer to [Quick start](/stable/quick-start/macos/ "Quick start").

YugabyteDB Aeon

For information on connecting to your YugabyteDB Aeon cluster using ysqlsh in cloud shell, refer to [Connect using cloud shell](/stable/yugabyte-cloud/cloud-connect/connect-cloud-shell/ "Connect using cloud shell").

For information on connecting to your YugabyteDB Aeon cluster using the ysqlsh client installed on your computer, refer to [Connect via client shells](/stable/yugabyte-cloud/cloud-connect/connect-client-shell/ "Connect via client shells").

The exercises can be run on free or standard clusters. To get started with YugabyteDB Aeon, refer to [Quick start](/stable/yugabyte-cloud/cloud-quickstart/ "Quick start").

[![](/images/section_icons/sample-data/s_s2-chinook-3x.png)  
\
Chinook  
\
Explore the popular sample dataset for a digital media store.](/stable/develop/sample-data/chinook/)

[![](/images/section_icons/sample-data/s_s3-northwind-3x.png)  
\
Northwind  
\
Explore the classic sales datasets for Northwind Traders.](/stable/develop/sample-data/northwind/)

[![](/images/section_icons/sample-data/s_s4-pgexercises-3x.png)  
\
PgExercises  
\
Learn SQL and test your knowledge by creating the PostgreSQL Exercises database and trying out the available exercises.](/stable/develop/sample-data/pgexercises/)

[![](/images/section_icons/sample-data/s_s5-sportsdb-3x.png)  
\
SportsDB  
\
Explore sample sports statistics for baseball, football, basketball, ice hockey, and soccer.](/stable/develop/sample-data/sportsdb/)

[![](/images/section_icons/develop/apps/e-commerce.png)  
\
Retail Analytics  
\
Ad-hoc analytics of retail sales data using YugabyteDB's YSQL API.](/stable/develop/sample-data/retail-analytics/)
