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 878A0200B5C for ; Thu, 11 Aug 2016 08:50:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 865E0160AB4; Thu, 11 Aug 2016 06:50:24 +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 D8340160A85 for ; Thu, 11 Aug 2016 08:50:23 +0200 (CEST) Received: (qmail 51726 invoked by uid 500); 11 Aug 2016 06:50:23 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 51706 invoked by uid 99); 11 Aug 2016 06:50:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2016 06:50:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A59752C02A7 for ; Thu, 11 Aug 2016 06:50:21 +0000 (UTC) Date: Thu, 11 Aug 2016 06:50:21 +0000 (UTC) From: "Stefania (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12403) Slow query detecting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 Aug 2016 06:50:24 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15416652#comment-15416652 ] Stefania commented on CASSANDRA-12403: -------------------------------------- Thank you for confirming the suggested implementation. There were some failures with the tests, mostly unrelated except for [one failure|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12403-dtest/lastCompletedBuild/testReport/cql_tests/SlowQueryTester/local_query_test/] with the new tests. I've fixed the failing test and launched a repeated execution (150 times) [here|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-dtest-multiplex/]. I've also launched the full tests a second time to shake off some of the unrelated failures. Before committing the patch, I would also like to a have one more person look at it, cc [~JoshuaMcKenzie]. > Slow query detecting > -------------------- > > Key: CASSANDRA-12403 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12403 > Project: Cassandra > Issue Type: Improvement > Reporter: Shogo Hoshii > Assignee: Shogo Hoshii > Attachments: sample.log, slow_query.patch, slow_query.patch > > > Hello, > In cassandra production environment, users sometimes build anti-pattern tables and throw queries in inefficient manners. > So I would like to suggest a feature that enables to log slow query. > The feature can help cassandra operators to identify bad query patterns. > Then operators can give advices about queries and data model to users who don't know cassandra so much. > This ticket is related to CASSANDRA-6226, and I focus on detecting bad query patterns, not aborting them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)