Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
Lundin's picture
Asked 8 hours 52 min ago
Latest activity 24 min 11 sec ago

Use MultiGet or views (if using natural keys)?

Hi!

I am trying to understand some key design principles for a document db.

1. Assume i have a natural key for users, so upon registration i create a uid

uid=cb.incr("u::counter)+1

and create the user key:
u::uid

To create a relationship with another...

ohassidi's picture
Asked 3 days 14 hours ago
Latest activity 33 min 36 sec ago

Customizing an index, Create index on dev design doc, and Customized sorting

Few questions in one post I hope I will be clear :)

  • Customizing an index: after creating an index is it healthy to customize it by editing the created view? For example I have created an index using CREATE INDEX then went to the view created in the couchbase and edited it a bit and
  • ...
jim.ronan's picture
Asked 1 week 3 days ago
Latest activity 10 min 56 sec ago

How can I view what a view's map function emits for a single document?

I would like to be able to look at the output of a view's map function for a specific document to assist in view development/testing/debugging. Seems like simple thing, but I can't figure out how to do it. Is this possible?

urbangroove's picture
Asked 4 days 3 hours ago
Latest activity 26 min 55 sec ago

Couchbase indexing with Apache Storm

Hello,

I am planning to use Couchbase with Apache Storm. Since Storm inserts data into Couchbase heavily(i.e. 2~3k updates or inserts per second), view's indexing also keeps updated and restarted endlessly with the default auto-indexing settings. So querying with stale=false is always...

retto's picture
Asked 1 week 4 days ago
Latest activity 6 min 53 sec ago

very slow backup

something happend with my database, it's works very slow without load.
I have bucket with only 600 documents. this bucket configured for 700 MB using and currently uses only 35 MB. when I trying backup this bucket it's required a lot of time ~5 minutes. this is really bad result because I...

wildstar's picture
Asked 6 hours 28 min ago

The whole idea of perform was to Buy Fifa 15 Coins permit

The whole idea of perform was to Buy Fifa 15 Coins permit the capacity strike, constantly even, before instantly fighting on the reverse. The group would perform with five at the returning,

within a "V-shaped" development, with all the Libero or brush in the center. As being the...

ohassidi's picture
Asked 1 day 46 min ago

Create multiple indexes

Today I have multiple views in order to use they ability to filter and sort, for example if I have employee object the I have several views for it:

  • emit(employeeId);
  • emit(employeeAddress)
  • emit(employeeName)
  • This view are used mainly for filtering and sorting...

    retto's picture
    Asked 1 day 2 hours ago
    Latest activity 3 hours 23 min ago

    Remove all documents by View selection result

    I have a view and I need remove all documents from bucket which selected via view.
    I can select all ids and remove each document through Remove() method, but this way terribly slow in case a big amount of documents.

    Paras Mendiratta's picture
    Asked 2 days 7 hours ago

    Couchbase server showing network failure error after every few seconds

    Hi there,

    We are running couchbase community edition on linux box with 3 buckets and no replica. All the 3 buckets are connected to multiple node servers. Everything works fine until we switch on one of our node server which pushes multiple records to couchbase server (using our rest APIs...

    misterajc's picture
    Asked 2 days 17 hours ago
    Latest activity 2 days 14 hours ago

    Using an index for lookups of multiple records

    When I set up an index on source.sig, the query
    select * from default where source.sig = "ytHl-__aF1oA";
    uses the index and runs in milliseconds. However
    ...

    Pages