cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-511) log abnormally long queries
Date Sat, 21 Nov 2009 22:16:39 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781061#action_12781061
] 

Jonathan Ellis commented on CASSANDRA-511:
------------------------------------------

let's use LogMinDurationInsert and LogMinDurationGet as the configuration parameters, with
negative value to disable either (no 3rd boolean).

long endTime should be declared where it is used (and should be renamed, since it's not the
end time but the duration)

logging just the key might not be very helpful

logger.warn(duration + " ms for " + query) would be sufficiently verbose


> log abnormally long queries
> ---------------------------
>
>                 Key: CASSANDRA-511
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-511
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jonathan Ellis
>            Assignee: Chris Goffinet
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 0001-Added-slow-log-query-insert-support.patch
>
>
> add an option to log queries taking longer than N ms (just the query, not the results)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message