You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Seliverstov (JIRA)" <ji...@apache.org> on 2019/02/19 08:45:00 UTC

[jira] [Updated] (IGNITE-11355) Mention CacheConfiguration.sqlIndexMaxInlineSize and QueryGroupIndex.inlineSize in inline size suggestions

     [ https://issues.apache.org/jira/browse/IGNITE-11355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Seliverstov updated IGNITE-11355:
--------------------------------------
    Component/s: sql

> Mention CacheConfiguration.sqlIndexMaxInlineSize and QueryGroupIndex.inlineSize in inline size suggestions
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11355
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11355
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Stanislav Lukyanov
>            Priority: Major
>
> Currently the suggestion for changing inline size of the PK and AK indexes reads like this
> {code}
>                 recommendation = "set system property "
>                     + IgniteSystemProperties.IGNITE_MAX_INDEX_PAYLOAD_SIZE + " with recommended size " +
>                     "(be aware it will be used by default for all indexes without explicit inline size)";
> {code}
> However, there is also property CacheConfiguration.sqlIndexMaxInlineSize that can be used. In fact, in most cases it is even better to use the cache configuration property instead of the system property because 1) it is local, not global 2) it is a part of the static configuration and doesn't depend of the correct environment setup
> The suggestion for other indexes reads 
> {code}
>                 recommendation = "use INLINE_SIZE option for CREATE INDEX command, " +
>                     "QuerySqlField.inlineSize for annotated classes, or QueryIndex.inlineSize for explicit " +
>                     "QueryEntity configuration";
> {code}
> It should also mention QueryGroupIndex.inlineSize for group indexes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)