[
https://issues.apache.org/jira/browse/HIVE-25925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viktor Csomor updated HIVE-25925:
---------------------------------
Description:
Instead of calculating the age on the Database side for the
{{oldest_ready_for_cleaning_age_in_sec}} we can calculate it in the
AcidMetricsService. At the moment the {{CQ_COMMIT_TIME}} is not exposed in the
{{ShowCompactResponse}} therefore the calculation happens in the db query.
It has to be assessed whether it worth to expose this field or not?
> Improve the oldest_ready_for_cleaning_age_in_sec compaction metric
> ------------------------------------------------------------------
>
> Key: HIVE-25925
> URL: https://issues.apache.org/jira/browse/HIVE-25925
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 4.0.0
> Reporter: Viktor Csomor
> Assignee: Viktor Csomor
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Instead of calculating the age on the Database side for the
> {{oldest_ready_for_cleaning_age_in_sec}} we can calculate it in the
> AcidMetricsService. At the moment the {{CQ_COMMIT_TIME}} is not exposed in
> the {{ShowCompactResponse}} therefore the calculation happens in the db query.
> It has to be assessed whether it worth to expose this field or not?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)