Setting up PostgreSQL
#
Run PostgreSQLShared on your machine at
workspace/input
Password is
postgres
#
Connect to Postgres and load scripts#
Connect to postgres#
Load SQL scriptOr execute it directly in the container if the previous command fails:
#
Explore databaseUsing tools can be helpful to explore the content of your database.
#
dbeaverDbeaver is a Eclipse based tool to explore database, it allows to generate diagrams to get an overview of the tables and relations.
Not available as web UI nor Docker image. Can be installed locally:
Unfortunately the diagrams can be a challenge to export. They manage to face
Java Heap Space
error when generating a png from a ER diagram on 16G machine. How they manage to fail such a simple task is impressing.
#
pgAdminThe official UI for Postgres databases. Does not include user-friendly features such as ER diagram generation. But available as web UI in a docker image:
Login with
test@test.edu
/password
Or directly using docker: