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

Ivan Bessonov updated IGNITE-14774:
-----------------------------------
    Affects Version/s:     (was: 2.11)
                       2.10

> Add metrics for index pages loaded into memory
> ----------------------------------------------
>
>                 Key: IGNITE-14774
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14774
>             Project: Ignite
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 2.10
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Minor
>             Fix For: 2.11
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Expose the number of index pages currently loaded into memory on per-cache 
> group and per-data region basis.
> h3. Implementation details
>  # PageMetrics - an aggregation of all page-related metrics. At the moment of 
> writing, contains the total number of pages and the number of index pages.
>  # DataRegionMetricsImpl now contains page metrics related to every created 
> cache group in a form of an immutable copy-on-write IntMap. It also contains 
> an aggregation over these metrics that can be used as metrics for the whole 
> data region.
>  # Index pages allocation is tracked through the PageIO#initNewPage method, 
> which can later be used to track other kinds of pages.
>  # Index pages de-allocation is tracked in various places like replacing a 
> page or adding it to a free list as I couldn’t find a single suitable place 
> for this logic.



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

Reply via email to