You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2022/09/26 13:19:00 UTC

[jira] [Commented] (IGNITE-17728) Improve data size-related metrics

    [ https://issues.apache.org/jira/browse/IGNITE-17728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609495#comment-17609495 ] 

Ignite TC Bot commented on IGNITE-17728:
----------------------------------------

{panel:title=Branch: [pull/10259/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10259/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6778826&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Improve data size-related metrics
> ---------------------------------
>
>                 Key: IGNITE-17728
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17728
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are several problems with the current approach to metrics related to pages and sizes occupied by data:
> # {{PagesFillFactor}} implementation is strange: though its javadoc is pretty much useless, one might think that it represents a percentage of bytes occupied by data in relation to the whole available bytes. However, for some reason, it is calculated as {{(TotalSpace - FreeSpaceInDataPages) / TotalSpace}}, i.e. it does not take completely empty pages into account.
> # There exists a {{TotalUsedPages}} metric that is only available through JMX, it does not get registered in the MetricsRegistry.
> # There exists {{TotalAllocatedPages}} and {{TotalAllocatedSize}} metrics, but no {{TotalUsedSize}} metrics.
> # It would be helpful to add a metric that calculates bytes, occupied by the data (even though it can be indirectly computed using the {{PagesFillFactor}}).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)