Is it suggested to enable read and write cache at storage level for Couchbase

Hi Team ,

Is it suggested to enable read and write cache at storage level for Couchbase. Please advise impact or benefits using this caching . Any best practices around this.

Thanks
Ram

Hi - I’m not sure what your question is - can you give more details?

Hi @mreiche thanks for checking this, my question is related to data disk Read\Write cache for Couchbase cluster nodes . Can we enable Read\Write cache for the data disks when the Cluster is live for better performance ? On a busy cluster what are the implications\impact of enabling or disabling data disk Read\Write Cache .I would like to know best practices implemented in real time around this.

Can you point me to the documentation for this? Read and write are always through memory. Only when Durability is specified do writes wait for persistence to secondary storage.

Hi @mreiche here is the Azure document for data disks cache .

Introduction - Training | Microsoft Learn

That’s for SQL server, not for Couchbase.

@mreiche Though it is SQL link , I am looking for Couchbase Azure virtual machines where data disk Read\Write caching is enabled\disabled and what are the benefits and impacts on a busy Couchbase Cluster, Thank you .

The effect that it would have is - if Couchbase is doing Durable writes to secondary storage, but your secondary storage is not actually writing to persistent storage, then your data is not being persisted. You would get the same effect from not specifying a Durability option that persists. And you would still be able to persist by specifying a Durability option that persists.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.