Index rebuilding metrics

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Index rebuilding metrics

Nikita Amelchev
Hello, Igniters.

I would like to implement index rebuilding metrics [1, 2].
I suggest adding a cache metric and system view that shows if there
are any index rebuilding for this cache right now (boolean type) [3].

Also, I can add time metrics:
- how long was index rebuilding (or current duration)
- when index rebuilding was ended.
Do we need such time metrics?

[1] https://issues.apache.org/jira/browse/IGNITE-12185
[2] https://issues.apache.org/jira/browse/IGNITE-12184
[3] https://github.com/apache/ignite/pull/6983

--
Best wishes,
Amelchev Nikita
Reply | Threaded
Open this post in threaded view
|

Re: Index rebuilding metrics

Nikolay Izhikov-2
Hello, Nikita.

Thanks for picking this up.

> I suggest adding a ... system view that shows if there are any index rebuilding

Are you talking about new system view?
Why do we need it?

We already have INDEXES system view that show info about each index existing on the Ignite node.
Can we add some columns to it to reflect state of index rebuild process?

В Вт, 22/10/2019 в 13:33 +0300, Nikita Amelchev пишет:

> Hello, Igniters.
>
> I would like to implement index rebuilding metrics [1, 2].
> I suggest adding a cache metric and system view that shows if there
> are any index rebuilding for this cache right now (boolean type) [3].
>
> Also, I can add time metrics:
> - how long was index rebuilding (or current duration)
> - when index rebuilding was ended.
> Do we need such time metrics?
>
> [1] https://issues.apache.org/jira/browse/IGNITE-12185
> [2] https://issues.apache.org/jira/browse/IGNITE-12184
> [3] https://github.com/apache/ignite/pull/6983
>

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Index rebuilding metrics

Nikita Amelchev
Nikolay,

I mean adding a column to the existing indexes system view
(SqlIndexView), not a new view.

вт, 22 окт. 2019 г. в 13:56, Nikolay Izhikov <[hidden email]>:

>
> Hello, Nikita.
>
> Thanks for picking this up.
>
> > I suggest adding a ... system view that shows if there are any index rebuilding
>
> Are you talking about new system view?
> Why do we need it?
>
> We already have INDEXES system view that show info about each index existing on the Ignite node.
> Can we add some columns to it to reflect state of index rebuild process?
>
> В Вт, 22/10/2019 в 13:33 +0300, Nikita Amelchev пишет:
> > Hello, Igniters.
> >
> > I would like to implement index rebuilding metrics [1, 2].
> > I suggest adding a cache metric and system view that shows if there
> > are any index rebuilding for this cache right now (boolean type) [3].
> >
> > Also, I can add time metrics:
> > - how long was index rebuilding (or current duration)
> > - when index rebuilding was ended.
> > Do we need such time metrics?
> >
> > [1] https://issues.apache.org/jira/browse/IGNITE-12185
> > [2] https://issues.apache.org/jira/browse/IGNITE-12184
> > [3] https://github.com/apache/ignite/pull/6983
> >



--
Best wishes,
Amelchev Nikita