cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Voytek Jarnot <voytek.jar...@gmail.com>
Subject Re: Queries execution time
Date Thu, 12 Jan 2017 21:59:39 GMT
We use QueryLogger which is baked in to the datastax java driver; gives you
basic query execution times (and bind params) in your logs, can be tweaked
using log levels.

On Thu, Jan 12, 2017 at 12:31 PM, Jonathan Haddad <jon@jonhaddad.com> wrote:

> You're likely to benefit a lot more if you log query times from your
> application, as you can customize the metadata that you add around logging
> to increase its relevancy.
>
> On Thu, Jan 12, 2017 at 10:24 AM Benjamin Roth <benjamin.roth@jaumo.com>
> wrote:
>
>> Hi Salvatore,
>>
>> 1. Cassandra offers tons of metrics through JMX to monitor performance on
>> keyspace and CF level
>> 2. There is a config option to log slow queries, unfortunately JIRA is
>> currently down, so I can't find the ticket with more details
>>
>> 2017-01-12 19:21 GMT+01:00 D. Salvatore <dd.salvatore@gmail.com>:
>>
>> Hi,
>> Does anyone know if there is a way to record in a log file the queries
>> total or partial execution time? I am interested in something similar to
>> the tracing option but on file.
>>
>> Thanks
>> Best Regards
>> Salvatore
>>
>>
>>
>>
>> --
>> Benjamin Roth
>> Prokurist
>>
>> Jaumo GmbH · www.jaumo.com
>> Wehrstraße 46 · 73035 Göppingen · Germany
>> Phone +49 7161 304880-6 <+49%207161%203048806> · Fax +49 7161 304880-1
>> <+49%207161%203048801>
>> AG Ulm · HRB 731058 · Managing Director: Jens Kammerer
>>
>

Mime
View raw message