eviction
Thu, 01/03/2013 - 05:46
When couchbase evicts data from ram, it does evicts persisted data only. but lets say out of 5k items in ram. 1k of them are older than then than rest. Does couchbase evicts the 1k items that are older, or it evicts randomly?
Thu, 01/03/2013 - 10:40
Hello
As Neo said, the algorithm used by Couchbase is LRU, but this is true for the "Membase Buckets"
For the Couchbase Buckets it is more "random", starting with clean memory.
In both case it is only happening when the system has no free memory to pu the items that are needed by the application.
Regards
Tug
Sat, 01/26/2013 - 14:30
Hello,
The documentation contains now a new chapter about ejection in Couchbase 2.0:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-tasks...
Regards
Hi,
Just to clarify, it evicts data which is not been used for a long time or less frequently used items.
Ref from manual,
"Eviction is the process of removing information entirely from memory for memcached buckets. The memcached system uses a least recently used (LRU) algorithm to remove data from the system entirely when it is no longer used."
Thanks,
Neo