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

Igor Seliverstov updated IGNITE-11355:
--------------------------------------
    Ignite Flags:   (was: Docs Required)

> 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)

Reply via email to