Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Couchbase Server work with RAM memory only?

We want to take advantage of the No-Sql Databases in our applications, and we found out about Couchbase.

I've read about it on another stack question, where somebody says that you can configure Couchbase to work with Memcached only (so it saves data only on memory, not on disks also).

However, i haven't found anything about this in the documentation.

Is it possible to setup Couchbase server to work with RAM memory?

Or, you specify on the client side where the data should be saved? (disk or memory)

like image 567
Catalin Avatar asked Jan 18 '26 11:01

Catalin


2 Answers

Yes, Just use memcached buckets. That's all

like image 197
Dasun Avatar answered Jan 21 '26 02:01

Dasun


Check out: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-introduction-basics.html

Couchbase 2.0 documentation explicitly states that it's an in-memory database. From my experience the buckets all exist in RAM. You can set the size of every bucket to partition your RAM appropriately.

like image 32
ryan1234 Avatar answered Jan 21 '26 01:01

ryan1234



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!