ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-8078) Add new metrics for data storage
Date Thu, 29 Mar 2018 14:19:00 GMT

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

Alexey Goncharuk updated IGNITE-8078:
-------------------------------------
    Description: 
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}


  was:
1. Create new MXbean for each index, IndexMxBean
{code}
class IndexMxBean{
/** The number of PUT operations on the index. */
long processedPuts();
/** The number of GET operations on the index. */
long processedGets();
/** The total index size in bytes. */
long getIndexSize();
/** Index name.*/
String getName();
}
{code}

2. Add new metrics for data storage and cache group.
{code}
class CacheGroupMetricsMXBean{
/** The total index size in bytes */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** CacheGroup type. PARTITION, REPLICATED, LOCAL.*/
String getType();
}
{code}

{code}
class DataRegionMXBean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes. */
long getTotalsize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** Total used offheap size in bytes. *
long offheapUsedSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart . */
long pagesReplaced();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
}
{code}

{code}
class DataStorageMXbean{
/** Total size in bytes for indexes. */
long getIndexesSize();
/** Total size in bytes for primary key indexes. */
long getPKIndexesSize();
/** Total size in bytes for all storages. */
long getTotalsize();
/** Total offheap size in bytes. */
long offHeapSize();
/** Total used offheap size in bytes for all data regions. */
long offheapUsedSize();
/** Total size in bytes for pure data.*/
long getDataSize();
/** The number of read pages from last restart. */
long pagesRead();
/** The number of writen pages from last restart. */
long pagesWriten();
/** The number of replaced pages from last restart. */
long pagesReplaced();
/** Total checkpoint time from last restart. */
long checkpointTotalTime();
/** Total dirty pages for the next checkpoint. */
long dirtyPagesForNextCheckpoint();
/** Total size in bytes for storage wal files. */
long walTotalSize();
}
{code}



> Add new metrics for data storage
> --------------------------------
>
>                 Key: IGNITE-8078
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8078
>             Project: Ignite
>          Issue Type: New Feature
>            Reporter: Dmitriy Govorukhin
>            Priority: Major
>              Labels: iep-6
>
> 1. Create new MXbean for each index, IndexMxBean
> {code}
> class IndexMxBean{
> /** The number of PUT operations on the index. */
> long processedPuts();
> /** The number of GET operations on the index. */
> long processedGets();
> /** The total index size in bytes. */
> long getIndexSize();
> /** Index name.*/
> String getName();
> }
> {code}
> 2. Add new metrics for data storage and cache group.
> {code}
> class CacheGroupMetricsMXBean{
> /** The total index size in bytes */
> long getIndexesSize();
> /** Total size in bytes for primary key indexes. */
> long getPKIndexesSize();
> /** Total size in bytes. */
> long getTotalsize();
> /** Total size in bytes for pure data.*/
> long getDataSize();
> /** CacheGroup type. PARTITIONED, REPLICATED, LOCAL.*/
> String getType();
> }
> {code}
> {code}
> class DataRegionMXBean{
> /** Total size in bytes for indexes. */
> long getIndexesSize();
> /** Total size in bytes for primary key indexes. */
> long getPKIndexesSize();
> /** Total size in bytes. */
> long getTotalsize();
> /** Total size in bytes for pure data.*/
> long getDataSize();
> /** Total used offheap size in bytes. *
> long offheapUsedSize();
> /** The number of read pages from last restart. */
> long pagesRead();
> /** The number of writen pages from last restart. */
> long pagesWriten();
> /** The number of replaced pages from last restart . */
> long pagesReplaced();
> /** Total dirty pages for the next checkpoint. */
> long dirtyPagesForNextCheckpoint();
> }
> {code}
> {code}
> class DataStorageMXbean{
> /** Total size in bytes for indexes. */
> long getIndexesSize();
> /** Total size in bytes for primary key indexes. */
> long getPKIndexesSize();
> /** Total size in bytes for all storages. */
> long getTotalsize();
> /** Total offheap size in bytes. */
> long offHeapSize();
> /** Total used offheap size in bytes for all data regions. */
> long offheapUsedSize();
> /** Total size in bytes for pure data.*/
> long getDataSize();
> /** The number of read pages from last restart. */
> long pagesRead();
> /** The number of writen pages from last restart. */
> long pagesWriten();
> /** The number of replaced pages from last restart. */
> long pagesReplaced();
> /** Total checkpoint time from last restart. */
> long checkpointTotalTime();
> /** Total dirty pages for the next checkpoint. */
> long dirtyPagesForNextCheckpoint();
> /** Total size in bytes for storage wal files. */
> long walTotalSize();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message