Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How PostgreSQL Aggregates Work and How to Create and Use Custom Aggregates

Confreaks via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore how PostgreSQL aggregates function internally and learn to create and utilize custom aggregates effectively in this conference talk from PGConf NYC 2021. Gain insights into transition, final, and combine functions, parallel aggregation, and aggregate de-duplication and optimization through visual explanations. Discover the power of custom aggregates and their implementation in various programming languages. Understand the design principles for efficient custom aggregates, including the two-step design pattern used in TimescaleDB hyperfunctions. Learn how to leverage these concepts to optimize your PostgreSQL applications and enhance database performance.

Syllabus

Introduction
Aggregates vs Functions
How aggregates work
State transition function
Complex aggregates
Parallelization
Create Aggregate Statement
SQL Aggregate Example
Two Step Aggregate Design
Two Step Aggregate Functions
Deduplication
Aggregate vs Accessor
Rollup
Questions

Taught by

Confreaks

Reviews

Start your review of How PostgreSQL Aggregates Work and How to Create and Use Custom Aggregates

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.