Это видео недоступно.
Сожалеем об этом.
Are Multi-Column Indexes a good idea?
HTML-код
- Опубликовано: 4 авг 2024
- Indexing can greatly improve the performance of database queries over a large dataset. Postgres supports Indexing multiple columns, which can be more performant and space efficient, than multiple single-column Indexes. In this video, Jon Meyers demonstrates how to create a Multi-column Index and discusses some of the design considerations and tradeoffs that need to be made.
Managing Indexes in PostgreSQL: supabase.com/docs/guides/data...
00:00 An inefficient query
01:00 Improving performance by not over-fetching data
02:03 Single-column Indexes to reduce query time
04:21 An extremely inefficient query using an Index
06:08 Designing a Multi-column Index to satisfy multiple queries
07:22 The sequence of columns is important in Multi-Column Indexes
09:46 Which is more space efficient?
10:53 Maybe a single Covering Index would be better
💻 Videos to watch next:
▶ Make your queries 43,240x faster: • Make your queries 43,2...
▶ The FASTEST possible way to query data: • The FASTEST possible w...
▶ Learn Postgres (playlist): • Learn Postgres
👇 Learn more about Supabase 👇
🕸 Website: supabase.com/
🏁 Get started: app.supabase.com/
📄 Docs: supabase.com/docs
🔔 Subscribe for more tutorials and feature updates from Supabase: / @supabase
📱 Connect with Us:
🐙 Github: www.github.com/supabase
💬 Discord: www.discord.supabase.com/
🐦 Twitter: / supabase
▶ Instagram (follow for memes): / supabasecom
ABOUT SUPABASE:
Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.
Build in a weekend, scale to millions.
#Supabase #AppDevelopment #RealtimeApps #DeveloperTools