How PostgreSQL Aggregates Work and How to Create and Use Custom Aggregates
Offered By: Confreaks via YouTube
Course Description
Overview
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
Related Courses
Web Application Development: The Data TierUniversity of New Mexico via Coursera Desarrollo de Aplicaciones Web: Nivel de Datos
University of New Mexico via Coursera Hacking PostgreSQL: Data Access Methods
Ural Federal University via edX Spatial Data Science and Applications
Yonsei University via Coursera RDBMS PostgreSQL
Indian Institute of Technology Bombay via Swayam