PostgreSQL Replication

PostgreSQL Replication
Title PostgreSQL Replication PDF eBook
Author Hans-Jürgen Schönig
Publisher Packt Publishing Ltd
Total 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
Total 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
Total 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."
Total 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

Mastering PostgreSQL 11

Mastering PostgreSQL 11
Title Mastering PostgreSQL 11 PDF eBook
Author Hans-Jürgen Schönig
Publisher Packt Publishing Ltd
Total Pages 435
Release 2018-10-30
Genre Computers
ISBN 178953917X

Download Mastering PostgreSQL 11 Book in PDF, Epub and Kindle

Master the capabilities of PostgreSQL 11 to efficiently manage and maintain your database Key FeaturesMaster advanced concepts of PostgreSQL 11 with real-world datasets and examplesExplore query parallelism, data replication, and database performance while working with larger datasetsExtend the functionalities of your PostgreSQL instance to suit your organization’s needs with minimal effortBook Description This second edition of Mastering PostgreSQL 11 helps you build dynamic database solutions for enterprise applications using the latest release of PostgreSQL, which enables database analysts to design both the physical and technical aspects of the system architecture with ease. This book begins with an introduction to the newly released features in PostgreSQL 11 to help you build efficient and fault-tolerant PostgreSQL applications. You’ll examine all of the advanced aspects of PostgreSQL in detail, including logical replication, database clusters, performance tuning, monitoring, and user management. You will also work with the PostgreSQL optimizer, configuring PostgreSQL for high speed, and see how to move from Oracle to PostgreSQL. As you progress through the chapters, you will cover transactions, locking, indexes, and optimizing queries to improve performance. Additionally, you’ll learn to manage network security and explore backups and replications, while understanding the useful extensions of PostgreSQL so that you can optimize the speed and performance of large databases. By the end of this book, you will be able to use your database to its utmost capacity by implementing advanced administrative tasks with ease. What you will learnGet to grips with advanced PostgreSQL 11 features and SQL functionsMake use of the indexing features in PostgreSQL and fine-tune the performance of your queriesWork with stored procedures and manage backup and recoveryMaster replication and failover techniquesTroubleshoot your PostgreSQL instance for solutions to common and not-so-common problemsPerform database migration from MySQL and Oracle to PostgreSQL with easeWho this book is for This book is for data and database professionals wanting to implement advanced functionalities and master complex administrative tasks with PostgreSQL 11. Prior experience of database administration with PostgreSQL database will aid in understanding the concepts covered in this book.

Mastering PostgreSQL 10

Mastering PostgreSQL 10
Title Mastering PostgreSQL 10 PDF eBook
Author Hans-Jürgen Schönig
Publisher Packt Publishing Ltd
Total Pages 417
Release 2018-01-31
Genre Computers
ISBN 1788470532

Download Mastering PostgreSQL 10 Book in PDF, Epub and Kindle

Master the capabilities of PostgreSQL 10 to efficiently manage and maintain your database Key Features Your one-stop guide to mastering advanced concepts in PostgreSQL 10 with ease Master query optimization, replication, and high availability with PostgreSQL Extend the functionalities of your PostgreSQL instance to suit your organizational needs with minimal effort Book Description PostgreSQL is an open source database used for handling large datasets (big data) and as a JSON document database. This book highlights the newly introduced features in PostgreSQL 10, and shows you how you can build better PostgreSQL applications, and administer your PostgreSQL database more efficiently. We begin by explaining advanced database design concepts in PostgreSQL 10, along with indexing and query optimization. You will also see how to work with event triggers and perform concurrent transactions and table partitioning, along with exploring SQL and server tuning. We will walk you through implementing advanced administrative tasks such as server maintenance and monitoring, replication, recovery, high availability, and much more. You will understand common and not-so-common troubleshooting problems and how you can overcome them. By the end of this book, you will have an expert-level command of advanced database functionalities and will be able to implement advanced administrative tasks with PostgreSQL 10. What you will learn Get to grips with the advanced features of PostgreSQL 10 and handle advanced SQL Make use of the indexing features in PostgreSQL and fine-tune the performance of your queries Work with stored procedures and manage backup and recovery Master replication and failover techniques Troubleshoot your PostgreSQL instance for solutions to common and not-so-common problems Learn how to migrate your database from MySQL and Oracle to PostgreSQL without any hassle Who this book is for If you are a PostgreSQL data architect or an administrator and want to understand how to implement advanced functionalities and master complex administrative tasks with PostgreSQL 10, then this book is perfect for you. Prior experience of administrating a PostgreSQL database and a working knowledge of SQL are required to make the best use of this book.

Mastering PostgreSQL 12

Mastering PostgreSQL 12
Title Mastering PostgreSQL 12 PDF eBook
Author Hans-Jürgen Schönig
Publisher Packt Publishing Ltd
Total Pages 455
Release 2019-11-29
Genre Computers
ISBN 1838985271

Download Mastering PostgreSQL 12 Book in PDF, Epub and Kindle

Master PostgreSQL 12 features such as advanced indexing, high availability, monitoring, and much more to efficiently manage and maintain your database Key FeaturesGrasp advanced PostgreSQL 12 concepts with real-world examples and sample datasetsExplore query parallelism, data replication, database administration, and moreExtend PostgreSQL functionalities to suit your organization’s needs with minimal effortBook Description Thanks to its reliability, robustness, and high performance, PostgreSQL has become the most advanced open source database on the market. This third edition of Mastering PostgreSQL helps you build dynamic database solutions for enterprise applications using the latest release of PostgreSQL, which enables database analysts to design both physical and technical aspects of system architecture with ease. Starting with an introduction to the newly released features in PostgreSQL 12, this book will help you build efficient and fault-tolerant PostgreSQL applications. You’ll thoroughly examine the advanced features of PostgreSQL, including logical replication, database clusters, performance tuning, monitoring, and user management. You’ll also work with the PostgreSQL optimizer, configure PostgreSQL for high speed, and understand how to move from Oracle to PostgreSQL. As you progress through the chapters, you’ll cover transactions, locking, indexes, and how to optimize queries for improved performance. Additionally, you’ll learn how to manage network security and explore backups and replications while understanding useful PostgreSQL extensions to help you in optimizing 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 implementing advanced administrative tasks effortlessly. What you will learnUnderstand the advanced SQL functions in PostgreSQL 12Use indexing features in PostgreSQL to fine-tune the performance of queriesWork with stored procedures and manage backup and recoveryMaster replication and failover techniques to reduce data lossReplicate PostgreSQL database systems to create backups and to scale your databaseManage and improve the security of your server to protect your dataTroubleshoot your PostgreSQL instance for solutions to common and not-so-common problemsWho this book is for This book is for PostgreSQL developers and administrators and database professionals who want to implement advanced functionalities and master complex administrative tasks with PostgreSQL 12. Prior exposure to PostgreSQL as well as familiarity with the basics of database administration is expected.