Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 85EC2200D0C for ; Tue, 5 Sep 2017 16:07:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 84A721609EB; Tue, 5 Sep 2017 14:07:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2D53160DE0 for ; Tue, 5 Sep 2017 16:07:10 +0200 (CEST) Received: (qmail 23320 invoked by uid 500); 5 Sep 2017 14:07:08 -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 23309 invoked by uid 99); 5 Sep 2017 14:07:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 14:07:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3751ACA038 for ; Tue, 5 Sep 2017 14:07:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id i3HHB0hmA4L3 for ; Tue, 5 Sep 2017 14:07:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6906861269 for ; Tue, 5 Sep 2017 14:07:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 829FCE0F03 for ; Tue, 5 Sep 2017 14:07:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BE8E624172 for ; Tue, 5 Sep 2017 14:07:00 +0000 (UTC) Date: Tue, 5 Sep 2017 14:07:00 +0000 (UTC) From: "chenxu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-18715) isolate large query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 05 Sep 2017 14:07:11 -0000 [ https://issues.apache.org/jira/browse/HBASE-18715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153703#comment-16153703 ] chenxu commented on HBASE-18715: -------------------------------- Any suggestions on patch v4? > isolate large query > ------------------- > > Key: HBASE-18715 > URL: https://issues.apache.org/jira/browse/HBASE-18715 > Project: HBase > Issue Type: New Feature > Reporter: chenxu > Assignee: chenxu > Attachments: HBASE-18715-master-v1.patch, HBASE-18715-master-v2.patch, HBASE-18715-master-v3.patch, HBASE-18715-master-v4.patch, isolate large query.pdf, isolate result.png > > > large queries are very expensive than the general operation, and often delay insensitive. > if not isolate, Handlers may be all used by the large query, > lead to _Put_ or _Get_ slowly, so there need be an mechanism to isolate the large query. > for example we can use a separate _RpcExecutor_ to handle this. > for the following type of queries we can think it is a large query: > (1) _Scan_ has no startkey or endkey > (2) Client call _ResultScanner.next()_ more than a certain threshold > (3) Client call custom coprocessor which involves large queries(such as _AggregateService_) > for large queries, RegionServer should meet the following requirements > (1) dynamic configure if isolate large query is turn on > (2) setup certain Handlers to deal with large queries only > (3) in offpeak hours, large queries are not isolate > (4) dynamic configure if cache Blocks is turn on if the query is a large query -- This message was sent by Atlassian JIRA (v6.4.14#64029)