Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Bucket name limit

7 replies [Last post]
  • Login or register to post comments
Mon, 10/03/2011 - 10:07
slam3r
Offline
Joined: 10/03/2011
Groups: None

Does CouchBase have a character limit on bucket name?

Top
  • Login or register to post comments
Mon, 10/03/2011 - 12:40
cojack
Offline
Joined: 10/03/2011
Groups: None

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.

Top
  • Login or register to post comments
Mon, 10/03/2011 - 12:42
slam3r
Offline
Joined: 10/03/2011
Groups: None

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?

Top
  • Login or register to post comments
Mon, 10/03/2011 - 20:04
Nosralla
Offline
Joined: 09/02/2011
Groups: None

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.

Top
  • Login or register to post comments
Mon, 10/03/2011 - 23:05
slam3r
Offline
Joined: 10/03/2011
Groups: None

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.

Top
  • Login or register to post comments
Sat, 10/15/2011 - 15:34
ingenthr
Offline
Joined: 03/16/2010
Groups:

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!

Top
  • Login or register to post comments
Sat, 09/15/2012 - 10:01
vtran
Offline
Joined: 08/30/2012
Groups: None

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.

Top
  • Login or register to post comments
Sat, 09/15/2012 - 10:43
ingenthr
Offline
Joined: 03/16/2010
Groups:

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?

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker