Slow query logs?


#1

Does couchbase have an equivalent of MySQL slow query logs for key/value operations ?

We are seeing intermittent timeouts in our rails application during get/set/incr operations with the default timeout of 2.5 seconds.

What is the best way to figure out if its an issue with the client side , Couchbase server or something in between ?

We are on v3.0.1 on the server side and v2.4.8( c sdk) and v1.3.10(ruby gem) on the client side.


Can I view raw queries executed by a repository?
#2

There is a CLI command called cbstats. It will not give you specific request data though , just a histogram. http://docs.couchbase.com/admin/admin/CLI/cbstats-intro.html if you want a step by step you can go here: http://fuj.io/how-to-check-couchbase-speed/