I am using the
Couchbase server Community Edition 7.0.2, I have created buckets(type Ephemeral, ejection policy : Eject data when RAM is full, Metadata Purge Interval:1) however when bucket memory full then it should eject the older document instantly and add new one but it is not happening for me
It looks due high value of Metadata Purge Interval, if I reduced to 0.0007 then it’s working fine. If I am not using the cross-data center replication(XDCR) and not using the query or index service then any other impact of it, if I keep Metadata Purge Interval value 0.0007
Can you point me to the documentation for that just to make sure we’re on the same page? Thanks.
Please find the document and check for Ephemeral buckets
How are you determining that is not happening?
In my scenario assigned memory to bucket(ehpemeral) got full and when meta purge interval is low(0.0007) then it remove the deleted item’s keys and metadata so bucket is able to reclaim the memory
While a “Metadata Purge” would give more space, I’m not sure that it should affect ejection
No it would not provide the more space however at time of ejection it remove item’s data only but not remove key and metadata of the item and that would remove at metadata purge interval time
In my scenario assigned memory to bucket(ehpemeral) got full and when meta purge interval is low(0.0007) then it remove the deleted item’s keys and metadata so bucket is able to reclaim the memory
That shows that the smaller Metadata purge interval purges Metadata of deleted documents resulting in more space.