Introduction to PostgreSQL for Developers and Administrators

128 Ratings

Course Number: PSQL-100
Duration: 5 days (32.5 hours)
Format: Live, hands-on

PostgreSQL Training Overview

Accelebrate's Introduction to PostgreSQL for Developers and Administrators training teaches attendees how to build, query, program stored procedures in PL/pgSQL, and administer the popular, open source PostgreSQL database platform.

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

  • Find PostgreSQL documentation and resources
  • Work with PostgreSQL functions
  • Create your own functions
  • Program with PL/pgSQL
  • Install and setup PostgreSQL securely
  • Work with basic administration tasks such as user creation, cataloging, and backing up
  • Use Advanced replication mechanisms and implement Connection Pooling
  • Work with inheritance in PostgreSQL
  • Partition tables
  • Use Tablespaces
  • Monitor the database
  • Use the EXPLAIN Statement
  • Use PITR
  • Tune the PostgreSQL Server
  • Get a detailed understanding of MVCC and Autovacuum in PostgreSQL

Prerequisites

All PostgreSQL training students must have a solid understanding of basic relational database principles and SQL SELECT statements prior to this training.

Outline

Expand All | Collapse All

Introduction and Architecture
  • History and Overview
  • PostgreSQL Major Features
  • PostgreSQL Limits
  • PostgreSQL Architecture
  • MVCC
  • Write Ahead Logs
  • The Background Writer
  • PostgreSQL Data Types
Installation
  • Overview
  • Binary Installation
  • Source Installation
  • Initializing a PostgreSQL cluster
  • Starting and stopping a PostgreSQL cluster
  • Automatic startup/shutdown
Configuration
  • Access Control
  • Connection settings
  • Security and Authentication settings
  • Memory settings
  • Kernel resource settings
  • Log management
  • Background writer settings
  • Vacuum cost settings
  • Autovacuum settings
Intro to psql
  • Command line parameters
  • Meta commands
  • Security
Managing PostgreSQL Databases
  • PostgreSQL Clusters
  • PostgreSQL Databases
  • Tables, Joins and Aggregates
  • PostgreSQL Indexes and Foreign Keys
Roles and Security
  • Schemas
  • Tables, Views and Rules
  • Users, Groups and Roles
  • Tables and Sequences
  • Object Security
Tablespaces, Partitioning, and Advanced Features
  • Vacuum
  • Tablespaces
  • Inheritance
  • Table Partitioning
  • Windowing Functions
  • Transactions
  • Concurrency Control
  • Functions and Operators
  • Type conversion
  • Full text search
Moving Data with PostgreSQL
  • Basic DML
  • COPY
  • Other Tools
Routine DBA Tasks and Best Practices
  • Log Management
  • Query analysis
  • Routine Vacuuming
  • Recovering disk space
  • Managing Planner statistics
  • REINDEX
Monitoring and Statistics
  • Database Logs
  • OS Process monitoring
  • The PostgreSQL Statistics Collector
  • Statistics Views
  • Statistics Functions
Performance Tuning
  • OS Tuning
  • Hardware configuration
  • Transaction logs
  • Tablespaces and Partitioning
  • Checkpoint tuning
  • Query tuning
Backup and Recovery
  • The pg_dump utility
  • The pg_dumpall utility
  • Restore using pg_restore and psql
  • The pg_basebackup utility
  • Restoring a physical backup.
  • Point In Time Recovery
PostgreSQL Upgrades
  • Major Version Upgrades
    • Using pg_upgrade
    • Using logical backup/restore
    • Using logical backup/restore
  • Minor Version Upgrades
    • Upgrading PostgreSQL packages
    • Source based upgrades
  • Rolling back
Replication and HA
  • Streaming Replication
  • Synchronous Replication
  • Replication Slots
  • Failover management
  • Connection Poolers
  • HA configurations
  • Cascaded Streaming Replication
  • Logical Replication
Triggers
  • Overview
  • Triggers
Event Triggers
  • Overview
  • Event Triggers
RULEs
  • Overview
  • SELECT Views
  • Updating a View
  • Materialized Views
  • Rules and privileges
The PL/pgSQL Language
  • Structure
  • Declarations
  • Expressions
  • Statements
  • Control Structures
  • Cursors
  • Errors and Messages
  • Trigger Procedures
Other Procedural Languages
  • PL/Perl
  • PL/Python
  • More...
PostgreSQL Contribs
  • Overview of additionally supplied modules
Conclusion

Training Materials

All students receive comprehensive courseware.

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