Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D62EA19DC1 for ; Tue, 15 Mar 2016 00:57:34 +0000 (UTC) Received: (qmail 71015 invoked by uid 500); 15 Mar 2016 00:57:33 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70760 invoked by uid 500); 15 Mar 2016 00:57:33 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 70736 invoked by uid 99); 15 Mar 2016 00:57:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2016 00:57:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 815CC2C1F58 for ; Tue, 15 Mar 2016 00:57:33 +0000 (UTC) Date: Tue, 15 Mar 2016 00:57:33 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-15464) Flush / Compaction metrics revisited MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Enis Soztutar created HBASE-15464: ------------------------------------- Summary: Flush / Compaction metrics revisited Key: HBASE-15464 URL: https://issues.apache.org/jira/browse/HBASE-15464 Project: HBase Issue Type: Sub-task Components: metrics Reporter: Enis Soztutar Assignee: Enis Soztutar Fix For: 2.0.0, 1.3.0, 1.4.0 We can add a couple of metrics related to flushes and compactions: - flush memstore and output file size histogram: This will allow seeing whether we are flushing too early due to memory pressure, too many regions, etc. Tracking flush memstore size vs output file size is useful in understanding the block encoding compression benefits. - total flushed output bytes: This will allow to monitor the IO / throughput from flushers. You can use this to set num flushers, flush throttle, etc. - smallCompactionQueueLength / large...: This is tracked, but not emitted anymore due to a bug. - compaction time histogram: similar to flush time histogram, how long compactions are taking. - compaction input num files / output num files histogram: How many files on average we are compacting. Stripe compaction / date tiered compaction can use the num output files metric. - compaction input / output data sizes histogram: How much data on average we are compacting. - compaction input / output total bytes: Measure compaction IO / throughput. measure write amplification, enables to set compaction throttle. - Breakdown for above for major compactions -- This message was sent by Atlassian JIRA (v6.3.4#6332)