Bucket name limit
Does CouchBase have a character limit on bucket name?
Right, but when I tried to enter in a long string via the management interface, I effectively crashed the service I think. I couldn't get it to respond to any command and I had to re-install it...I need to know this limit as part of my design for bucket name/key space definition etc.
Btw, which manual did you see that?
There are known issues with the bucket's name in couchbase server 2.0 preview
Take a look at:
http://www.couchbase.org/forums/thread/create-new-data-bucket-failed
In resume, try creating your bucket with lower case letters only and you should have no problems.
Thanks a lot for the tip. That was good to know. However, I also tried it on membase 1.7.1 and the same behavior occurred and my bucket name consisted only with numbers and lower case letters. For now, I am just going to limit the number of characters. I was just curious if there are any documentations on it.
There shouldn't be any issues with long strings and a mix of characters as described above. Can you give an example of what you tried that didn't work and what platform it was on?
Thanks!
I'm using couchbase server 1.8.1 and there was a Server down message when I create a long name bucket (>100 characters)
Does anyone has same problem?
It's good to hear more solutions from you guys.
What do you mean by a "Server down message"? Was there anything in the logs?
Also, I am curious, why do you need a bucket with more than 100 chars in the name?
Manual doesn't say anything about it.
Just only:
The bucket name. The bucket name can only contain characters in range A-Z, a-z, 0-9 as well as underscore, period,
dash and percent symbols.