logo
episode-header-image
Mar 2022
23m 39s

Understanding Aggregate Functions Perfor...

Hussein Nasser
About this episode

Aggregate functions like Count, max, min, avg performance really depends on how did you tune your database for that kind of workload. Let us discuss this.

0:00 Intro

1:22 SELECT COUNT(*)

4:30 SELECT AVG(A)

5:15 SELECT MAX(A)

8:00 Best case scenario

11:30 Clustering

14:00 Clustering Sequential Writes

17:19 Clustering Random Writes

20:30 Summary

Up next
Sep 18
SQL was a mistake
I like SQL but the standard should have included ways to hint instead of the abstraction of "let me do it for you" 
12m 27s
Sep 11
Caching is a cop-out
In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out 
15m 41s
Aug 23
How open ai agents "hacked" hugging face
How open ai agents "hacked" hugging face 
17m 57s
Recommended Episodes
Dec 2024
The Art of Database Selection and Evolution
Summary In this episode of the Data Engineering Podcast Sam Kleinman talks about the pivotal role of databases in software engineering. Sam shares his journey into the world of data and discusses the complexities of database selection, highlighting the trade-offs between differen ... Show More
59m 56s
May 2024
Erik Darling and Kendra Little Rate SQL Server Perf Tuning Techniques
Erik Darling joins Kendra Little to rate different SQL Server Performance Tuning Techniques in episode 81 of the Dear SQL DBA podcast. We share our opinions of... (deep breath)   Recompile hints, Query Store hints and plan forcing, CTEs, Resource Governor, the legacy cardinality ... Show More
1h 4m
Dec 2024
Customizing a Graph Solution
<p>In this episode, Dave Bechberger, principal Graph Architect at AWS and author of "Graph Databases in Action", brings deep insights into the field of graph databases and their applications.</p> <p><br /> Together we delve into specific scenarios in which Graph Databases provide ... Show More
38m 7s
Aug 2024
Metrics Driven Development
How do you systematically measure, optimize, and improve the performance of LLM applications (like those powered by RAG or tool use)? Ragas is an open source effort that has been trying to answer this question comprehensively, and they are promoting a “Metrics Driven Development” ... Show More
42m 12s
Feb 2013
118: Math and Estimation Case Guidelines
In this podcast we examine the performance of our clients to isolate best practices you can use in your own math calculations in cases. The best practices focus heavily on the types of math calculations where the candidate must structure an analyses approach, estimation cases, an ... Show More
5m 51s
Aug 2020
Episode 109 - Quick pour - Web Performance
Web performance continues to be an input factor to prioritize when building web applications. In this episode, we speak with Google engineers, Kristofer Baxtor, and Jason Miller about the latest best practices in web performance. Guests: Kristofer Baxter - @kristoferbaxter Jason ... Show More
1h 7m
Jun 2025
Networks and Complexity
In this episode, Kyle does an overview of the intersection of graph theory and computational complexity theory. In complexity theory, we are about the runtime of an algorithm based on its input size. For many graph problems, the interesting questions we want to ask take longer an ... Show More
17m 49s
Mar 2023
AI Today Podcast: AI Glossary Series – Ensemble Models
Sometimes for reasons such as improving performance or robustness it makes sense to combine the results of multiple different models trained on the same data. In this episode of the AI Today podcast hosts Kathleen Walch and Ron Schmelzer define the term Ensemble Models, and expla ... Show More
7m 51s