Изменения документа Индексы

Редактировал(а) Alexandr Fokin 2024/05/29 18:53

От версии < 1.14
отредактировано Alexandr Fokin
на 2024/05/29 18:53
К версии 1.1 >
отредактировано Alexandr Fokin
на 2023/09/18 01:33
Изменить комментарий: К данной версии нет комментариев

Комментарий

Подробности

Свойства страницы
Содержимое
... ... @@ -1,22 +1,6 @@
1 -|(% style="width:111px" %) |(% style="width:1373px" %)[[PostgreSQL. Индексы>>doc:Разработка.Базы данных.SQL.PostgreSQL.Механизмы.PostgreSQL\. Индексы.WebHome]]
2 -|(% style="width:111px" %)null поля|(% style="width:1373px" %)(((
3 -По умолчанию (SQL) null поле не учитывается ограничении уникальности.
4 -Чтобы добавить проверку уникальности по null значению нужно добавить фильтрующий индекс.
5 -
6 -Create unique constraint with null columns
1 +|(% style="width:185px" %) |(% style="width:1269px" %)Create unique constraint with null columns
7 7  [[https:~~/~~/stackoverflow.com/questions/8289100/create-unique-constraint-with-null-columns>>https://stackoverflow.com/questions/8289100/create-unique-constraint-with-null-columns]]
3 +|(% style="width:185px" %) |(% style="width:1269px" %)
4 +|(% style="width:185px" %) |(% style="width:1269px" %)
8 8  
9 -[[EntityFramework | EntityFrameworkCore>>doc:Разработка.NET.Работа с БД.EntityFramework | EntityFrameworkCore.WebHome||style="outline-width: 0px !important; user-select: auto !important;"]]
10 -
11 -{{code language="c#"}}
12 -AreNullsDistinct()
13 -{{/code}}
14 -)))
15 -|(% style="width:111px" %)Like запрос|(% style="width:1373px" %)(((
16 -PostgreSQL LIKE query performance variations
17 -[[https:~~/~~/stackoverflow.com/questions/1566717/postgresql-like-query-performance-variations>>https://stackoverflow.com/questions/1566717/postgresql-like-query-performance-variations]]
18 -
19 -11.10. Operator Classes and Operator Families (text_pattern_ops)
20 -[[https:~~/~~/www.postgresql.org/docs/current/indexes-opclass.html>>https://www.postgresql.org/docs/current/indexes-opclass.html]]
21 -)))
22 -|(% style="width:111px" %) |(% style="width:1373px" %)
6 +