From cccbee86283610d1d85137cd7d9d08ea4e8fca1c Mon Sep 17 00:00:00 2001 From: Ant Wilson Date: Fri, 3 Mar 2023 18:38:10 +0800 Subject: [PATCH] Update apps/docs/pages/guides/database/postgres/indexes.mdx Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com> --- apps/docs/pages/guides/database/postgres/indexes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/guides/database/postgres/indexes.mdx b/apps/docs/pages/guides/database/postgres/indexes.mdx index 990d26fc3ec..2a5954a033a 100644 --- a/apps/docs/pages/guides/database/postgres/indexes.mdx +++ b/apps/docs/pages/guides/database/postgres/indexes.mdx @@ -6,7 +6,7 @@ export const meta = { footerHelpType: 'postgres', } -An index in Postgres is a kind of reference list (analogous to a table of contents or glossary section in a book) 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. +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). Indexes can be structured in a few different ways. The type of index chosen often depends on the values you are indexing. By far the most common index type, and the default in Postgres, is the B-Tree. A B-Tree is the generalized form of a binary search tree, where nodes can have more than two children.