You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by mm...@apache.org on 2021/01/26 20:03:03 UTC

[ignite] branch ignite-2.10 updated (ae29699 -> 25a712fc)

This is an automated email from the ASF dual-hosted git repository.

mmuzaf pushed a change to branch ignite-2.10
in repository https://gitbox.apache.org/repos/asf/ignite.git.


    from ae29699  IGNITE-13385 Added documentation on cache warm-up strategy (#8689)
     new 41354b2  IGNITE-13606 (#8690)
     new 25a712fc IGNITE-12955 Add documentation pages for index inline size console command (#8701)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/_docs/monitoring-metrics/metrics.adoc | 17 +++++++++++
 docs/_docs/tools/control-script.adoc       | 45 ++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)


[ignite] 02/02: IGNITE-12955 Add documentation pages for index inline size console command (#8701)

Posted by mm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mmuzaf pushed a commit to branch ignite-2.10
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 25a712fc324c7b99cc094ace968e2a66564f5f48
Author: Maxim Muzafarov <mm...@apache.org>
AuthorDate: Tue Jan 26 23:00:16 2021 +0300

    IGNITE-12955 Add documentation pages for index inline size console command (#8701)
---
 docs/_docs/tools/control-script.adoc | 45 ++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/docs/_docs/tools/control-script.adoc b/docs/_docs/tools/control-script.adoc
index e956848..48684b2 100644
--- a/docs/_docs/tools/control-script.adoc
+++ b/docs/_docs/tools/control-script.adoc
@@ -521,6 +521,51 @@ validate_indexes has finished with errors (listed above).
 Like `idle_verify`, index validation tool works correctly only if updates are stopped. Otherwise, there may be a race between the checker thread and the thread that updates the entry/index, which can result in a false positive error report.
 ====
 
+=== Check SQL Index Inline Size
+
+A running Ignite cluster could have different SQL index inline sizes on its cluster nodes.
+For example, it could happen due to the `IGNITE_MAX_INDEX_PAYLOAD_SIZE` property value is different on the cluster nodes. The difference
+between index inline sizes may lead to a performance drop.
+
+The `check_index_inline_sizes` command validates the indexes inline size of given caches on all cluster nodes. The inline
+size of secondary indexes is always checked on a node join and a WARN message is printed to the log if they differ.
+
+Use the command below to check if the secondary indexes inline sizes are the same on all cluster nodes.
+
+[tabs]
+--
+tab:Shell[]
+[source,shell]
+----
+control.sh|bat --cache check_index_inline_sizes
+----
+--
+
+If the index inline sizes are different, the console output is similar to the data below:
+
+[source,text]
+----
+Control utility [ver. 2.10.0]
+2021 Copyright(C) Apache Software Foundation
+User: test
+Time: 2021-04-27T16:13:21.213
+Command [CACHE] started
+Arguments: --cache check_index_inline_sizes --yes
+
+Found 4 secondary indexes.
+3 index(es) have different effective inline size on nodes. It can lead to
+performance degradation in SQL queries.
+Index(es):
+  Full index name: PUBLIC#TEST_TABLE#L_IDX nodes:
+[ca1d23ae-89d4-4e8d-ae12-6c68f3900000] inline size: 1, nodes:
+[8327bbd1-df08-4b97-8721-de95e363e745] inline size: 2
+  Full index name: PUBLIC#TEST_TABLE#S1_IDX nodes:
+[ca1d23ae-89d4-4e8d-ae12-6c68f3900000] inline size: 1, nodes:
+[8327bbd1-df08-4b97-8721-de95e363e745] inline size: 2
+  Full index name: PUBLIC#TEST_TABLE#I_IDX nodes:
+[ca1d23ae-89d4-4e8d-ae12-6c68f3900000] inline size: 1, nodes:
+[8327bbd1-df08-4b97-8721-de95e363e745] inline size: 2
+----
 
 == Tracing Configuration
 


[ignite] 01/02: IGNITE-13606 (#8690)

Posted by mm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mmuzaf pushed a commit to branch ignite-2.10
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 41354b2b12ac39f95bad608032c3cdf7036c593a
Author: Nikita Safonov <73...@users.noreply.github.com>
AuthorDate: Tue Jan 26 03:34:49 2021 +0300

    IGNITE-13606 (#8690)
    
    * IGNITE-13606 Added documentation on JMX default configuration removal
    
    * IGNITE-13606-1 Made existing note a chapter.
---
 docs/_docs/monitoring-metrics/metrics.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/_docs/monitoring-metrics/metrics.adoc b/docs/_docs/monitoring-metrics/metrics.adoc
index ddecb56..8d47727 100644
--- a/docs/_docs/monitoring-metrics/metrics.adoc
+++ b/docs/_docs/monitoring-metrics/metrics.adoc
@@ -24,6 +24,23 @@ You can also access them programmatically.
 
 On this page, we've collected the most useful metrics and grouped them into various common categories based on the monitoring task.
 
+== Enabling JMX for Ignite
+
+By default, the JMX automatic configuration is disabled.
+To enable it, configure the following environment variables:
+
+* For `control.sh`, configure the `CONTROL_JVM_OPTS` variable
+* For `ignite.sh`, configure the `JVM_OPTS` variable
+
+For example:
+
+[source,shell]
+----
+JVM_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=${JMX_PORT} \
+-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
+----
+
+
 // link:monitoring-metrics/configuring-metrics[Configuring Metrics]
 
 == Understanding MBean's ObjectName