I am using couchbase on ubuntu and i want to send a command to the ubuntu server to clear down cache within couchbase. Does someone know the command to use?
We don't have a command that will evict all items from memory. What is your use case for doing this?
Well, im populating values in couchbase from our database, then our application brings the data from couchbase into our web application. Through an admin app, the values in the database need to be modified. So i need to reset what is in couchbase. Any ideas how to achieve this?
I have a batch command i run on the windows version of couchbase and it clears it down fine:
"C:/Program Files/Couchbase/Server/bin/couchbase-cli.exe" bucket-flush -c localhost:8091 --bucket=default
I need the equivalent command for unix.
No resolution to this one yet! Sorry!
The equivalent command on Ubuntu is:
/opt/couchbase/bin/couchbase-cli bucket-flush -c localhost:8091 --bucket=default
Also, in Couchbase 1.8.1 we disable flushing bucket by default and recommend deleting and recreating the bucket.
© 2013 COUCHBASE All rights reserved.