Skip to main content
  • Hoopla logo
  • Browse
  • My Hoopla
  • Log In
Books, videos, and music - all free from your public library!
LoginSign Up

Footer

Hoopla logo, Go to homepage
  • For Patrons
  • For Libraries (opens in new window)
  • For Vendors (opens in new window)
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)

Our Company

  • Our Story
  • Get Hoopla for your Library (opens in new window)
  • Get your content on hoopla (opens in new window)
  • Join our team (opens in new window)
  • Accessibility Statement

Our Content

  • Audiobooks
  • Ebooks
  • Movies
  • Television
  • Comics
  • BingePasses
  • Music
  • The Loop Blog

Help

  • Help Center
  • Submit Feedback
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)
  • Download on the App Store (opens in new window)
  • Get it on Google Play (opens in new window)
  • Available at Amazon Appstore (opens in new window)
© 2026 Midwest Tape, LLC. All rights reserved. Privacy Policy | Terms of Use
  1. Navigate Home
  2. Ebooks
  3. PostgreSQL 18 Cookbook

EBOOK

PostgreSQL 18 Cookbook

Upgrade to PostgreSQL 18 with ready troubleshooting across replication, partitioning, security, clou

Peter G.
(0)
sign up
Year
2026
Language
English
Publisher
GitforGits

About

This thoroughly revised 3rd edition troubleshoots through real failure modes, diagnostic techniques, and remediation patterns drawn from years of operating PostgreSQL at scale. In this cookbook, you install PostgreSQL 18, create and design schemas, configure clusters to automatically switch over in case something goes wrong, keep your connections secure using OAuth 2.0, and perform PITR to get your data back exactly how you left it. All the recipes work with a single growing sample database, so each one is clearly connected to the next one, just like how production systems actually develop.

This edition gives you all the tips and tricks of the latest PostgreSQL 18 features, like asynchronous I/O with io_uring, virtual generated columns, temporal constraints, time-ordered UUIDv7() identifiers, OLD and NEW values in RETURNING clauses, logical replication slot synchronization for failover, native OAuth authentication, parallel pg_upgrade with statistics preservation, eager vacuum freezing, and B-tree skip scan lookups.You'll find concrete, tested solutions for things like troubleshooting replication lag, recovering corrupted tables, debugging autovacuum bottlenecks, or migrating away from MD5 authentication. And you'll have the operational confidence to apply them under pressure.
Key Learnings
• Install, configure, and tune PostgreSQL 18 across binary and source code paths
• Diagnose startup failures, replication lag, and autovacuum bottlenecks using built-in views
• Apply new asynchronous I/O subsystem to accelerate scans and vacuum
• Design temporal constraints and virtual generated columns for modern data models
• Configure logical replication slot sync for transparent publisher failover
• Implement OAuth 2.0 authentication and migrate away from deprecated MD5 passwords
• Execute 'pg_upgrade' with statistics preservation and parallel compatibility checks
• Build partitioned, sharded schemas using declarative partitioning and Citus
• Perform point-in-time recovery and selective table or schema restoration confidently
Table of Content
Preparing PostgreSQL 18
Performing Basic PostgreSQL Operations
PostgreSQL Cloud Provisioning
Database Migration to Cloud and PostgreSQL
WAL, I/O, AutoVacuum and ArchiveLog
Partitioning and Sharding Strategies
Replication, Scalability and High Availability
Blob, JSON Query, RETURNING Clause and Connections
Authentication, Audit and Encryption
Implementing Database Backup Strategies

Related Subjects

  • Database Administration & Management
  • Computers
  • Adult Nonfiction
  • Data Modeling & Design
  • Data Science
  • Data Warehousing

Extended Details

  • EditionThird Edition

    Artists

    Peter G.Author