Photo

Deep dive into the postgres index types

Jesús Espino

from Mattermost Inc. (Spain)

About speaker

Principal Engineer at Mattermost

Jesús Espino is an Open-Source and software development enthusiast. He loves writing code and contributing to Open-Source projects.

About speakers company

Mattermost is an Open Source communication platform similar to Slack, focused on security and stability.

Abstracts

specific

One of the critical parts of your SQL queries' performance is the index selection. If you are like most developers, you are probably using the default indexes on your databases, such as BTrees, which is usually a very safe option. But understanding the Index types, the internal representation, and why they are there can lead you to essential improvements in your query performance by changing or adding your indexes to get the better of them.

PostgreSQL supports multiple index formats. The most common one is the BTree, but there are also others like Hash, GiST, SP-GiST, GIN, and BRIN.

In this talk, we will explore each of them by explaining how the data is structured and how it helps to access the data quickly by showing an example of how the index is accessed by the queries.

After explaining the different indexes, I'll explain specific use cases where they are valuable and show some examples in a Postgres instance with data in it.

The Program Committee has not yet taken a decision on this talk

other talks of this topic

Photo
Three Flavors of Pokémon - Framework Agnostic UI Testing

Shelly Goldblit

Dell Technologies

broad
Photo
Go performance profiling in theory and practice

Alexey Palazhchenko

FerretDB Inc.

broad
Photo
Throw exceptions... out of your codebase

Guillaume Faas

Vonage

specific
Photo
An Efficient Git Workflow For High-Stakes Projects

Vladislav Shpilevoy

VirtualMinds

specific
Photo
UX at the centre of system development and design

Anesu Makwasha

Tose Technologies

specific
Photo
From Server to Serverless - A story of saving Cost

Yoav Nordmann

Tikal Knowledge

specific
Photo
Path to Golden Path

Daniel Drack

FullStackS GmbH

broad
Photo
Continuous Profiling on K8s - why, when and how

Ant(on) Weiss

PerfectScale

specific
Photo
Collaborative applications and how to make them fast

Bartosz Sypytkowski

appflowy.io

specific
Photo
Simple and stable UI tests with Ultron

Aleksei Tiurin

Exness

specific
Photo
Pros and Cons of Jetpack Compose Toolkit

Stevan Milovanovic

InterVenture

specific
Photo
C# 13 Unleashed: Live Demos of my Top 10 Cutting-Edge Features!

Ambesh Singh

Visionet Systems Deutschland

broad
Photo
Crafting the Ultimate Docker Image for Spring Applications

Pasha Finkelshteyn

BellSoft

specific
Photo
Become a Gen AI Bot Master in Just 50 Minutes – No Kidding!!

Ambesh Singh

Visionet Systems Deutschland

broad
Photo
Taking Shortcuts Beyond Your IDE

Annelore Egger

OpenValue Switzerland

broad
Photo
What the @#!? is Auth

Warren Parad

Authress

specific
Photo
Why You Ignore Best Practices and How You Can Fix It

Annelore Egger

OpenValue Switzerland

broad
Photo
Sculpting Data for Machine Learning: Generative AI edition

Rishabh Misra

Attentive Mobile Inc

broad
Photo
How Unit Testing Saved My Career

Annelore Egger

OpenValue Switzerland

broad
Photo
Workshop: Master Anti-Ban & Web Scraping Techniques (2h)

Fabien Vauchelles

Scrapoxy

specific
Photo
Algorithm Of Massively Parallel Networking In C++

Vladislav Shpilevoy

VirtualMinds

specific
Photo
From null to applications on Kubernetes

Roberth Strand

Sopra Steria

specific
Photo
You don't need to implement GraphQL

Sefi Ninio

Tikal Knowledge

specific
Photo
Putting the asm in Wasm: from bytecode to native

Edoardo Vacchi

Tetrate

specific
Photo
How we elevated tracking data accuracy from ~60% to ~80%

Alina Krasavina

Delivery hero

broad
Photo
JavaScript is weird. MythBusters special.

Małgorzata Janeczek

Sector Alarm Tech

broad