PostgreSQL Performance and Optimization
PostgreSQL Performance and Optimization
About the Bundle
This bundle is perfect for database engineers looking to master PostgreSQL, featuring "PostgreSQL 16 Cookbook, Second Edition," "PostgreSQL 17 QuickStart Pro," and "Mastering PostgreSQL 15." Covering PostgreSQL’s essential aspects, these books delve into cluster administration, database tuning, and partitioning strategies. With a focus on advanced performance techniques, you’ll be equipped to optimize PostgreSQL for complex applications, making this bundle indispensable for high-performance database management.
About the Books
PostgreSQL 17 QuickStart Pro
Add expertise around WAL processing, JSON table, IO performance, logical replication and index vacuuming
PostgreSQL 17 QuickStart Pro is the definitive hands-on, practical book for professionals at every level, from entry-level administrators to seasoned experts. It provides rapid learning and practical implementation of PostgreSQL 17, focusing on the latest features and best practices to effectively manage, configure, and optimize PostgreSQL databases—and it does so effectively.
The book begins by using the Titanic dataset to illustrate practical examples of upgrade strategies, post-upgrade validation, and database configuration. Next, it covers cluster administration, configuration settings, and performance tracking. You will master the management of permissions and roles through intricate role hierarchies, authentication methods, and security settings. Next, we'll optimize server performance, plan queries, and manage resources based on real performance data.
The next section dives deep into complicated data types, bulk data operations, advanced indexing methods, and the creation of triggers and functions, all with an emphasis on effective data management. Next, you will learn about table partitioning strategies, performing physical and logical backups, database restoration, and process automation using BART. We then move on to streaming replication, where we will configure, administer, and monitor replication to ensure optimal uptime. Finally, we will explore point-in-time recovery (PITR), which allows us to restore databases to specific points in time by replaying WAL logs. In short, this book will equip database administrators with the knowledge and skills to confidently handle PostgreSQL 17 databases.
Key Learnings
- Upgrade and configure PostgreSQL 17, including post-upgrade validation and configuration.
- Learn PostgreSQL architecture, memory models, and cluster management.
- Use hierarchical permissions, authentication, and security for advanced role management.
- Tune server performance with query planning, resource management, and configuration tuning.
- Effectively use PostgreSQL extensions, JSONB, and arrays.
- Optimize queries with GIN, GiST, and BRIN indexing.
- Master table partitioning for large dataset performance and scalability.
- Automate physical and logical backups and confidently restore databases.
- Manage PostgreSQL streaming replication for high availability and automatic failover.
- Restore data using WAL logs and Point-in-Time Recovery.
Table of Content
- Upgrading and Setting up PostgreSQL 17
- Expert Database Cluster Administration
- Advanced Database and Role Management
- Configuration and Performance Tuning
- Effective Data Management
- Table Partitioning Strategies
- Backup and Recovery Best Practices
- Streaming Replication and High Availability
- Point-in-Time Recovery
PostgreSQL 16 Cookbook, Second Edition
Solve challenges across scalability, performance optimization, essential commands, cloud provisioning, backup, and recovery
Offering a detailed practical look at PostgreSQL 16's new features, "PostgreSQL 16 Cookbook, Second Edition" equips database administrators and developers to take advantage of the most recent developments. This edition provides in-depth coverage of enhanced logical replication, which now includes the ability to replicate from standby servers. We provide detailed instructions for setting up these advanced replication configurations, allowing you to better distribute workloads and improve data availability. The optimization of concurrent bulk loading capabilities for faster data ingestion is another noteworthy addition. Another standout feature of PostgreSQL 16 is the expanded SQL/JSON syntax, which gives developers more control over JSON data management.
Additionally, the book teaches new monitoring capabilities introduced with the pg_stat_io view, which provide insights into I/O operations to help optimize performance. The book goes on to implement performance enhancements such as SIMD acceleration for processing ASCII and JSON strings, as well as the new load balancing feature, load_balance_hosts, which distributes traffic efficiently among multiple servers. The goal of this book is to provide you with the knowledge you need to successfully manage, optimize, and troubleshoot database environments by providing a deep-dive understanding of how to implement and benefit from PostgreSQL 16's latest features.
Key Learnings
- Boost data availability and workload distribution using advanced logical replication techniques.
- Apply the SIMD acceleration to expedite the processing of ASCII and JSON strings.
- Make use of improved SQL/JSON syntax to manage complicated JSON data operations.
- Utilize pg_stat_io for troubleshooting and monitoring I/O operations.
- Utilize Rust libraries like pgx and rust-postgres for easy integration with PostgreSQL.
- Distribute workload among numerous PostgreSQL instances by configuring load_balance_hosts.
- Simplify user role configurations and security with refined privilege management.
- Utilize pgBackRest and Barman to implement strong backup strategies
Table of Content
- Preparing PostgreSQL 16
- Performing Basic PostgreSQL Operations
- PostgreSQL Cloud Provisioning
- Database Migration to Cloud and PostgreSQL
- WAL, AutoVacuum & ArchiveLog
- Partitioning and Sharding Strategies
- Troubleshooting Replication, Scalability & High Availability
- Blob, JSON Query, CAST Operator & Connections
- Authentication, Audit & Encryption
- Implementing Database Backup Strategies
- Perform Database Recovery & Restoration
PostgreSQL 15 Cookbook
100+ expert solutions across scalability, performance optimization, essential commands, cloud provisioning, backup, and recovery
If you're a PostgreSQL database administrator looking for a comprehensive guide to managing your databases, look no further than the PostgreSQL 15 Cookbook. With 100 ready solutions to common database management challenges, this book provides a complete guide to administering and troubleshooting your databases using latest PostgreSQL 15.
Starting with cloud provisioning and migration, the book covers all aspects of database administration, including replication, transaction logs, partitioning, sharding, auditing, realtime monitoring, backup, recovery, and error debugging. Each solution is presented in a clear, easy-to-follow format, using a real database called 'adventureworks' to provide an on-job practicing experience.
Throughout the book, you'll learn how to use tools like pglogical, pgloader, WAL, repmgr, Patroni, HAProxy, PgBouncer, pgBackRest, pgAudit and Prometheus, gaining valuable experience and expertise in managing your databases. With its focus on practical solutions and real-world scenarios, the PostgreSQL 15 Cookbook is an essential resource for any PostgreSQL database administrator. Whether you're just starting out or you're a seasoned pro, this book has everything you need to keep your databases running smoothly and efficiently.
Key Learnings
- Streamline your PostgreSQL databases with cloud provisioning and migration techniques
- Optimize performance and scalability through effective replication, partitioning, and sharding
- Safeguard your databases with robust auditing, backup, and recovery strategies
- Monitor your databases in real-time with powerful tools like pgAudit, Prometheus, and Patroni
- Troubleshoot errors and debug your databases with expert techniques and best practices
- Boost your productivity and efficiency with advanced tools like pglogical, pgloader, and HAProxy.
Table of Content
- Getting PostgreSQL 15 Ready
- Performing Basic PostgreSQL Operations
- PostgreSQL Cloud Provisioning
- Database Migration to Cloud and PostgreSQL
- WAL, AutoVacuum & ArchiveLog
- Partitioning and Sharding Strategies
- Solving Replication, Scalability & High Availability
- Blob, JSON Query, CAST Operator & Connections
- Authentication, Audit & Encryption
- Implementing Database Backup Strategies
- Exploring Database Recovey & Restoration Methods
- Prometheus & Continuous Monitoring
- Debugging PostgreSQL
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them