Thanks to its reliability, robustness, and high performance, PostgreSQL has become one of the most advanced open source databases on the market. This updated fourth edition will help you understand PostgreSQL administration and how to build dynamic database solutions for enterprise apps with the latest release of PostgreSQL, including designing both physical and technical aspects of the system architecture with ease.
Starting with an introduction to the new features in PostgreSQL 13, this book will guide you in building efficient and fault-tolerant PostgreSQL apps. You’ll explore advanced PostgreSQL features, such as logical replication, database clusters, performance tuning, advanced indexing, monitoring, and user management, to manage and maintain your database. You’ll then work with the PostgreSQL optimizer, configure PostgreSQL for high speed, and move from Oracle to PostgreSQL. The book also covers transactions, locking, and indexes, and shows you how to improve performance with query optimization. You’ll also focus on how to manage network security and work with backups and replication while exploring useful PostgreSQL extensions that optimize the performance of large databases.
By the end of this PostgreSQL book, you’ll be able to get the most out of your database by executing advanced administrative tasks.
What you will learn
Get well versed with advanced SQL functions in PostgreSQL 13
Get to grips with administrative tasks such as log file management and monitoring
Work with stored procedures and manage backup and recovery
Employ replication and failover techniques to reduce data loss
Perform database migration from Oracle to PostgreSQL with ease
Replicate PostgreSQL database systems to create backups and scale your database
Manage and improve server security to protect your data
Troubleshoot your PostgreSQL instance to find solutions to common and not-so-common problems
Who this book is for
This database administration book is for PostgreSQL developers and database administrators and professionals who want to implement advanced functionalities and master complex administrative tasks with PostgreSQL 13. Prior experience in PostgreSQL and familiarity with the basics of database administration will assist with understanding key concepts covered in the book.
Table of Contents Mastering PostgreSQL 13
PostgreSQL 13 Overview
Understanding Transactions and Locking
Making Use of Indexes
Handling Advanced SQL
Log Files and System Statistics
Optimizing Queries for Good Performance
Writing Stored Procedures
Managing PostgreSQL Security
Handling Backup and Recovery
Making Sense of Backups and Replication
Deciding on Useful Extensions
Migrating to PostgreSQL