Resource Control Admission - I have a date with my PSI | POSETTE: An Event for Postgres 2025
Video of a conference talk about Pressure Stall Information (PSI) in PostgreSQL. PSI has been present in Linux for numerous years, but even so, it's not well known in the world of PostgreSQL.
In this talk, we'll introduce PSI along with what it brings, how it works, and where it is used today (spoiler: Facebook did a lot in this area!).
Then, we will use the pg_psi extension to start "playing" with PSI and react to system events. To do this, we will define system triggers so we're notified when the server is slowing down. This gives us the chance to adjust the workload before it's too late or give more resources to background tasks like autovacuum when it's possible.
Cédric Villemain embarked on his PostgreSQL journey in 2004, exploring its myriad facets ever since. Cédric is the founder of Data Bene, previously 2ndQuadrant France, a global company dedicated to open source, PostgreSQL and its extensions.
► Video bookmarks:
⏩ 00:00 Introduction and agenda
⏩ 02:38 PostgreSQL processes categorized
⏩ 04:46 PostgreSQL resource requirements
⏩ 07:41 Pressure Stall Information (PSI)
⏩ 09:49 Observing pressure
⏩ 11:38 CPU avg vs loadavg
⏩ 13:26 PSI visualization (pseudo demo)
⏩ 15:56 Event notification
⏩ 17:28 Cgroup support
⏩ 19:00 Bringing PSI to PostgreSQL
⏩ 21:18 The future of PSI
⏩ 23:56 A “demo”
⏩ 25:31 Links & questions
Resources:
💡 Pg_psi Project - http://codeberg.org/Data-Bene/pg_psi
💡 Custom out-of-memory killers in pbf - http://lwn.net/Articles/1019230/
💡 Linux kernel doc about PSI - http://docs.kernel.org/accounting/psi.html
💡 Prometheus Exporter - https://github.com/cloudflare/psi_exporter
📕 Everything you need to know about POSETTE: An Event for Postgres 2025 can be found at: https://posetteconf.com
✅ Learn more:
Watch more POSETTE talks: https://aka.ms/posette-playlist
📌 Let’s connect:
LinkedIn - https://www.linkedin.com/company/posetteconf/
X – @PosetteConf, http
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Microsoft Developer · Microsoft Developer · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Microsoft Developer
What I Wish I Knew ... about landing a job in tech
Microsoft Developer
Igniting Developer Innovation with Vector Search
Microsoft Developer
Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Microsoft Developer
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
Fluent UI React Insights: Accessible by default
Microsoft Developer
Signing Container Images with Notary Project
Microsoft Developer
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
What programming languages does GitHub Copilot support?
Microsoft Developer
What I Wish I Knew ... about how much your job can change
Microsoft Developer
What I Wish I Knew ... about how much your job can change
Microsoft Developer
How do I become more confident about AI?
Microsoft Developer
How do I become more confident about AI?
Microsoft Developer
Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Microsoft Developer
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
Revolutionizing Image Search with Vectors
Microsoft Developer
Igniting developer innovation with Vector search and Azure OpenAI
Microsoft Developer
Getting Started with Azure AI Studio's Prompt Flow - Part 2
Microsoft Developer
What I Wish I Knew ... about finding my career path
Microsoft Developer
What I Wish I Knew ... about finding my career path
Microsoft Developer
Windows Terminal's journey to Open Source
Microsoft Developer
Can I trust the code that GitHub Copilot generates?
Microsoft Developer
What I Wish I Knew ... about interviewing
Microsoft Developer
What I Wish I Knew ... about interviewing
Microsoft Developer
What is the Microsoft TechSpark Program?
Microsoft Developer
SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
Microsoft Developer
What I Wish I Knew ... about discovering computer science
Microsoft Developer
What I Wish I Knew ... about discovering computer science
Microsoft Developer
Call center transcription and analysis using Azure AI
Microsoft Developer
How to use Text Analytics for health in Azure AI Language
Microsoft Developer
Azure OpenAI-powered summarization in Azure AI Language
Microsoft Developer
Accelerate data labeling using Azure OpenAI and Azure AI Language
Microsoft Developer
Building a Private ChatGPT with Azure OpenAI
Microsoft Developer
What I Wish I Knew ... about how to interview
Microsoft Developer
What I Wish I Knew ... about how to interview
Microsoft Developer
Getting Started with Azure AI Studio's Prompt Flow - Part 3
Microsoft Developer
Intelligent Apps with Azure Kubernetes Service (AKS)
Microsoft Developer
Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Microsoft Developer
Chat + Your Data + Plugins
Microsoft Developer
What I Wish I Knew ... about different career paths
Microsoft Developer
What I Wish I Knew ... about different career paths
Microsoft Developer
Advanced Dev Tunnels Features | OD122
Microsoft Developer
Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Microsoft Developer
Plan your SQL Migration to Azure with confidence | Data Exposed
Microsoft Developer
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
Microsoft Developer
Introduction to project ORAS
Microsoft Developer
What I Wish I Knew ... about finding the right major
Microsoft Developer
What I Wish I Knew ... about finding the right major
Microsoft Developer
What I Wish I Knew ... about how to approach programming
Microsoft Developer
What I Wish I Knew ... about how to approach programming
Microsoft Developer
Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Microsoft Developer
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Microsoft Developer
Writing LLM Apps with Azure AI and PromptFlow
Microsoft Developer
What I Wish I Knew ... about how cool working in tech could be
Microsoft Developer
Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Microsoft Developer
Related AI Lessons
⚡
⚡
⚡
⚡
AUROC vs PR-AUC Explained with Coffee Filters and Fraud Detection
Medium · Data Science
The leakage everyone keeps writing into their portfolio projects
Medium · Data Science
The leakage everyone keeps writing into their portfolio projects
Medium · Python
I’ve Reviewed Hundreds of Project Dashboards. Most of Them Are Theatre.
Medium · Data Science
🎓
Tutor Explanation
DeepCamp AI