Search courses 👉
Professional Training
4.9 (17 Reviews)

PostgreSQL Administration

Length
40 hours
Price
2,495 GBP
Next course start
13 January, 2025 (+8 start dates)
Course delivery
Virtual Classroom
Length
40 hours
Price
2,495 GBP
Next course start
13 January, 2025 (+8 start dates)
Course delivery
Virtual Classroom
Leave your details so the provider can get in touch

Course description

PostgreSQL Administration Course Overview

This PostgreSQL Administration course covers administration, maintenance, security and performance tuning of PostgreSQL version 10, 11, 12, 13 and 14 databases.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Who will the Course Benefit?

This PostgreSQL Administration course is designed for professional database administrators who need to gain an understanding of the features and functionality that can be used to manage PostgreSQL 10, 11, 12, 13 and 14 databases. This course is also suitable for users of PostgreSQL 9 databases.

Course Objectives

This course aims to provide the delegate with the knowledge to be able to install, administer, maintain, backup, recover and tune a PostgreSQL database.

Upcoming start dates

Choose between 8 start dates

13 January, 2025

  • Virtual Classroom
  • Online

24 February, 2025

  • Virtual Classroom
  • Online

7 April, 2025

  • Virtual Classroom
  • Online

2 June, 2025

  • Virtual Classroom
  • Online

21 July, 2025

  • Virtual Classroom
  • Online

8 September, 2025

  • Virtual Classroom
  • Online

27 October, 2025

  • Virtual Classroom
  • Online

15 December, 2025

  • Virtual Classroom
  • Online

Suitability - Who should attend?

Requirements

This course assumes a good working knowledge of SQL and specifically of the SELECT, INSERT, UPDATE and CREATE TABLE statements. This knowledge can be obtained by attendance on the pre-requisite SQL for PostgreSQL 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


Experience to the level as demonstrated in these courses is recommended:
  • Linux Introduction
  • SQL for PostgreSQL

Training Course Content



PostgreSQL Administration Training Course

Course Contents - DAY 1

Course Introduction
  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions
Session 1: INSTALLATION AND CONFIGURATION OF POSTGRESQL
  • PostgreSQL Version Numbers
  • PostgreSQL Configuration Recommendations
  • Single Cluster and Database per Server
  • File System Layouts
  • Install PostgreSQL
  • Install PostgreSQL on Linux/UNIX
  • Post-Installation Setup
  • Create a Database Cluster
  • Basic Server Configuration
  • Account Management
Session 2: POSTGRESQL ARCHITECTURE
  • Overview of PostgreSQL Architecture
  • The PostgreSQL Instance
  • How Data is Processed by PostgreSQL
  • PostgreSQL Processes
  • Shared Memory
  • PostgreSQL Directory Structure
  • Manage a PostgreSQL Instance
  • The PostgreSQL Configuration Files
  • Multiversion Concurrency Control
  • The Vacuum utility
  • PostgreSQL WAL
Session 3: POSTGRESQL CLIENT APPLICATIONS
  • Overview of PostgreSQL Client Applications
  • The PostgreSQL Interactive Client Terminal - psql
  • The pgAdmin Tool
  • Client and host based access control
  • Client Connection Problems
  • Authentication Failures
  • Server Startup Failures
Session 4: CREATE AND CONFIGURE A DATABASE
  • Create a New Database using the CREATE DATABASE Command
  • Create a New Database using pgAdmin
  • Start and Stop the Database Server
  • Drop a Database
  • Copy a Database
  • List Databases
  • Obtain Database Object Sizes
  • Initialise a Cluster
PostgreSQL Administration Training Course

Course Contents - DAY 2

Session 5: POSTGRESQL SCHEMAS
  • Overview of the Key Concepts of PostgreSQL Schemas
  • Create and Drop a Schema
  • The Public Schema
  • The Schema Search Path
  • Schemas and Privileges
  • The System Catalog Schema
  • Overview of the Information Schema
Session 6: ROLE MANAGEMENT
  • Overview of PostgreSQL Roles and Privileges
  • Create a User Defined Role
  • Role Attributes
  • Role Membership
  • Assigning Users to Roles
  • Group and User Role Inheritance
  • Removing Roles
  • Troubleshooting and Understanding Role Access
Session 7: FINE GRAINED ACCESS CONTROL USING GRANT
  • Control Database Level Permissions
  • Control Schema Level Permissions
  • Grant Table Level Permissions
  • Define Access Privileges with the GRANT Command
  • Remove Access Privileges with the REVOKE Command
  • Manage Column Rights
Session 8: INDEX CREATION AND MANAGEMENT
  • Index Overview
  • The CREATE INDEX Command
  • Index Types
  • Efficient Usage of PostgreSQL Indexes
  • Index creation
  • B-tree and Hash Indexes
  • Single Column Indexes
  • Multicolumn Indexes
  • Index Based Expressions
  • Partial Indexes
  • List Indexes
  • Manage and Maintain Indexes
  • When Indexes Should be Avoided
Session 9: TRANSACTIONS AND CONCURRENCY
  • Overview of Transaction Processing in PostgreSQL
  • Transaction Properties
  • Transaction Control
  • Multi-version Concurrency Control
  • Concurrency Problems
  • Isolation Levels
  • Implicit Locking
  • Explicit Locking
  • Possible Causes of Lock Contention
  • Deadlocks
  • Advisory Locks
  • Lock Management Parameters
PostgreSQL Administration Training Course

Course Contents - DAY 3

Session 10: POSTGRESQL DATABASES STRUCTURE
  • The PostgreSQL Configuration Files
  • Relocate the Configuration Files
  • Physical Storage and File Layout
  • Overview of Tablespace Usage
  • Table and Row Storage
  • Column Limitations
  • Free Space Map
  • The Visibility Map
  • Index Storage
Session 11: MANAGE TABLESPACES
  • Overview of PostgreSQL Tablespaces
  • Default PostgreSQL Tablespaces
  • Create a Tablespace using SQL Commands and pgAdmin
  • Create a Tablespace in the UNIX Operating System
  • Alter a Tablespace
  • Drop a Tablespace
Session 12: POSTGRESQL LOGGING
  • PostgreSQL Event Log Destinations
  • Configuring syslog, eventlog, stderr and csv format output
  • Configuring What Should be Logged and When
Session 13: POSTGRESQL EXTENSIONS
  • Install the PostgreSQL Contrib Module
  • List the Available Extensions
  • Add an Extension to the postgresql.conf File
  • Create an Extension in a Database
  • Drop an Extension in a Database
PostgreSQL Administration Training Course

Course Contents - DAY 4

Session 14: BACKUP AND RECOVERY OF DATABASES
  • Overview of Backup Methods
  • Export and Import Operations with COPY
  • Backup a Database with Operating System Commands
  • Backup a Database with pg_dump
  • Backup User Credentials
  • Backup All Databases with pg_dumpall
  • Backup Database Object Definitions
  • Backup databases with pg_Admin
  • Overview of Database Restore
  • Restore using psql
  • Restore using pg_restore
  • File system Backup and Recovery
Session 15: POINT-IN-TIME RECOVERY (PITR)
  • Write-ahead Logging and Crash Recovery
  • Checkpoints
  • List the Transaction Logs
  • Transaction Log Optimisation
  • Overview of PITR
  • Setup PITR
  • Continuous Archiving
  • Test Transaction Log Archiving
  • Create a Base Backup using the Low Level API
  • Create a Base Backup using pgBaseBackup
  • The PITR Recovery Process
  • How To Perform a PITR Recovery
  • Recovery Configuration Parameters
  • Locating the Correct Timestamp
  • Clean up the Archived Transaction Logs
PostgreSQL Administration Training Course

Course Contents - DAY 5

Session 16: THE POSTGRESQL QUERY OPTIMIZER
  • Query Optimization
  • Optimization Operations
  • Optimization Decisions
  • Scan Methods
  • Join Methods
  • Join Order
  • Statement Transformation
  • Prepared Statements
  • Query Performance Analysis
  • Detect Slow Queries
  • Use EXPLAIN to optimize Queries and Indexes
  • Execution Plans
  • Query Planner Statistics
  • The ANALYZE command
  • The CREATE STATISTICS command
  • Parameters Affecting Optimization
  • Memory Settings That Affect Performance
Session 17: ROUTINE DATABASE MAINTENANCE
  • Optimize Storage and Manage Clean up with VACUUM
  • Configure VACUUM
  • Configure Autovacuum
  • Cost Based Vacuum Delay
  • Track a VACUUM Process
  • Routine Maintenance Tasks
Session 18: SERVER PERFORMANCE MONITORING AND TUNING
  • Monitor Database Activities
  • System Monitoring & PostgreSQL Monitoring
  • Performance Statistics in the Server Log
  • Statistics Collection Configuration
  • Monitor Database Activity
  • Monitor Table, Index and SQL Statement Activity
  • Monitor Background Writer, WAL and Archiving Activity
  • Progress Reporting
  • Locks
Session 19: POPULATE A DATABASE EFFICIENTLY
  • DISABLE autocommit
  • Configure Variables for Increased Performance
  • Use the COPY Command to Bulk Load Data
  • Drop Indexes and Foreign Keys Temporarily
  • Use the COPY command to Bulk Load Data
  • Temporarily drop indexes and Foreign Key Constraints before a Bulk Load
  • Configure Variables for Increased Performance
  • Temporarily Disable WAL Archival and Streaming Replication
  • Use pg_dump Efficiently


Customer Outreach Award

customer-outreach-badge-2019

We believe that it should be easy for you to find and compare training courses. 

Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.

Reviews

Average rating 4.9

Based on 17 reviews.
Reviews are published according to our review policy.
Write a review!
Charith
5/5
23 Aug 2021
I'm really happy with the course

I'm really happy with the course. Specially with teaching style of the instructor and the demonstrations. I would contently recommend this course to my other work colleagues.

Ray
5/5
15 Feb 2021
a very professional and supportive trainer

Tarn is a very professional and supportive trainer with hand-on knowleague on this field and he has been very paitent to answer questions even during his break time. I learned a...

Show more
Stuart
5/5
20 Apr 2020
at the right speed

Considering we are taking this course remotely largely due to the current Virus situation the course has covered and moved along at the right speed for myself and 2 colleagues t...

Show more

Continuing Studies

Further Learning

  • PostgreSQL Advanced Administration
  • PostgreSQL for Developers
  • Python Programming 1
  • PHP Developer

Request info

Contact form

Fill out your details to find out more about PostgreSQL Administration.

  Contact the provider

  Get more information

  Register your interest

Country *

reCAPTCHA logo This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
StayAhead Training
56 Commercial Road
E1 1LP London

Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...

Read more and show all courses with this provider

Ads