Leanpub Header

Skip to main content

Database Engineers and Administrators Upgrade Kit

We build practical confidence across PostgreSQL and MySQL so our production databases stay fast, stable, and recoverable. We also upgrade our PostgreSQL skill set for modern performance and operations work across real workloads.

Bought separately

$89.97

Minimum price

$69.99

$84.99

You pay

$84.99

Author earns

$67.99
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.
These books have a total suggested price of $89.97. Get them now for only $69.99!
About

About

About the Bundle

This bundle is for DBAs and backend engineers who operate mixed estates and need strong operational muscle. We get hands-on recipes for PostgreSQL 16 challenges like scalability, backup, recovery, and performance tuning, strengthen practical MySQL 8 skills, then level up with PostgreSQL 17 topics like WAL, JSON table work, IO performance, and replication and vacuuming improvements.

Books

About the Books

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

  1. Preparing PostgreSQL 16
  2. Performing Basic PostgreSQL Operations
  3. PostgreSQL Cloud Provisioning
  4. Database Migration to Cloud and PostgreSQL
  5. WAL, AutoVacuum & ArchiveLog
  6. Partitioning and Sharding Strategies
  7. Troubleshooting Replication, Scalability & High Availability
  8. Blob, JSON Query, CAST Operator & Connections
  9. Authentication, Audit & Encryption
  10. Implementing Database Backup Strategies
  11. Perform Database Recovery & Restoration

MySQL 8 Cookbook

Ready solutions to achieve highest levels of enterprise database scalability, security, reliability, and uptime

For database developers, administrators, engineers, and backend developers, MySQL 8 Cookbook provides solution-focused recipes. This book takes a practical approach to solving real-world problems by showing readers how to increase database security, enhance performance, and fix common MySQL issues through the use of numerous examples.

You will learn how to install, configure, and tune MySQL for optimal performance in Linux environments. Important topics like backup strategies, security measures, query optimization, high availability, and replication are covered in each chapter. You will learn to partition and index datasets in a way that improves query performance, and the book provides step-by-step solutions to help them manage big datasets. With the help of this book, you can convert MySQL into a schema-less database that can manage unstructured data with ease, and it even handles modern data types like JSON. You can build fault-tolerant and scalable database systems including the implementation of multi-source replication, master-slave replication, and master-master replication.

Problems like table corruption, excessive CPU and memory usage, deadlocks, and replication lag are addressed in the troubleshooting sections. Also shown are methods for automating and monitoring database security using Linux tools, cron jobs, and MySQL's performance schema. Whether you're managing enterprise databases or developing backend applications, this book will teach you to improve your database management skills and ensure peak performance for systems that are critical to business.

Key Learnings

  • Discover the ins and outs of installing, configuring, and optimizing MySQL 8 for high-performance database systems.
  • Maximize database availability by implementing advanced replication setups, including master-master and multi-source.
  • Take advantage of partitioning and indexing techniques to efficiently manage massive datasets and improve query performance.
  • Use MySQL's relational and NoSQL features in combination to manage dynamic and schema-less data using JSON support.
  • Use cron jobs and Linux-native tools to automate backups, recovery, and security audits.
  • Find the cause of MySQL problems like table corruption, deadlocks, and replication lag and fix them.
  • Implement strong firewall settings, encryption, and user access control to protect your MySQL environment.
  • Use memory tuning and full-text search indexing to optimize MySQL performance and speed up queries.
  • Use MySQL's performance schema in conjunction with Linux tools to keep an eye on system performance and resource usage.

Table of Content

  1. Installing and Configuring MySQL 8
  2. Optimizing MySQL Architecture and Storage Engines
  3. Securing MySQL
  4. Optimizing Queries and Performance
  5. Configuring MySQL Replication
  6. Enhancing MySQL High Availability
  7. Automating MySQL Maintenance and Updates
  8. Advanced MySQL Troubleshooting and Debugging
  9. Monitoring and Tuning MySQL Performance

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

  1. Upgrading and Setting up PostgreSQL 17
  2. Expert Database Cluster Administration
  3. Advanced Database and Role Management
  4. Configuration and Performance Tuning
  5. Effective Data Management
  6. Table Partitioning Strategies
  7. Backup and Recovery Best Practices
  8. Streaming Replication and High Availability
  9. Point-in-Time Recovery

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 earned over $14 million writing, 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

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub