Customers who viewed this item also viewed
Buy New
-42%
$31.99$31.99
FREE delivery Tuesday, April 28 on orders shipped by Amazon over $35
Advertisement
Advertisement
Ships from: Amazon.com Sold by: Amazon.com
Used - Good
$25.83$25.83
FREE delivery Monday, April 27 on orders shipped by Amazon over $35
Advertisement
Advertisement
Ships from: Amazon Sold by: DCM Distribution
Return this item for free
We offer easy, convenient returns with at least one free return option: no shipping charges. All returns must comply with our returns policy.
Learn more about free returns.- Go to your orders and start the return
- Select your preferred free shipping option
- Drop off and leave!
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
PostgreSQL 16 Administration Cookbook: Solve real-world Database Administration challenges with 180+ practical recipes and best practices 1st Edition
Purchase options and add-ons
Written by a team of well-known PostgreSQL experts, this new edition will cover all the latest updates of PostgreSQL 16 including 12+ new and improved recipes on logging, monitoring, security and high-performance
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Skill-up as a database administrator by achieving improved query performance, backup, and recovery management, setting up replication and so on
- Get to grips with the essentials of database management with a recipe-based approach using the latest features of PostgreSQL 16
- New and updated recipes on crucial PostgreSQL topics like Monitoring, Logging, Scalability and so on
Book Description
PostgreSQL has seen a huge increase in its customer base in the past few years and is becoming one of the go-to solutions for anyone who has a database-specific challenge. This PostgreSQL book touches on all the fundamentals of Database Administration in a problem-solution format. It is intended to be the perfect desk reference guide.
This new edition focuses on recipes based on the new PostgreSQL 16 release. The additions include handling complex batch loading scenarios with the SQL MERGE statement, security improvements, running Postgres on Kubernetes or with TPA and Ansible, and more. This edition also focuses on certain performance gains, such as query optimization, and the acceleration of specific operations, such as sort. It will help you understand roles, ensuring high availability, concurrency, and replication. It also draws your attention to aspects like validating backups, recovery, monitoring, and scaling aspects. This book will act as a one-stop solution to all your real-world database administration challenges.
By the end of this book, you will be able to manage, monitor, and replicate your PostgreSQL 16 database for efficient administration and maintenance with the best practices from experts.
What you will learn
- Discover how to improve batch data loading with the SQL MERGE statement
- Use logical replication to apply large transactions in parallel
- Improve your back up and recovery performance with server-side compression
- Tackle basic to high-end and real-world PostgreSQL challenges with practical recipes
- Monitor and fine-tune your database with ease
- Learn to navigate the newly introduced features of PostgreSQL 16
- Efficiently secure your PostgreSQL database with new and updated features
Who this book is for
This Postgres book is for database administrators, data architects, database developers, and anyone with an interest in planning and running live production databases using PostgreSQL 16. Those looking for hands-on solutions to any problem associated with PostgreSQL 16 administration will also find this book useful. Some experience with handling PostgreSQL databases will help you to make the most out of this book, however, it is a useful resource even if you are just beginning your Postgres journey.
Table of Contents
- First Steps
- Exploring the Database
- Server Configuration
- Server Control
- Tables and Data
- Security
- Database Administration
- Monitoring and Diagnosis
- Regular Maintenance
- Performance and Concurrency
- Backup and Recovery
- Replication and Upgrades
- ISBN-101835460585
- ISBN-13978-1835460580
- Edition1st
- PublisherPackt Publishing
- Publication dateDecember 4, 2023
- LanguageEnglish
- Dimensions7.5 x 1.44 x 9.25 inches
- Print length636 pages
Frequently bought together

Deals on related products
Customers also bought or read
- Learn PostgreSQL: Use, manage, and build secure and scalable databases with PostgreSQL 16
Paperback$44.99$44.99FREE delivery Tue, Apr 28 - Mastering PostgreSQL 17: Elevate your database skills with advanced deployment, optimization, and security strategies
Paperback$44.20$44.20FREE delivery Tue, Apr 28 - PostgreSQL: Up and Running: A Practical Guide to the Advanced Open Source Database
Paperback$33.99$33.99$3.99 delivery May 7 - 12 - Mastering Go: Leverage Go's expertise for advanced utilities, empowering you to develop professional software
Paperback$41.90$41.90FREE delivery Apr 30 - May 1 - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter
Paperback$43.99$43.99FREE delivery Mon, Apr 27 - Practical SQL, 2nd Edition: A Beginner's Guide to Storytelling with Data
Paperback$21.49$21.49Delivery Mon, Apr 27 - PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries
Paperback$38.63$38.63FREE delivery Tue, Apr 28 - SQL for Data Analysis: Advanced Techniques for Transforming Data into Insights
Paperback$36.49$36.49FREE delivery Mon, Apr 27 - Apache Iceberg: The Definitive Guide: Data Lakehouse Functionality, Performance, and Scalability on the Data Lake
Paperback$44.94$44.94FREE delivery Mon, Apr 27 - Database Design for Mere Mortals: 25th Anniversary Edition#1 Best SellerMicrosoft SQL Server
Paperback$36.43$36.43FREE delivery Mon, Apr 27 - High Performance PostgreSQL for Rails: Reliable, Scalable, Maintainable Database Applications
Paperback$61.64$61.64FREE delivery Mon, Apr 27 - Fundamentals of Data Engineering: Plan and Build Robust Data Systems
Paperback$40.99$40.99FREE delivery Mon, Apr 27 - Mastering PostgreSQL 15: Advanced techniques to build and manage scalable, reliable, and fault-tolerant database applications
Paperback$61.99$61.99FREE delivery Tue, Apr 28 - MongoDB: The Definitive Guide: Powerful and Scalable Data Storage
Paperback$52.47$52.47FREE delivery Mon, Apr 27 - SQL Cookbook: Query Solutions and Techniques for All SQL Users
Paperback$41.99$41.99FREE delivery Mon, Apr 27 - PostgreSQL 17 QuickStart Pro: Add expertise around WAL processing, JSON table, IO performance, logical replication and index vacuuming
Paperback$33.99$33.99Delivery Tue, Apr 28 - Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems#1 Best SellerMySQL Guides
Paperback$59.99$59.99FREE delivery Mon, Apr 27 - Pandas for Everyone: Python Data Analysis (Addison-Wesley Data & Analytics Series)
Paperback$49.99$49.99FREE delivery Mon, Apr 27 - Systems Performance (Addison-Wesley Professional Computing Series)#1 Best SellerComputer Performance Optimization
Paperback$65.95$65.95FREE delivery Mon, Apr 27 - PostgreSQL 16 Cookbook, Second Edition: Solve challenges across scalability, performance optimization, essential commands, cloud provisioning, backup, and recovery
Paperback$33.99$33.99Delivery Tue, Apr 28 - Data Engineering with Databricks Cookbook: Build effective data and AI solutions using Apache Spark, Databricks, and Delta Lake
Paperback$35.99$35.99FREE delivery Tue, Apr 28 - Django 5 By Example: Build powerful and reliable Python web applications from scratch
Paperback$39.99$39.99FREE delivery Tue, Apr 28 - Database Internals: A Deep Dive into How Distributed Data Systems Work#1 Best SellerManagement Information Systems
Paperback$36.33$36.33FREE delivery Mon, Apr 27 - Hands-On MySQL Administration: Managing MySQL on Premises and in the Cloud
Paperback$47.20$47.20FREE delivery Mon, Apr 27 - Data Science from Scratch: First Principles with Python
Paperback$44.00$44.00FREE delivery Mon, Apr 27
From the Publisher
PostgreSQL 16 Administration Cookbook
Unlock the full potential of PostgreSQL 16 with this comprehensive guide. Written by renowned experts, this book covers everything from logging and monitoring to security and high-performance optimization. Packed with 180+ practical recipes and best practices, it's the ultimate resource for efficient database administration.
How does this book help you master PostgreSQL 16 administration?
This book is a go-to guide for all database admins, architects, and developers wanting to squeeze every drop of potential from PostgreSQL 16. Learn to manage and monitor your database like a pro. Tackle tricky stuff like batch loading with the SQL MERGE statement, and nail those backup and recovery strategies. Get the scoop on replication, query performance tweaks, and securing your database with the latest PostgreSQL 16 features. Plus, learn how to run Postgres on Kubernetes or with TPA and Ansible, and fine-tune for peak performance. Think of it as your guide to mastering database management and maintenance
What real-world application will you learn for building and managing a robust PostgreSQL database?
Optimizing High-Volume Transaction Processing
Want to speed up batch data loading? Learn how to use the SQL MERGE statement, to use logical replication for parallel transactions, and server-side compression for faster backups. Plus, we'll cover how to fine-tune queries for high-volume action.
Securing and Monitoring Critical Database Systems
Let's lock down your sensitive data with the latest PostgreSQL 16 security features. Master monitoring to catch bottlenecks before they become problems. We'll walk you through the new features for efficient database management and security, giving you real-world recipes for those tricky situations.
Deploying and Scaling PostgreSQL in Modern Environments
Ready to run PostgreSQL on Kubernetes or with TPA and Ansible? We've got you covered. Learn how to implement high availability and replication for seamless operation. Understand roles, concurrency, and scaling for smooth database development. Get expert tips for handling any challenge modern production environments throw your way. And learn about database migration practices.
Editorial Reviews
Review
“While reviewing a book I usually start by looking at my areas of strength. I often find errors that are egregious or just careless. For this book, I didn't find any errors beyond a few insignificant typos. This book is full of useful recipes that cover topics on most aspects of PostgreSQL administration, from installation to maintenance to troubleshooting. That's not surprising, as I know these authors to be fairly meticulous. Overall, this book is pretty solid, and I'm happy to recommend it.”
Andrew Dunstan
Major contributor, Core committer, PostgreSQL
“The PostgreSQL 16 Administration Cookbook is an indispensable guide for both novice and experienced PostgreSQL users. This book offers a goal-oriented perspective; you decide on a goal, and the book presents you with a list of requirements, and a step-by-step guide on how to achieve it. The chapter on replication and HA, authored by Simon Riggs, is particularly noteworthy. Simon was a pioneer in PostgreSQL replication features. This chapter can be recognized as a summary of his legacy.”
Edco Wallet
Cofounder/ Owner of OptimaData BV
About the Author
Gianni Ciolli is Vice President and Field CTO at EDB; he was Global Head of Professional Services at 2ndQuadrant until it was acquired by EDB. Gianni has been a PostgreSQL consultant, trainer, and speaker at many PostgreSQL conferences in Europe and abroad over more than 10 years. He has a PhD in Mathematics from the University of Florence. He has worked with free and Open-Source software since the 1990s and is active in the community. He lives between Frankfurt and London and plays the piano in his spare time
Boriss Mejias is a Senior Solutions Architect at EDB, building on his experience as PostgreSQL consultant and trainer at 2ndQuadrant. He has been working with open source software since the beginning of the century contributing to several projects both with code and community work. He has a PhD in Computer Science from the Université catholique de Louvain, and an Engineering degree from Universidad de Chile.Complementary to his role as Solutions Architect, he gives PostgreSQL training and is a regular speaker at PostgreSQL conferences. He loves spending time with his family and playing air guitar
Jimmy Angelakos is a Systems and Database Architect and recognized PostgreSQL expert. He studied Computer Science at the University of Aberdeen, has worked with Open-Source tools for 25+ years, is an active member of PostgreSQL Europe and occasional contributor to the PostgreSQL project. He also speaks frequently at database and Free & Open-Source Software conferences
Vibhor Kumar, Global VP at EDB, is a pioneering data tech leader. He manages a global team of engineers, optimizing clients' Postgres databases for peak performance and scalability. He advises Fortune 500 clients, including many Financial Institutes, in innovating and transforming their data platforms. His past experience spans IBM, BMC Software, and CMC Ltd. He holds a BSc in Computer Science from the University of Lucknow and a Master's from the Army Institute of Management. As a certified expert in numerous technologies, he often shares his insights on DevOps, cloud, and database optimization through blogging and speaking at events
Simon Riggs is a Major Developer of PostgreSQL since 2004. Formerly, Simon was the Founder and CEO of 2ndQuadrant, acquired by EDB in 2020. Simon has contributed widely to PostgreSQL, initiating new projects, contributing ideas, committing many important features as well and working directly with database architects and users on advanced solutions
Product details
- Publisher : Packt Publishing
- Publication date : December 4, 2023
- Edition : 1st
- Language : English
- Print length : 636 pages
- ISBN-10 : 1835460585
- ISBN-13 : 978-1835460580
- Item Weight : 2.37 pounds
- Dimensions : 7.5 x 1.44 x 9.25 inches
- Best Sellers Rank: #1,218,321 in Books (See Top 100 in Books)
- #166 in Data Warehousing (Books)
- #264 in Database Storage & Design
- Customer Reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Vibhor Kumar is a technology leader, author, and PostgreSQL expert with decades of experience helping enterprises build and scale secure, resilient platforms for mission-critical workloads across transactions, analytics, and AI. His expertise spans PostgreSQL, AI/ML, Oracle, DB2, and modern data platform architecture, with a focus on helping Fortune 500 organizations build unified platforms on open-source technologies. He has worked across industries including banking, financial services, insurance, and telecom, leading teams and strategic initiatives that bring together performance, high availability, governance, and operational discipline. He is a coauthor of the PostgreSQL 16 Administration Cookbook and AI Ready PostgreSQL 18, and a contributor to PostgreSQL. Vibhor believes that modern data platforms should be open, trusted, and built to serve both innovation and long-term reliability. Through his writing, he shares practical lessons from the field on enterprise modernization, PostgreSQL, and AI-ready architecture.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
Buena referencia para aprender PostgreSQL
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
-
Reviewed in the United States on October 28, 2025Format: PaperbackVerified PurchaseBastante útil el libro para alguien que desea aprender PostgreSQL.
5.0 out of 5 starsBastante útil el libro para alguien que desea aprender PostgreSQL.Buena referencia para aprender PostgreSQL
Reviewed in the United States on October 28, 2025
Images in this review
- Reviewed in the United States on August 15, 2025Format: KindleVerified PurchaseI have several books on postgresql. I have been coding java using jdbc long enough to solve any problem I need to if the problem is strictly a coding problem; however, as we all know often the problem will be authentication or access rights and sometimes it is hard to figure out whats wrong. I usually have to find the cause using try/catch and digging through log files. Have you ever wished you could find a book that would enable you to fix most admin problems or better yet avoid them altogether? Well, this is the book. Whether you are a coder like myself or a budding database administrator you need this book. It contains more knowledge on the administrative end of postgresql than all of my other books combined; wish I had found this one first.
- Reviewed in the United States on February 8, 2024Format: PaperbackThough the title of book is specific to PostgreSQL Administration Cookbook, there are certain topics like 'Security', 'Database Administration', 'Monitoring and Diagnosis', 'Performance and Concurrency' covered best practices which can be learnt and applied in any given database. As authors described this book is very much database administrator centric. Authors clearly outlined topics in a recipe style pattern (Getting Ready, How to do it, How it works) which is good approach in engaging readers and 'try-out' right away.
I consider this book as a sequel to Learn PostgreSQL book (by authors - Luca Ferrari, Enrico Pirozzi) for the individuals who want to be a well rounded data engineers.
Once again very much thankful to <packt> publishers for giving me such an opportunity to review both PostgreSQL book.
- Reviewed in the United States on November 9, 2024Format: PaperbackVerified PurchaseThis book adopts the recipe format: it states a problem, provides one or more solutions, and explains them. This format is useful for finding solutions quickly. The content is of high quality. Some prior experience with databases is required to get the most out of this book.
- Reviewed in the United States on January 10, 2024Format: PaperbackPostgreSQL16 Administration Cookbook, written by a collective of computer scientists and database engineers, Gianni Ciolli, Boriss Mejias, Jimmy Angelakos, Vibhor Kumar, and Simon Riggs. This book is a massive collective of material spanning twelve chapters which contain thorough "recipes" or 180+ instructional notes for configuring, administering and maintaining PostgreSQL. When we think of a cookbook, we typically imagine a collection of recipes with a description of the dish, required ingredients, preparation and cook time. The authors in this same vein, provides the database administrator with frequently most used tasks that a PostgreSQL or SQL database administrator performs such as server configuration, managing security and permissions, modifying and altering database table objects, schemas and views, monitoring database performance, setting up replication and many more topics. To get the most out of this book, it is best to download the full client and server packages on your laptop, VM or server. Most of these examples are listed in command line using psql; however, pgAdmin offers a GUI tool as an alternative.
If you have any knowledge of TSQL scripting using batch statements, the authors fully explain Atomicity and promote scripting over GUI.
If you have experience or some knowledge of SQL monitoring then Chapter 8 presents recommendations of external monitoring tools such as Prometheus, Munin and Grafana in addition to Postgres' own pgAdmin and pgBadger which can monitor log files from the pg_stat_activity table and generate error and exception charts in html. Chapter 12 dives into replication and High Availability(HA). One of the authors, Simon Riggs, is the actual engineer who developed most of the replication features of PostgreSQL and explains it carefully although offering no guarantee that it will be a seamless configuration for all users, all the time. Riggs carefully explains streaming replication (SR) using the physical transaction logs or write-ahead logs (WAL) which if you are familiar with log shipping, writes data to a remote node. Riggs also breaks down cascading relay replication from one master node to multiple nodes where a secondary node can also cascade data to tertiary nodes and beyond. Overall, there is a large amount of material that this book covers and it is best to create a sandbox environment to get the most out of it. This is a must-have resource.
- Reviewed in the United States on March 28, 2024Format: PaperbackIf you're diving into the world of PostgreSQL or seeking to refine your skills, "PostgreSQL Mistakes and How To Avoid Them" is an absolute gem! 🌟 This comprehensive guide doesn't just scratch the surface; it delves deep into the intricacies of database administration, offering practical solutions in a problem-solution format.
With the latest edition focusing on PostgreSQL 16, you'll be equipped with the most up-to-date strategies for tackling complex batch loading, enhancing security, and optimizing performance. This book covers everything from handling your first connection to mastering advanced concepts like concurrency and replication.
But what truly sets it apart is its conversational tone and real-world examples. It feels like you're chatting with a seasoned expert over coffee rather than slogging through dry technical jargon. And with over 600 pages packed with insights, code snippets, and helpful tips, it's like having a personal mentor guiding you every step of the way.
By the end, you'll not only have a solid grasp of PostgreSQL fundamentals but also a toolkit of best practices to navigate any real-world challenge. Whether you're a newbie or a seasoned pro, "PostgreSQL Mistakes and How To Avoid Them" is a must-have addition to your bookshelf!
Top reviews from other countries
Petre MaiereanReviewed in Canada on July 12, 20245.0 out of 5 stars Excellent
Format: KindleVerified PurchaseIt contains may instruction on using Postgres in prod and cloud.
Kindle CustomerReviewed in Brazil on March 10, 20265.0 out of 5 stars Postgresql 16 Administration Cookbook
Format: PaperbackVerified PurchaseGood topics and deep explanation
Mr. A. J. GouldReviewed in the United Kingdom on September 20, 20245.0 out of 5 stars Great book for a developer wanting to know how to set up Postgres
Format: KindleVerified PurchaseC++ dev with some knowledge of SQL. Wanted to know how to set up / admin /configure Postgres. This is a great book not just for solutions but also gives great overview into how things work. I.e. not just recipe following, although there certainly are plenty of recipies :)
GPReviewed in France on April 3, 20244.0 out of 5 stars good
Format: KindleVerified Purchasegood book, lots of recipes
Marc LinsterReviewed in Germany on December 6, 20235.0 out of 5 stars A must have book for anybody managing a Postgres database
Format: PaperbackVerified PurchaseGianni, Boriss, Jimmy, Vibhor and Simon created an updated version of their well known book. The PostgreSQL 11 cookbook held 175 recipes, the new version has over 180 recipes. Key new adds:
- Trusted Postgres Architect - a new way to automate the setup of Postgres clusters using Ansible
- CloudNativePG (CNPG) - the operator that automates management of Postgres clusters on Kubernetes
- Innovative strategies for managing large tables with partitioning.
- Connection pooling with pgBouncer, including techniques for running multiple PgBouncer instances on the same port.
- New recipes are provided focusing on the use of the MERGE command and Just-In-Time (JIT) compilation, enhancing database efficiency and performance.
- A comprehensive guidance on effectively utilizing JSON/JSONB data types and updated methodologies for implementing multi-tenancy in databases.
There are many more additions and enhancements that make this a must-have book for Postgres administrators. Its a notable enhancement over the PostgreSQL 11 cookbook, which I reviewed a few years ago as part of this blog "A Review of 4 Top PostgreSQL Books".















