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

Memcached + bucket support

1 reply [Last post]
  • Login or register to post comments
Tue, 03/06/2012 - 19:30
baldwinlouie
Offline
Joined: 03/06/2012
Groups: None

I'm working on integrating couchbase 2.0 with Drupal. I'm trying to use the php-couchbase 1.1 library, which is the extension of Memcached. How can I distinguish one bucket from another bucket via the API? When I use the php-couchbase, there is a way to set the $default_bucket_name before all the classes are instantiated. However, when it comes time to use Memcached's set()/get() calls to set the documents, all the documents will only go to the default bucket.

There doesn't seem to be a way to set the bucket in in Memcached. Can you please shed some light?

Top
  • Login or register to post comments
Wed, 03/07/2012 - 11:04
baldwinlouie
Offline
Joined: 03/06/2012
Groups: None

As a follow up, I just wanted to give my use case. I wanted to be able to create different buckets to hold different kinds of data, equivalent to one database table per functionality I want to create.

I talked with ingenthr and jan____ on IRC and it appears there will be better support in the newer PHP SDK.

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