Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Move embedded video to ToC (#26905)

Jon Meyersd376fee166c3
diff --git a/apps/docs/content/guides/database/postgres/indexes.mdx b/apps/docs/content/guides/database/postgres/indexes.mdx
index 4d10e7b9316..6a8c8dbc623 100644
--- a/apps/docs/content/guides/database/postgres/indexes.mdx
+++ b/apps/docs/content/guides/database/postgres/indexes.mdx
@@ -2,6 +2,7 @@
title: 'Managing Indexes in PostgreSQL'
description: 'Improve query performance using various index types in Postgres'
footerHelpType: 'postgres'
+tocVideo: 'bBu_V8CfWgM'
---
An index makes your Postgres queries faster. The index is like a "table of contents" for your data - a reference list which allows queries to quickly locate a row in a given table without needing to scan the entire table (which in large tables can take a long time).
@@ -10,17 +11,6 @@ Indexes can be structured in a few different ways. The type of index chosen depe
Even though indexes improve query performance, the Postgres query planner may not always make use of a given index when choosing which optimizations to make. Additionally indexes come with some overhead - additional writes and increased storage - so it's useful to understand how and when to use indexes, if at all.
-## Quick demo
-
-<div className="video-container">
- <iframe
- src="https://www.youtube-nocookie.com/embed/bBu_V8CfWgM"
- frameBorder="1"
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
- allowFullScreen
- ></iframe>
-</div>
-
## Create an index
Let's take an example table: