Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
PostgreSQL Partitioning. Before 2GB frontier
Rating: 3.6 out of 5(4 ratings)
36 students

PostgreSQL Partitioning. Before 2GB frontier

From the query performance, availability and maintainability to the partitioning
Created byMikhail Diakov
Last updated 3/2024
English

What you'll learn

  • Foundations of table partitioning in PostgreSQL
  • Declarative and inheritance partitioning in PostgreSQL
  • Why and when use different types of the partitioning
  • Skills to analyze conditions for the partitioning introduction

Course content

5 sections24 lectures2h 17m total length
  • Introduction3:15

    Explore PostgreSQL partitioning and its benefits for developers, DevOps, and site reliability engineers, plus how to implement horizontal partitioning and measure its impact on performance and availability.

  • What is partitioning5:27

    Partitioning splits a large table into smaller partitions with identical structures. Each partition can have its own storage via tablespaces, plus its own indexes and constraints, improving performance.

  • Prepare demo database1:06
  • Partitioning definition

Requirements

  • Basic knowledge of PostgreSQL
  • Docker installed on local machine
  • Basic knowledge of SQL language (SELECT, INSERT, DELETE, UPDATE statements)

Description

The partitioning is one of the important PostgreSQL features which may help you not only improve the performance of your application but also make your life easier as a software developer or database administrator.


One of the reason why I created this course is to understand how right the popular statement that the partitioning make sense for tables which size is greater than 2GB.  Also in the Internet it's possible to find many statements saying that the partitioning improves the maintainability and availability but what it means in practice. What exactly from the maintainability and availability point of view can be improved by using the partitioning.


Another reason is in my practice it happened pretty often that the developers were experiencing issues with understanding when the partitioning has to be introduced. So I hope this course will help you to recognize the need in the partitioning in your projects.


In this course we will look how we can analyze the query performance to understand we will get the benefits from the  partitioning.  Also I will show what particular advantages the partition may provide from availability and maintainability point of view. Also we will discuss different approaches for the partitioning among PostgreSQL versions and different types of the partitioning.


There are practical lessons where you find the step by step instructions for the performance analysis and partitioning implementation.

Who this course is for:

  • Software developers
  • Database administrators
  • Web developers
  • Site reliability engineer