Fun with UUIDs - Chris Ellis
Автор: PostgreSQL Europe
Загружено: 2026-02-20
Просмотров: 9
Описание:
UUIDs have a bad reputation, mostly based on randomly allocated UUIDs effect on indexes. But UUIDs also give us 16 bytes of space to play with, which can be to our advantage. We can use the space of UUIDs to structure and encode data into our identifiers. This can be really useful for multi-tenant applications, for sharding or paritioning. UUIDs can also help improve you web app security, by not leaking sequentially allocated ids.
We'll take a look at index performance concerns with randomly allocated UUIDs, sequential ids and sensibly structured UUIDs.
Seeing how we can go about extracting information from these UUIDs and how to build these UUIDs inside PostgreSQL, and how we can look at the performance of these functions.
Finally looking at adding support for bitwise operations on UUIDs using an extension.
Chris is a computing and electronics geek, who loves working with Open Source software. He is a jack of all trades consultant usually spending his time engineering systems with PostgreSQL, Java and Linux. Now and then he gets time to design some electronics often involving ESP32s and Raspberry Pi CM4s.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: