I’ve been working with Couchbase community edition server for quite a while now. My main purpose is storing log records from various systems. Until recently, the insert rate was about ~2000 ops/sec.
I now have a single bucket full of 80,000,000 documents, and I’ve seen a significant drop in the rate of insert all the way down to ~40 ops/sec.
I’ve added a new server instance to act as a new node in my cluster (my cluster now has 2 nodes), rabalanced them. Furthermore, I’ve changed the max_parallelism value of each server to 4 (the maximum allowed in community edition). I’ve tried setting the bucket’s ejection policy to both “value only” and “full”.
All of the described steps didn’t make any significant change. My current rate of inserts is ~80 ops/sec.
I’m a bit confused on what could have made this substantial rate drop happen, and would like to know if there is a way to diagnose and even fix the issue.
If you are not getting temp_oom Couchbase Server is able to do writes.
Could you check your timings for operations via Couchbase CLI Command cbstats.
To get a more accurate view on performance on GET/SET …etc and any disk operations you can use
cbstats timings. Hope fully it should all be in microseconds and some milliseconds.
if you put in localhost:11210 you will get stats of the localhost.
if you put in localhost:11211 it will get Moxie to pull stats from the whole cluster.