We may earn an affiliate commission when you visit our partners.
Sadiq Basha

PostgreSQL is an advanced, enterprise class open source Object-Relational Database Management System (ORDBMS). Its is a relational database that supports both SQL (relational) and JSON (non-relational) querying.

Read more

PostgreSQL is an advanced, enterprise class open source Object-Relational Database Management System (ORDBMS). Its is a relational database that supports both SQL (relational) and JSON (non-relational) querying.

PostgreSQL possesses robust feature sets including Multi-Version Concurrency Control (MVCC), point in time recovery, granular access controls, tablespaces, asynchronous replication, nested transactions, online/hot backups, a refined query planner/optimizer, and write ahead logging. It supports international character sets, multi-byte character encodings, Unicode, and it is locale-aware for sorting, case-sensitivity, and formatting. PostgreSQL is highly scalable both in the quantity of data it can manage and in the number of concurrent users it can accommodate.

The course provides the learner with an extensive knowledge of PostgreSQL Database Administration with real time examples.

Topics covered are:

  • Introduction to Replication & It's Terminalogies

  • Master and Slave Configuration

  • Warm & Hot Standby

  • Types of Replication

  • Modes of Replication

  • Models of Replication

  • Log Based Shipping Standby Initial Setup

  • Log Based Shipping Standby on Windows and Linux

  • Log Based Shipping Standby Failover

  • Streaming Replication Setup

  • Monitoring Streaming Replication

  • Synchronous Streaming Replication

  • Configure Physical Replication Slots

  • Failover Streaming Replication

  • Repmgr – Replication Manager

  • Automatic Failover using Repmgr

  • Node Rejoin of Failed Primary

  • Add New Node and Standby Follow

  • Switch Over From Primary to Standby

  • Cascading Streaming Replication

  • Witness Server

  • Uninstall Replication Manager

  • Logical Replication Setup

  • Publication and Subscription

  • Logical Replication Slots

  • Add Table to Publication

  • Refresh Subscription

  • Cascading Logical Replication

  • Uninstall Publication and Subscription.

  • Tune PostgreSQL Server parameters

  • Shared Buffers

  • Work_Mem

  • Maintenance_Work_Mem

  • Postgresql V15 - New Features (Logical Replication)

  • Postgresql V16 - New Features

Enroll now

Here's a deal for you

We found an offer that may be relevant to this course.
Save money when you learn. All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.

What's inside

Learning objectives

  • Replication & it’s terminologies
  • Log based shipping standby
  • Streaming replication & fail over
  • Repmgr – replication manager
  • Automatic failover using repmgr
  • Node rejoin
  • Cascading streaming replication
  • Logical replication
  • Cascading logical replication
  • Tune postgresql server parameters
  • Postgresql v15 - new feature (logical replication)

Syllabus

Introduction
Introduction to PostgreSQL Replication
Master/Slave Configuration
Types of Replication
Read more

Exercise : Revert New Standby back as primary. Document Attached

Traffic lights

Read about what's good
what should give you pause
and possible dealbreakers
Covers replication, which is essential for high availability and disaster recovery in PostgreSQL environments, making it highly relevant for database administrators
Explores server parameter tuning, which is crucial for optimizing database performance and resource utilization, a key skill for database administrators
Discusses both Windows and Linux implementations, which broadens its applicability to administrators working in diverse environments
Examines logical replication, which is a more flexible approach to data replication than physical replication, and is useful for complex scenarios
Requires prior knowledge of PostgreSQL administration, so it is best suited for those with some experience already
Features content on PostgreSQL versions 15 and 16, so learners should be aware that features may not be applicable to older versions

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Reviews summary

In-depth postgresql replication & tuning

According to learners, this course provides practical, in-depth knowledge covering critical PostgreSQL topics like streaming replication, logical replication, and performance tuning parameters. Many students found the hands-on examples and practical demonstrations particularly valuable, making it a great learning experience. While the content is challenging and requires prerequisite knowledge, reviewers widely consider it a fantastic resource for anyone looking to master PostgreSQL administration beyond the basics, often citing the clear explanations and relevant, up-to-date information, including recent V15/V16 features.
Requires prior PostgreSQL experience.
"This is Part 2, so basic knowledge of PostgreSQL is needed."
"The course assumes you are already familiar with basic administration tasks."
"You should ideally take Part 1 or have equivalent experience."
Includes recent PostgreSQL features.
"The course covers new features from PostgreSQL V15 and V16, which is great."
"Relevant and up-to-date with current PostgreSQL versions."
"Appreciated the inclusion of recent logical replication features."
Explains important server tuning parameters.
"The tuning part was also very good."
"Covered important parameter tunings."
"The section on tuning server parameters was very useful for performance."
"I learned which parameters are critical for optimization."
"Practical advice on adjusting configuration files."
Content is high-quality and in-depth.
"The course content is very good and gives in-depth knowledge on PostrgreSQL database administration."
"It's a fantastic course for advanced topics."
"Content is very good and helps a lot in mastering PostgreSQL."
"Quality of the content provided is excellent."
"The explanations are thorough and easy to follow for complex topics."
"I feel confident in these topics after completing the course."
Includes practical examples and demos.
"very practical examples were there in course and I learn lot and very useful for day to day postgresql work."
"Great course with useful practical examples."
"The hands-on labs were extremely helpful in understanding the concepts."
"I appreciate the practical demonstrations of setting up replication."
"The demos for repmgr were particularly insightful."
"Lots of real-world examples helped solidify the theory."
Detailed coverage of replication types.
"The course covered streaming replication, logical replication, repmgr and a lot of parameter tunings"
"The replication types part was really good, including repmgr."
"Good explanation of replication and replication manager topics."
"Covered different replication types like streaming, logical and repmgr."
"I learned about different replication methods and how to implement them."
"The course explains replication methods very clearly."
"It provides practical steps for setting up streaming and logical replication."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in PostgreSQL Database Administration on Windows/Linux- Part 2 with these activities:
Review PostgreSQL Fundamentals
Reinforce your understanding of core PostgreSQL concepts before diving into replication and advanced administration topics.
Browse courses on Relational Databases
Show steps
  • Review basic SQL syntax and commands.
  • Study PostgreSQL architecture and components.
  • Practice creating and managing databases and tables.
Set up a Test Replication Environment
Gain hands-on experience by setting up a basic master-slave replication environment before the course begins.
Show steps
  • Install PostgreSQL on two virtual machines.
  • Configure the master server for replication.
  • Configure the slave server to replicate from the master.
  • Test the replication setup by inserting and updating data.
Follow Tutorials on Streaming Replication
Deepen your understanding of streaming replication by following online tutorials and guides.
Show steps
  • Find tutorials on setting up streaming replication.
  • Follow the steps in the tutorials to configure streaming replication.
  • Troubleshoot any issues encountered during the setup process.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Practice Failover Scenarios
Reinforce your understanding of failover procedures by simulating different failover scenarios.
Show steps
  • Simulate a master server failure.
  • Initiate the failover process to promote the slave server.
  • Verify that the slave server has taken over as the new master.
Document Replication Setup
Solidify your knowledge by documenting the steps involved in setting up different replication methods.
Show steps
  • Choose a replication method (e.g., streaming replication).
  • Document each step of the setup process in detail.
  • Include screenshots and diagrams to illustrate the steps.
Contribute to PostgreSQL Documentation
Deepen your understanding by contributing to the PostgreSQL documentation, focusing on replication topics.
Show steps
  • Identify areas in the documentation that need improvement.
  • Submit patches to address the identified issues.
  • Participate in discussions with other contributors.
Read 'PostgreSQL Administration Cookbook'
Expand your knowledge of PostgreSQL administration best practices by reading a comprehensive cookbook.
Show steps
  • Obtain a copy of the 'PostgreSQL Administration Cookbook'.
  • Read the chapters related to replication and high availability.
  • Experiment with the solutions provided in the book.

Career center

Learners who complete PostgreSQL Database Administration on Windows/Linux- Part 2 will develop knowledge and skills that may be useful to these careers:
Database Reliability Engineer
Database reliability engineers are responsible for ensuring the reliability, performance, and scalability of database systems. This role requires a deep understanding of database administration and maintenance. This course directly relates to a database reliability engineer, due to its practical training in PostgreSQL database administration, which includes setting up and managing replication, handling failovers, and tuning performance. The course's focus on real-time examples is particularly beneficial for engineers seeking tangible expertise.
Database Administrator
A database administrator is responsible for the performance, integrity, and security of a database. This individual configures, maintains, and troubleshoots database systems. This course directly benefits a database administrator, as it covers the administration of PostgreSQL, including replication, failover, and performance tuning. The course's focus on real-time examples in PostgreSQL database administration enhances the practical skills required for the role. The course will especially help those interested in the operational aspects of the database.
Database Engineer
Database engineers design, implement, and maintain database systems, often working on complex projects. This position requires a deep understanding of database technologies, including replication and performance optimization. This course directly aligns with the role of a database engineer because it provides practical knowledge of PostgreSQL, covering advanced topics such as logical and streaming replication, failover, and parameter tuning. The course will be especially useful to those working with PostgreSQL on various operating systems.
Systems Administrator
A systems administrator manages computer systems, including operating systems, applications, and databases, ensuring they are running efficiently. This role also maintains and updates database systems and this course can be extremely valuable. The course covers essential aspects of PostgreSQL administration, including replication, which is a key part of maintaining a robust and reliable system. The course material focusing on both Windows and Linux is relevant to system administrators working on a variety of platforms.
Cloud Database Engineer
A cloud database engineer specializes in managing databases within cloud environments and ensures high availability, scalability, and integration with other cloud services. This role benefits from advanced database knowledge including replication and failover. This course provides in-depth training in PostgreSQL database administration, including replication, which is essential for building and maintaining resilient cloud database architectures. This course’s content on logical and streaming replication, along with its focus on parameter tuning, helps those who implement PostgreSQL in a cloud setting.
Infrastructure Engineer
Infrastructure engineers design, build, and maintain the underlying technology infrastructure that supports business applications. This includes databases, servers, and networking components. This role benefits from a deep understanding of how to manage and maintain databases, including PostgreSQL. This course directly addresses some aspects of infrastructure engineering by teaching database replication, a critical component of maintaining systems. The course material on both Windows and Linux environments is also relevant to this role.
Database Support Analyst
A database support analyst provides technical assistance for database-related issues. This role requires a solid understanding of database systems and a proficiency in troubleshooting. This course directly aligns with the work of a database support analyst with its coverage of PostgreSQL administration, including replication and failover. The course's focus on practical skills will allow the support analyst to quickly debug and resolve various database administration problems. The course will also help them proactively maintain the database.
Data Architect
Data architects design the architecture of data systems and this role requires a broad understanding of database technologies, including their capabilities and limitations. This includes choosing the best architecture for data storage, retrieval, and processing. This course helps those who wish to design database solutions. The content of the course, which covers replication, failover, and performance tuning for PostgreSQL, will help guide data architects in making architectural decisions when PostgreSQL is chosen as the database system. The course provides detailed training suitable for this role.
Site Reliability Engineer
Site reliability engineers ensure that systems run smoothly and efficiently, focusing on availability, latency, and performance. This role requires an understanding of various technologies, including databases. This course that teaches database administration using PostgreSQL may be useful for those in this role. The course material includes topics such as replication, which are directly related to ensuring database reliability. Also, the parameter tuning component of the course contributes to ensuring site performance.
Data Engineer
Data engineers build and maintain the infrastructure required for data processing using a variety of tools, including databases. This role is involved in the design and implementation of data pipelines, as well as optimizing data storage and retrieval. This course provides targeted knowledge for a data engineer who wants to use or already has experience using PostgreSQL. The course covers specific topics such as replication, which are relevant to designing robust data pipelines. The course material on logical and streaming replication, combined with parameter tuning, may be helpful for this role.
Information Technology Specialist
An information technology specialist manages and maintains an organization's technology infrastructure. This may include working with various systems, including databases. This course may be helpful for an IT specialist who is expected to work with PostgreSQL. The course provides relevant training on database administration with this technology, covering essential aspects like replication and performance tuning. The course material is useful for IT specialists who manage systems in both Windows and Linux environments.
Solutions Architect
A solutions architect designs and oversees the implementation of technological solutions to meet business needs. This role requires a broad understanding of various technologies, including databases. This course may be useful for those specializing in PostgreSQL database solutions. The course provides knowledge of PostgreSQL administration, covering replication, failover, and performance tuning, which are vital for designing scalable and reliable solutions using PostgreSQL. The topics that provide knowledge of both logical and stream replication may be especially relevant.
Technical Consultant
A technical consultant advises organizations on how to best use technology to meet their business goals. This role requires a broad understanding of various systems, including database options. This course, given its focus on PostgreSQL database administration, may be useful to technical consultants working with PostgreSQL database systems. The course provides a solid foundation in replication, failover, and server tuning, equipping a consultant to advise clients on the optimal use of this particular technology. The course’s details on logical and streaming replication may be especially insightful.
DevOps Engineer
DevOps engineers focus on automating and streamlining the software development lifecycle, ensuring the smooth operation of applications and infrastructure. This role often involves working with databases. This course may be useful for DevOps engineers working with PostgreSQL. The course provides training on how to manage PostgreSQL, including how to set up replication and ensure database availability. The course’s focus on practical database administration of PostgreSQL is applicable to the day-to-day work of a DevOps engineer.
Backend Developer
Backend developers manage the server-side of applications, including database interactions. While backend developers don't typically manage databases directly, they benefit from an understanding of how databases function. This course may be helpful for backend developers that use PostgreSQL by providing knowledge that goes beyond basic database use. Learning replication and performance tuning, as covered in this course, helps understand database mechanisms, which in turn helps backend developers write more efficient and reliable code using PostgreSQL.

Reading list

We've selected one books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in PostgreSQL Database Administration on Windows/Linux- Part 2.
Provides practical solutions to common PostgreSQL administration tasks, including replication and high availability. It serves as a useful reference for troubleshooting and optimizing PostgreSQL deployments. The cookbook format allows for quick access to specific solutions. It valuable resource for both beginners and experienced PostgreSQL administrators.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser