You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/03 10:03:07 UTC

[jira] [Updated] (IGNITE-8481) VisorValidateIndexesJob works very slowly in case of many partitions/keys for each partition.

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

Maxim Muzafarov updated IGNITE-8481:
------------------------------------
    Fix Version/s:     (was: 2.8)
                   2.9

> VisorValidateIndexesJob works very slowly in case of many partitions/keys for each partition.
> ---------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-8481
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8481
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Alexei Scherbakov
>            Priority: Major
>             Fix For: 2.9
>
>         Attachments: ignite.zip, thrdump-server.log
>
>
> I tried to validate indexes using newly introduced VisorValidateIndexesTask from control.sh and found what on large data set it works very slowly. Process was not finished for 12 hours from start.
> Looking through a thread dump I've noticed following problems:
> 1. ValidateIndexesClosure works not in optimal way by doing btree lookup for each index for each entry of each partition. It should be faster to validate by scanning index tree.
> 2. Thread dump shows contention on acquiring segment read lock by worker pool-XXX threads, but no obvious reason for holding write lock (no load on grid)
> 3. org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.Segment#partGeneration generates garbage on each page access.
> Check attachment for log and thread dump.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)