You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2021/09/09 15:43:00 UTC
[jira] [Updated] (IGNITE-15483) Uniq index detection.
[ https://issues.apache.org/jira/browse/IGNITE-15483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Mashenkov updated IGNITE-15483:
--------------------------------------
Fix Version/s: 3.0
> Uniq index detection.
> ---------------------
>
> Key: IGNITE-15483
> URL: https://issues.apache.org/jira/browse/IGNITE-15483
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Andrey Mashenkov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0
>
>
> Uniq index constraint support is very limited due to performance issues in the general case.
> Uniq index must contain all affinity columns, in this case, uniqueness achieves out of the box and costs nothing.
> Uniq flag is very useful in query planning, as we may rely on the fact the unique index lookup will always return a single row.
> Maybe, it is not a good idea to allow users to configure index "uniq" flag manually. (this is discussable)
> But we can detect unique index and set the flag automatically.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)