The demo database is available at edu.postgrespro.com in three flavors, which differ only in the data size:
The small database is good for writing queries, and it will not take up much disk space. The large database can help you understand the query behavior on large data volumes and consider query optimization.
The files include an SQL script that creates the
demo database and fills it with data (virtually, it is a backup copy created with the pg_dump utility). Note that if the
demo database already exists, it will be deleted and recreated! The owner of the
demo database will be the DBMS user who run the script.