File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
content/integrate/redis-data-integration/data-pipelines/prepare-dbs
static/images/rdi/ingest/prepsrc/aurora-pgsql Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -155,3 +155,22 @@ step 6 above.
155155psql --host=< copied-endpoint-name> --dbname=postgres --username=postgres
156156```
157157
158+ ## 8. Create and populate the Chinook test database (optional)
159+
160+ We provide a test database schema and data set called ` chinook ` ,
161+ which is useful for learning about RDI and understanding the
162+ [ job file examples] ({{< relref "/integrate/redis-data-integration/data-pipelines/transform-examples" >}}).
163+
164+ To install ` chinook ` on your Aurora PostgreSQL instance,
165+ first create the database with the following command:
166+
167+ ``` bash
168+ psql -h < your-endpoint-name> -U postgres postgres -f ./chinook-create-db.sql
169+ ```
170+
171+ You can then populate the new database with our data set using this
172+ command:
173+
174+ ``` bash
175+ psql -h gvb-database.cluster-cdrk45f3oozw.eu-west-2.rds.amazonaws.com -U postgres chinook -f ./chinook-init-db.sql
176+ ```
You can’t perform that action at this time.
0 commit comments