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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Stanislav Lukyanov created IGNITE-11355:
-------------------------------------------

             Summary: 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
            Reporter: Stanislav Lukyanov


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)