Book Image

PostgreSQL 13 Cookbook

By : Vallarapu Naga Avinash Kumar
Book Image

PostgreSQL 13 Cookbook

By: Vallarapu Naga Avinash Kumar

Overview of this book

PostgreSQL has become the most advanced open source database on the market. This book follows a step-by-step approach, guiding you effectively in deploying PostgreSQL in production environments. The book starts with an introduction to PostgreSQL and its architecture. You’ll cover common and not-so-common challenges faced while designing and managing the database. Next, the book focuses on backup and recovery strategies to ensure your database is steady and achieves optimal performance. Throughout the book, you’ll address key challenges such as maintaining reliability, data integrity, a fault-tolerant environment, a robust feature set, extensibility, consistency, and authentication. Moving ahead, you’ll learn how to manage a PostgreSQL cluster and explore replication features for high availability. Later chapters will assist you in building a secure PostgreSQL server, along with covering recipes for encrypting data in motion and data at rest. Finally, you’ll not only discover how to tune your database for optimal performance but also understand ways to monitor and manage maintenance activities, before learning how to perform PostgreSQL upgrades during downtime. By the end of this book, you’ll be well-versed with the essential PostgreSQL 13 features to build enterprise relational databases.
Table of Contents (14 chapters)
12
About Packt
Upgrades and Patches

PostgreSQL is a database software that can be installed on various types of operating systems. The operating system and database software are further deployed on hardware such as a server, a virtual machine, or a user's computer.

There were days when PostgreSQL ran on old-school hard disks that were considered to be slow for random page fetches (index scans). Now, the assumption of an optimizer that index scans are costly may change if we are using SSDs for database servers. Additionally, an increase in the hardware capacity also gives a lot of room for new features and parallel processing in database software such as PostgreSQL. Any such modifications to the database software will be made available through new releases.

Over a period of time, upon the usage of several features that have been incorporated into a database software, users may discover new...