Is there a way to get a list of all the keys in a membase bucket for export. I need to do this from C#.
You can use the TAP protocol.
A script called tap.py is included with the Membase distribution (/opt/membase/1.6.0/bin/ep_engine/management/tap.py).
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overviewCall or email "sales -at- membase -dot- com" today!
I gather from your reply that there is no C# client at this time.
I guess, if I need to see the cache keys, I will have to develop my own client, correct? As the Python script is not an option.
Is anyone working on a C# tap client?
There is no C# for your specific use case. You will have to develop your own client and you could use python script (tap.py) as a reference. There are other references you can find in the 'Implementations and Samples' section of the TAP protocol doc http://wiki.membase.org/display/membase/TAP+Protocol
We've also begun creating a C library for Membase (http://blog.membase.com/libmembase-c-interface-to-membase). It's not C#, but maybe that helps for now?
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overviewCall or email "sales -at- couchbase-dot- com" today!
Perry, does the C library have support for TAP? If so, where can I find the code to check out. I might be able to port it to C#. If not, I will probably have to develop my own C# TAP library.
Yes it does, sorry I could have made that clearer.
Take a look at that blog post I sent over and let me know if that helps you.
I ready the posting, it might work. C to C# or unmanaged to managed code can be a pain. I would need to look at the C library source to get an understanding if it is something I'm capable of making work.
Where can I found the source?
Here's a bit more info, including links to the source: http://trondn.blogspot.com/2010/12/building-libmembase.html
I was reading the documentation here: wiki.membase.org/display/membase/TAP+Protocol. I noticed that it explicitly states that TAP can only be used with membase buckets, not memcached buckets. Is that still the case with the 1.6.4 release?
Is there any way to configure the membase bucket to not use a backing disk store?
Unfortunately, yes it is still the case and no you can't currently configure Membase to not use a backing store. We've already got that as a feature request and I will add you interest to that.
have you had any progress with this ?
I am new to CouchBase anyone can help me with this please...
I am using CouchBase C# client and storing the values; client.Get(ArrayOfKeys) and getting results as expected. I want to cast the result to C# Dictionary, KeyValuePair or ConCurrentDictionary or HashTable.
But, I get every time null value if I try to do this. Can anyone please guide me how we can cast the results of MemBase Client to any generic collection object in C#?
© 2013 COUCHBASE All rights reserved.