Исходный код вики PostgreSQL. Индексы
Версия 1.11 от Alexandr Fokin на 2025/04/09 11:22
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | | |11.2. Index Types | ||
2 | [[https:~~/~~/www.postgresql.org/docs/current/indexes-types.html>>https://www.postgresql.org/docs/current/indexes-types.html]] | ||
3 | [[https:~~/~~/postgrespro.ru/docs/postgresql/15/indexes-types>>https://postgrespro.ru/docs/postgresql/15/indexes-types]] | ||
4 | | |[[Индексы>>doc:Разработка.Базы данных.Механизмы.Индексы.WebHome]] | ||
5 | | |((( | ||
6 | |(% style="width:105px" %)BTree|(% style="width:509px" %) |(% style="width:866px" %) | ||
7 | |(% style="width:105px" %)Hash|(% style="width:509px" %) |(% style="width:866px" %) | ||
8 | |(% style="width:105px" %)GIN|(% style="width:509px" %)Generalized Inverted index|(% style="width:866px" %)Difference between GiST and GIN index | ||
9 | [[https:~~/~~/stackoverflow.com/questions/28975517/difference-between-gist-and-gin-index/28976555#28976555>>https://stackoverflow.com/questions/28975517/difference-between-gist-and-gin-index/28976555#28976555]] | ||
10 | |(% style="width:105px" %)Gist|(% style="width:509px" %) |(% style="width:866px" %) | ||
11 | ))) | ||
12 | |Индекс и MVCC|((( | ||
13 | |Индекс не содержит информации о версии строки таблицы, поэтому чтобы проверить видимость версии строки в текущей транзакции необходимо обращение к таблице. | ||
14 | |Индексы отчищаются при срабатывании [[Vacuum>>doc:Разработка.Базы данных.SQL.PostgreSQL.Механизмы.Vacuum.WebHome]] (как и таблицы). | ||
15 | |Задержка отчистки индекса может привозить к повышенной нагрузке в ситуации, когда строки в таблице удалены, но при чтении данных (уже удаленных в таблице) по индексу все равно делаем чтение из таблицы. | ||
16 | ))) | ||
17 | | |((( | ||
18 | |(% colspan="1" rowspan="3" style="width:187px" %)Postgres Professional|(% style="width:1253px" %)Индексы в PostgreSQL — 1 | ||
19 | [[https:~~/~~/habr.com/ru/company/postgrespro/blog/326096/>>url:https://habr.com/ru/company/postgrespro/blog/326096/]] | ||
20 | |(% style="width:1253px" %)Индексы в PostgreSQL — 2 | ||
21 | [[https:~~/~~/habr.com/ru/company/postgrespro/blog/326106/>>url:https://habr.com/ru/company/postgrespro/blog/326106/]] | ||
22 | |(% style="width:1253px" %)Индексы в PostgreSQL — 7 | ||
23 | [[https:~~/~~/habr.com/ru/companies/postgrespro/articles/340978/>>https://habr.com/ru/companies/postgrespro/articles/340978/]] | ||
24 | |(% colspan="1" style="width:187px" %) |(% style="width:1253px" %)((( | ||
25 | Индексы в PostgreSQL | ||
26 | [[https:~~/~~/tproger.ru/articles/indeksy-v-postgresql/>>url:https://tproger.ru/articles/indeksy-v-postgresql/]] | ||
27 | |||
28 | Используем все возможности индексов в PostgreSQL | ||
29 | [[https:~~/~~/habr.com/ru/company/vk/blog/453046/>>url:https://habr.com/ru/company/vk/blog/453046/]] | ||
30 | ))) | ||
31 | |(% style="width:187px" %) |(% style="width:1253px" %)Неожиданная находка, которая освобождает 20 GB неиспользованного индексного пространства [Postgres] | ||
32 | [[https:~~/~~/habr.com/ru/company/otus/blog/672102/>>url:https://habr.com/ru/company/otus/blog/672102/]] | ||
33 | ))) | ||
34 | |||
35 | ---- | ||
36 | |||
37 | ==== Внутренние ссылки: ==== | ||
38 | |||
39 | ====== Дочерние страницы: ====== | ||
40 | |||
41 | {{children/}} | ||
42 | |||
43 | ====== Обратные ссылки: ====== | ||
44 | |||
45 | {{velocity}} | ||
46 | #set ($links = $doc.getBacklinks()) | ||
47 | #if ($links.size() > 0) | ||
48 | #foreach ($docname in $links) | ||
49 | #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) | ||
50 | * [[$escapetool.xml($rdoc.fullName)]] | ||
51 | #end | ||
52 | #else | ||
53 | No back links for this page! | ||
54 | #end | ||
55 | {{/velocity}} | ||
56 | |||
57 | ---- |