Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Developing Modern Database Applications with PostgreSQL
  • Table Of Contents Toc
  • Feedback & Rating feedback
Developing Modern Database Applications with PostgreSQL

Developing Modern Database Applications with PostgreSQL

By : Le, Diaz
3.8 (8)
close
close
Developing Modern Database Applications with PostgreSQL

Developing Modern Database Applications with PostgreSQL

3.8 (8)
By: Le, Diaz

Overview of this book

PostgreSQL is an open-source object-relational database management system (DBMS) that provides enterprise-level services, including high performance and scalability. This book is a collection of unique projects providing you with a wealth of information relating to administering, monitoring, and testing PostgreSQL. The focus of each project is on both the development and the administrative aspects of PostgreSQL. Starting by exploring development aspects such as database design and its implementation, you’ll then cover PostgreSQL administration by understanding PostgreSQL architecture, PostgreSQL performance, and high-availability clusters. Various PostgreSQL projects are explained through current technologies such as DevOps and cloud platforms using programming languages like Python and Node.js. Later, you’ll get to grips with the well-known database API tool, PostgREST, before learning how to use popular PostgreSQL database testing frameworks. The book is also packed with essential tips and tricks and common patterns for working seamlessly in a production environment. All the chapters will be explained with the help of a real-world case study on a small banking application for managing ATM locations in a city. By the end of this DBMS book, you’ll be proficient in building reliable database solutions as per your organization's needs.
Table of Contents (17 chapters)
close
close
1
Section 1 - Introducing PostgreSQL Development and Administration
3
Section 2 - Development in PostgreSQL
9
Section 3 - Administration in PostgreSQL

Setting up streaming replication on PostgreSQL

As we saw in the introduction to this chapter, streaming replication is commonly used as the basis for a high availability architecture because we have our instance that is replicated in one or more servers.

PostgreSQL has two types of replication: synchronous and asynchronous. In synchronous replication, a COMMIT is only valid if it was confirmed by all the PostgreSQL servers used, which guarantees that the data will never be lost.
In asynchronous replication, data can arrive at the standby server AFTER the transaction has been committed on the master server. In many cases, this is fully accepted because asynchronous replication promises little overhead and does not impact the performance of the primary server, which is why asynchronous replication is the standard method of replication and will be developed further throughout this topic.

In the previous chapter, we created our first Ubuntu server with PostgreSQL and this will function as...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Developing Modern Database Applications with PostgreSQL
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon