PostgreSQL Administration

69 Ratings

Course Number: PSQL-102
Duration: 4 days (26 hours)
Format: Live, hands-on

PostgreSQL Administration Training Overview

Accelebrate's PostgreSQL Administration training class teaches students how to build, query, administer, backup, and secure PostgreSQL.

In addition to private team training, we offer open enrollment PostgreSQL courses for individuals. See our schedule and register here.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Learn the fundamentals of working at the Linux command line
  • Install PostgreSQL
  • Create databases and users
  • Write PSQL to query and manage the database
  • Perform backup and disaster recovery
  • Work with inheritance, partitioning, and tablespaces
  • Manage free space
  • Secure PostgreSQL
  • Create high availability and high-performance solutions

Prerequisites

All PostgreSQL Administration training students should have experience with database administration on another platform (though we can tailor class to attendees without this experience on request). Trainees should also be comfortable with navigating within and editing files in a Linux environment. An understanding of SQL statements is also helpful.

Outline

Expand All | Collapse All

PostgreSQL Introduction & Architecture
  • Introduction and History
  • The rise of PostgreSQL Popularity
  • Getting support for PostgreSQL
  • The PostgreSQL community
  • Getting started with PostgreSQL
PostgreSQL Installation
  • Installation options: Binary vs. Source
  • Binary Installation
  • Source Installation
  • Discuss PostgreSQL distributions
  • Discuss cloud and hosted PostgreSQL
The PostgreSQL Cluster
  • High-level PostgreSQL architecture
  • Definition of a cluster
  • Common PostgreSQL executables
  • Initializing a PostgreSQL Cluster
  • Cluster configuration files
  • Starting and Stopping a PostgreSQL Cluster
Creating Databases and Users
  • Templates
  • Creating PostgreSQL Databases
  • Users, Groups, and Roles
  • PostgreSQL role inheritance
Security – Host-Based Authentication
  • The pg_hba.conf file
PostgreSQL Configuration
  • The postgresql.conf file
  • Making persistent configuration changes
Introduction to PSQL
  • Connecting the PSQL  client
  • PSQL  command line parameters
  • PSQL l meta Commands
  • PSQL  input and output
PostgreSQL Database Objects
  • PostgreSQL data type overview
  • Discussion of PostgreSQL schemas
  • Object names and search path
  • Creating, altering, and dropping tables
  • Creating and dropping views
  • Creating, refreshing, dropping materialized views
  • Notes on COMMIT
  • Notes on case sensitivity
Copying and Importing Data with PostgreSQL
  • PostgreSQL data import and export methods
  • COPY
  • Copy PSQL meta command
pgAdmin
  • Overview of basic pgAdmin features and utilities
  • Demonstration of pgAdmin dashboards
PostgreSQL Encryption
  • Discussion of encryption at rest
  • Discussion of encryption in transit
  • The future of PostgreSQL encryption
  • Basic SSL server setup and configuration
PostgreSQL Backup and Recovery
  • PostgreSQL logical backup
  • PostgreSQL physical backup
  • Using pg_dump
  • Using pg_dumpall
  • Recovery from logical backups
  • Using pg_restore
  • Performing an offline physical backup
  • Using pg_basebackup
  • Recovery from a physical backup
PostgreSQL Streaming Replication
  • Overview
  • Discussion of PostgreSQL replication options
  • Setup a hot-standby configuration
  • Monitoring
  • Replication slots
PostgreSQL Internals – System Catalogs and Cluster Settings
  • Overview of system catalogs
  • Overview of system views
  • Modifying cluster settings
Logging and Monitoring Tools
  • Logging SQL queries
  • System log configuration and management
  • Installing and using pg_stat_statements
  • PostgreSQL stats views
  • Query analysis with EXPLAIN
  • Visualizing EXPLAIN output
Upgrading PostgreSQL
  • Minor version upgrades
  • Major version upgrades
  • Discussion of data conversion
  • pg_upgrade
Logical Replication
  • Features of PostgreSQL native logical replication
  • Setup a logical replication configuration
Continuous Archiving and Point In Time Recovery (PITR)
  • Configuring PostgreSQL Point In Time Recovery
  • Recovering from a PITR backup
  • Recovering to a specific point in time
  • Discussion of popular backup utilities
Conclusion

Training Materials

All students receive comprehensive courseware delivered electronically on the first day of class.

Software Requirements

  • Operating system of your choice
  • An ssh terminal or client (such as PuTTY) for connection to lab servers provided by Accelebrate
  • Optional: pgAdmin 4
  • Sample databases and lab files that Accelebrate provides


Related Topics

Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan