PostgreSQL Advanced Administration
This PostgreSQL Advanced Administration course covers database upgrades, database security, table partitioning, and both streaming replication and logical replication of PostgreSQL 10, 11 and 12 databases.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
The delegate will gain an understanding of:
- Plan the Upgrade of a PostgreSQL Database
- Upgrade a PostgreSQL Database
- Security features Available in PostgreSQL
- Encrypted TCP/IP connections
- Encrypt sensitive data using pgcrypto
- Table Partitioning
- Setup and use Streaming Replication
- Setup and use Logical Replication
This PostgreSQL Advanced Administration course is designed for professional database administrators of PostgreSQL 10, 11 and 12 databases who need to be able to successfully plan and implement the upgrade of a PostgreSQL database. The course covers Streaming Replication in PostgreSQL, how it can be used to achieve automatic failovers and setup a highly available PostgreSQL Database Cluster and the replication of individual objects using Logical Replication. The course also covers how security can be managed in a PostgreSQL database, including encrypted TCP/IP connections and encrypted data, and how to split large tables into smaller physical pieces using Table Partitioning. This course is suitable for users of PostgreSQL 9 databases.
This training is designed for experienced Database Administrators and Architects who want to learn advanced administration techniques for implementing High Availability and Database Security in PostgreSQL.
The delegate will also learn how to upgrade a PostgreSQL database successfully.
This course assumes a good working knowledge of SQL and specifically of PostgreSQL Administration. This can be obtained by attendance on the pre-requisite PostgreSQL Administration course.
This course is run on a Linux operating system, therefore a good working knowledge of UNIX/Linux is required. This knowledge can be gained by attendance on the pre-requisite Linux Introduction course
- Linux Introduction
- SQL for PostgreSQL
- PostgreSQL Administration
- Python Programming 1
- PHP Programming
- Course technical content is subject to change without notice.
- Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions
PostgreSQL Advanced Administration
Course Contents - DAY 1
Course Introduction
- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
Session 1: DATABASE UPGRADES
- PostgreSQL Versioning
- Plan an Upgrade
- Upgrade using pg_dump
- Upgrade using pg_upgrade
- Upgrade Streaming Replication and Log Shipping Standby Servers
- Post Upgrade Tasks
Session 2: DATABASE SECURITY
- Client Authentication Control
- Password handling
- User and Role management
- Row Level Security
- Encryption Options
- Encrypt Specific Columns with the pgcrypto Module
- The Performance Implications of Encryption
Session 3: CONTROL ACCESS TO THE SERVER
- Security Labelling
- Secure TCP/IP Connections with SSL
- Secure TCP/IP Connections with SSH Tunnels
Course Contents - DAY 2
Session 4: TABLE PARTITIONING
- Overview of Table Partitioning
- Declarative Table Partitioning
- Create a Partitioned Table
- Detach and Attach Partitions
- Table Partitioning New Features
- Table Partitioning using Inheritance
Session 5: STREAMING REPLICATION
- Configure Streaming Replication
- Slave Setup
- Create a Replication User
- Stop and Start Replication
- Monitor Replication
- Replication Failover
- Timelines
- Manage Conflicts
- Synchronous Replication
- Replication Slots
- Physical Replication Slot Handling
Session 6: LOGICAL REPLICATION
- Logical Replication Architecture
- Features of Logical Replication
- Advantages of Logical Replication
- Limitations of Logical Replication
- The CREATE PUBLICATION Command
- The CREATE SUBSCRIPTION Command
- Logical Replication Slot Handling