← All Trainings

PostgreSQL Fundamentals

A thorough introduction to PostgreSQL covering table management, views, server-side programming, client integration patterns (including ORM pitfalls), transactions, and SQL query performance analysis.

Duration: 2–3 daysLevel: Beginner to IntermediateLanguage: German / English

PostgreSQL is the world's most advanced open-source relational database. This training equips developers and data engineers with the knowledge to design robust schemas, write efficient queries, leverage PostgreSQL's powerful server-side programming features, and diagnose performance bottlenecks using EXPLAIN and EXPLAIN ANALYZE.

Who is this training for?

Developers, database engineers, and architects who work with PostgreSQL and want to go beyond simple SELECT queries to understand advanced data modelling, performance tuning, and server-side logic.

Agenda

Introduction

  • SQL overview and relational concepts
  • PostgreSQL architecture

Table Management

  • Primary key and unique constraints
  • Foreign keys and referential integrity
  • PostgreSQL data types: money, binary, enums, geometric types
  • Managing columns and constraints
  • Sequences and auto-increment
  • User-defined functions
  • Mathematical, string, and date/time functions
  • Type casting with CAST

Views

  • Simple and nested views
  • Subqueries
  • View permissions
  • Updatable views and data management through views
  • Materialized views and caching

Query Rewrite Rule System

  • Query tree internals
  • Defining and using rules
  • Qualified rules
  • Views and rules interaction

Client Programming

  • ORM usage and anti-patterns
  • The N+1 query problem
  • Writing raw SQL instead of ORM
  • Transactions and isolation levels
  • Savepoints

Server-Side Programming

  • PL/pgSQL and other procedural languages
  • Function parameters and return values
  • Control flow: branches, loops, and exceptions
  • Stored functions and SQL integration
  • Triggers and trigger functions

SQL Performance

  • Reading EXPLAIN output
  • EXPLAIN ANALYZE for runtime profiling
  • Common performance optimisation techniques

Book this Training

Interested in this training for your team? Reach out and we'll put together a proposal tailored to your requirements — on-site or remote, predefined agenda or custom.

Request this Training

Impressum

Capsimity GmbH

Büroanschrift: Adenauerallee 21, 1. OG 61440 Oberursel

Rechnungsanschrift und Firmensitz: Kurmainzer Str. 73 61440 Oberursel Deutschland

+49 (0)152 02981846
post@capsimity.com
https://capsimity.com

Geschäftsführer: Christoph Beberweil Amtsgericht: Bad Homburg HRB 16926 UmSt-Id gemäß §27a Umsatzsteuergesetz: DE455913626

Datenschutz

This page does not set any cookies. It uses Javascript only for gathering visitor statistics with plausible. The site is usable without Javascript. Visitors of this website are anonymous.

This site does not use any cookies or similar technologies.