Pingu
Computer MySQL PostgreSQL Books Publications
Spielereien Kanu Geopolitik Business TopoDB POI Klettersteigen History TransPool Thermal Baden Brokenstuben Goldwaschen
Blog Contact
Shinguz
Google
/ch/open

PostgreSQL for MySQL Admins

/ home / computer / postgresql / .

PostgreSQL for MySQL administrators

PostgreSQL Operations

  1. Installation of PostgreSQL

  2. PostgreSQL Client Utilities

    • CLI utilities
    • CLI commands
    • GUI
  3. PostgreSQL Architecture

  4. Configuration of PostgreSQL

  5. Backup, Restore and Point-in-Time-Recovery (PiTR)

    • Logical Backup
    • Physical Backup
    • Backup methods
      • File system copy
      • Dump
      • Snapshots
      • PostgreSQL physical backup
    • Point-in-Time-Recovery
      • The Write-Ahead-Log (WAL)
      • Managing the WAL
      • Doing a PiTR
    • Testing your restore!
  6. Further PostgreSQL operational tasks


High Availability (HA) and Architecture

  1. PostgreSQL Replication

  2. Active/passive fail-over Cluster

    • With shared disk (SAN)
    • With DRBD
  3. Load balancing / Proxying

  4. Cluster management software

    • Patroni (leader election via etcd/Consul/Zookeeper)
      • Patroni, Spock (pgEdge), etcd → fail-safe redundancy, instant failover without hiccups, multi-master system
    • repmgr (basic failover management)
    • pg_auto_failover (simplified two-node setups)
    • Pgpool-II (basic HA + connection pooling)
  5. Other HA / Cluster solutions


PostgreSQL Performance Tuning

  1. Performance definition

    • latency
    • throughput
  2. PostgreSQL Tuning

  3. Monitoring

    • O/S (CPU, RAM, I/O, Network)
    • PostgreSQL (Processlist, Performance metrics)

PostgreSQL for MySQL developers

PostgreSQL internals

Notes

See also: