PostgreSQL Replication

PostgreSQL Replication
Title PostgreSQL Replication PDF eBook
Author Hans-Jürgen Schönig
Publisher Packt Publishing Ltd
Pages 322
Release 2015-07-28
Genre Computers
ISBN 1783988541

Download PostgreSQL Replication Book in PDF, Epub and Kindle

PostgreSQL offers a comprehensive set of replication related features. Unleashing the power of PostgreSQL provides you with countless opportunities and a competitive advantage over other database systems. This book will guide you through the most important concepts of PostgreSQL replication. It contains all the information you need to design and operate replicated setups. Beginning by giving you an understanding of replication concepts, the PostgreSQL transaction log, and Point-in-time Recovery, we gradually move on to setting up asynchronous and synchronous replication. Next up, you will learn to monitor a PostgreSQL cluster setup, deal with monitoring tools, and then move on to understanding Linux High Availability. Further, we explore widely-used tools such as Slony, SkyTools, Postgres-XC, and walbouncer, and set up PL/Proxy. Finally, you'll get acquainted with the new technology of BDR, which allows bidirectional replication in PostgreSQL.

PostgreSQL Replication - Second Edition

PostgreSQL Replication - Second Edition
Title PostgreSQL Replication - Second Edition PDF eBook
Author Hans-Jurgen Schonig
Publisher
Pages 322
Release 2015-07-28
Genre Computers
ISBN 9781783550609

Download PostgreSQL Replication - Second Edition Book in PDF, Epub and Kindle

This book is ideal for PostgreSQL administrators who want to set up and understand replication. By the end of the book, you will be able to make your databases more robust and secure by getting to grips with PostgreSQL replication.

PostgreSQL High Availability Cookbook - Second Edition

PostgreSQL High Availability Cookbook - Second Edition
Title PostgreSQL High Availability Cookbook - Second Edition PDF eBook
Author Shaun M. Thomas
Publisher
Pages 472
Release 2017-01-31
Genre
ISBN 9781787125537

Download PostgreSQL High Availability Cookbook - Second Edition Book in PDF, Epub and Kindle

Over 100 recipes to design and implement a highly available server with the advanced features of PostgreSQL 9.4,9.5 and 9.6About This Book* Create a PostgreSQL cluster that stays online even when disaster strikes* Avoid costly downtime and data loss that can ruin your business* Updated to include the newest features introduced in PostgreSQL 9.6 with hands-on industry-driven recipesWho This Book Is ForIf you are a PostgreSQL DBA working on Linux systems who want a database that never gives up, this book is for you. If you've ever experienced a database outage, restored from a backup, spent hours trying to repair a malfunctioning cluster, or simply want to guarantee system stability, this book is definitely for you.What you will learn* Protect your data with PostgreSQL replication and management tools such as Slony, Bucardo, pglogical, and WAL-E* Hardware planning to help your database run efficiently* Prepare for catastrophes and prevent them before they happen* Reduce database resource contention with connection pooling using pgpool and PgBouncer* Automate monitoring and alerts to visualize cluster activity using Nagios and collected* Construct a robust software stack that can detect and fix outages* Learn simple PostgreSQL High Availability with Patroni, or dive into the full power of Pacemaker.In DetailDatabases are nothing without the data they store. In the event of a failure - catastrophic or otherwise - immediate recovery is essential. By carefully combining multiple servers, it's even possible to hide the fact a failure occurred at all.From hardware selection to software stacks and horizontal scalability, this book will help you build a versatile PostgreSQL cluster that will survive crashes, resist data corruption, and grow smoothly with customer demand. It all begins with hardware selection for the skeleton of an efficient PostgreSQL database cluster. Then it's on to preventing downtime as well as troubleshooting some real life problems that administrators commonly face. Next, we add database monitoring to the stack, using collectd, Nagios, and Graphite. And no stack is complete without replication using multiple internal and external tools, including the newly released pglogical extension. Pacemaker or Raft consensus tools are the final piece to grant the cluster the ability to heal itself. We even round off by tackling the complex problem of data scalability.This book exploits many new features introduced in PostgreSQL 9.6 to make the database more efficient and adaptive, and most importantly, keep it running.

PostgreSQL: Up and Running

PostgreSQL: Up and Running
Title PostgreSQL: Up and Running PDF eBook
Author Regina O. Obe
Publisher "O'Reilly Media, Inc."
Pages 167
Release 2012-07-06
Genre Computers
ISBN 1449326293

Download PostgreSQL: Up and Running Book in PDF, Epub and Kindle

Thinking of migrating to PostgreSQL? This updated guide helps you quickly understand and use the 9.3 release of this open source database system. You’ll not only learn about its unique enterprise-class features, but also discover that PostgeSQL is more than just a database system—it’s also an impressive application platform. Using numerous examples, this book shows you how to achieve tasks that are difficult or impossible in other databases. The second edition covers LATERAL queries, augmented JSON support, materialized views, and other key topics. If you’re an existing PostgreSQL user, you’ll pick up gems you may have missed along the way. Learn basic administration tasks, such as role management, database creation, backup, and restore Apply the psql command-line utility and the pgAdmin graphical administration tool Explore PostgreSQL tables, constraints, and indexes Learn powerful SQL constructs not generally found in other databases Use several different languages to write database functions Tune your queries to run as fast as your hardware will allow Query external and variegated data sources with Foreign Data Wrappers Learn how to replicate data, using built-in replication features

PostgreSQL High Availability Cookbook

PostgreSQL High Availability Cookbook
Title PostgreSQL High Availability Cookbook PDF eBook
Author Shaun M. Thomas
Publisher Packt Publishing Ltd
Pages 530
Release 2017-02-08
Genre Computers
ISBN 178712567X

Download PostgreSQL High Availability Cookbook Book in PDF, Epub and Kindle

Master over 100 recipes to design and implement a highly available server with the advanced features of PostgreSQL About This Book Create a PostgreSQL cluster that stays online even when disaster strikes Avoid costly downtime and data loss that can ruin your business Updated to include the newest features introduced in PostgreSQL 9.6 with hands-on industry-driven recipes Who This Book Is For If you are a PostgreSQL DBA working on Linux systems who want a database that never gives up, this book is for you. If you've ever experienced a database outage, restored from a backup, spent hours trying to repair a malfunctioning cluster, or simply want to guarantee system stability, this book is definitely for you. What You Will Learn Protect your data with PostgreSQL replication and management tools such as Slony, Bucardo, pglogical, and WAL-E Hardware planning to help your database run efficiently Prepare for catastrophes and prevent them before they happen Reduce database resource contention with connection pooling using pgpool and PgBouncer Automate monitoring and alerts to visualize cluster activity using Nagios and collected Construct a robust software stack that can detect and fix outages Learn simple PostgreSQL High Availability with Patroni, or dive into the full power of Pacemaker. In Detail Databases are nothing without the data they store. In the event of a failure - catastrophic or otherwise - immediate recovery is essential. By carefully combining multiple servers, it's even possible to hide the fact a failure occurred at all. From hardware selection to software stacks and horizontal scalability, this book will help you build a versatile PostgreSQL cluster that will survive crashes, resist data corruption, and grow smoothly with customer demand. It all begins with hardware selection for the skeleton of an efficient PostgreSQL database cluster. Then it's on to preventing downtime as well as troubleshooting some real life problems that administrators commonly face. Next, we add database monitoring to the stack, using collectd, Nagios, and Graphite. And no stack is complete without replication using multiple internal and external tools, including the newly released pglogical extension. Pacemaker or Raft consensus tools are the final piece to grant the cluster the ability to heal itself. We even round off by tackling the complex problem of data scalability. This book exploits many new features introduced in PostgreSQL 9.6 to make the database more efficient and adaptive, and most importantly, keep it running. Style and approach This book contains practical recipes that will help the reader solve real world problems related to high availability in PostgreSQL. Every recipe is explained in detail, with relevant explanations, tips and tricks provided for quicker and easier understanding.

Database Design and Modeling with PostgreSQL and MySQL

Database Design and Modeling with PostgreSQL and MySQL
Title Database Design and Modeling with PostgreSQL and MySQL PDF eBook
Author Alkin Tezuysal
Publisher Packt Publishing Ltd
Pages 222
Release 2024-07-26
Genre Computers
ISBN 1803240962

Download Database Design and Modeling with PostgreSQL and MySQL Book in PDF, Epub and Kindle

Become well-versed with database modeling and SQL optimization, and gain a deep understanding of transactional systems through practical examples and exercises Key Features Get to grips with fundamental-to-advanced database design and modeling concepts with PostgreSQL and MySQL Explore database integration with web apps, emerging trends, and real-world case studies Leverage practical examples and hands-on exercises to reinforce learning Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionDatabase Design and Modeling with PostgreSQL and MySQL will equip you with the knowledge and skills you need to architect, build, and optimize efficient databases using two of the most popular open-source platforms. As you progress through the chapters, you'll gain a deep understanding of data modeling, normalization, and query optimization, supported by hands-on exercises and real-world case studies that will reinforce your learning. You'll explore topics like concurrency control, backup and recovery strategies, and seamless integration with web and mobile applications. These advanced topics will empower you to tackle complex database challenges confidently and effectively. Additionally, you’ll explore emerging trends, such as NoSQL databases and cloud-based solutions, ensuring you're well-versed in the latest developments shaping the database landscape. By embracing these cutting-edge technologies, you'll be prepared to adapt and innovate in today's ever-evolving digital world. By the end of this book, you’ll be able to understand the technologies that exist to design a modern and scalable database for developing web applications using MySQL and PostgreSQL open-source databases.What you will learn Design a schema, create ERDs, and apply normalization techniques Gain knowledge of installing, configuring, and managing MySQL and PostgreSQL Explore topics such as denormalization, index optimization, transaction management, and concurrency control Scale databases with sharding, replication, and load balancing, as well as implement backup and recovery strategies Integrate databases with web apps, use SQL, and implement best practices Explore emerging trends, including NoSQL databases and cloud databases, while understanding the impact of AI and ML Who this book is for This book is for a wide range of professionals interested in expanding their knowledge and skills in database design and modeling with PostgreSQL and MySQL. This includes software developers, database administrators, data analysts, IT professionals, and students. While prior knowledge of MySQL and PostgreSQL is not necessary, some familiarity with at least one relational database management system (RDBMS) will help you get the most out of this book.

Learn PostgreSQL

Learn PostgreSQL
Title Learn PostgreSQL PDF eBook
Author Luca Ferrari
Publisher Packt Publishing Ltd
Pages 636
Release 2020-10-09
Genre Computers
ISBN 1838986898

Download Learn PostgreSQL Book in PDF, Epub and Kindle

A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications using Postgres 12 and 13 Key FeaturesSet up your database cluster and monitor, secure, and fine-tune it for optimal performanceLearn the fundamentals of database management and implement client- and server-side programming using SQL and PL/pgSQLExplore useful tips to develop efficient PostgreSQL database solutions from scratchBook Description PostgreSQL is one of the fastest-growing open source object-relational database management systems (DBMS) in the world. As well as being easy to use, it’s scalable and highly efficient. In this book, you’ll explore PostgreSQL 12 and 13 and learn how to build database solutions using it. Complete with hands-on tutorials, this guide will teach you how to achieve the right database design required for a reliable environment. You'll learn how to install and configure a PostgreSQL server and even manage users and connections. The book then progresses to key concepts of relational databases, before taking you through the Data Definition Language (DDL) and commonly used DDL commands. To build on your skills, you’ll understand how to interact with the live cluster, create database objects, and use tools to connect to the live cluster. You’ll then get to grips with creating tables, building indexes, and designing your database schema. Later, you'll explore the Data Manipulation Language (DML) and server-side programming capabilities of PostgreSQL using PL/pgSQL, before learning how to monitor, test, and troubleshoot your database application to ensure high-performance and reliability. By the end of this book, you'll be well-versed with the Postgres database and be able to set up your own PostgreSQL instance and use it to build robust solutions. What you will learnUnderstand how users and connections are managed by running a PostgreSQL instanceInteract with transaction boundaries using server-side programmingIdentify bottlenecks to maintain your database efficientlyCreate and manage extensions to add new functionalities to your clusterChoose the best index type for each situationUse online tools to set up a memory configuration that will suit most databasesExplore how Postgres can be used in multi-instance environments to provide high-availability, redundancy, and scalabilityWho this book is for This Postgres book is for anyone interested in learning about the PostgreSQL database from scratch. Anyone looking to build robust data warehousing applications and scale the database for high-availability and performance using the latest features of PostgreSQL will also find this book useful. Although prior knowledge of PostgreSQL is not required, familiarity with databases is expected.