bwiggs / pg_playground

My Postgres Playground and Exercises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postgres Playground

An area to play with Postgres features.

Goals

There's lot's of interesting areas and methods I'd like to dive into.

  1. Query Planner
  2. PG Internals/pg_catalog
  3. Table Partitioning
  4. DELETE Performance
  5. Table Inheritance
  6. Replication
  7. Disaster Recovery
  8. Window Functions
  9. Logical Replication
  10. Log Shipping
  11. Failover
  12. Hot Standby
  13. Advanced Tuning
  14. TX Wraparound Issue and Monitoring
  15. General Monitoring
  16. WAL
  17. Advanced Indexes
  18. Foreign Data Wrappers
  19. Views & Materialized Views

Services

Docker Compose is user to setup a postgres instance and pgAdmin as an interface.

$ docker-compose up -d
  • Postgres is exported on port 5432
  • PgAdmin is exported on port 54321

postgres

Postgres is exported on port 5432. You connect using any pg capable client.

Default user is postgres, password is blank?

pgAdmin4

PgAdmin is exported on port 54321 and can be access via your web browser.

http://localhost:54321

psql support

$ psql postgres://postgres@localhost/dbname

About

My Postgres Playground and Exercises