Questions tagged [bigcouch]

BigCouch creates a cluster of CouchDB databases, acting in concert to store and retrieve documents, index and serve views, and serve CouchApps.

BigCouch has been developed in Erlang by Cloudant and then released as an Apache License 2.0 open source project.

BigCouch allows users to create clusters of CouchDBs that are distributed over an arbitrary number of servers. While it appears to the end-user as one CouchDB instance, it is in fact one or more nodes in an elastic cluster, acting in concert to store and retrieve documents, index and serve views, and serve CouchApps.

Each node of the cluster can accept requests, data is placed on partitions based on a consistent hashing algorithm, and quorum protocols are for read/write operations. It relies on Erlang & the Open Telecom Platform, despite using its own RPC mechanism over OTP’s own “rex” server.

Its future will be a merge with CouchDB.

23 questions
48
votes
1 answer

Dealing with conflicts caused by replication in BigCouch

The CouchDB Replication and Conflicts wiki page suggests using _bulk_docs with all_or_nothing=true to forcibly write new versions of documents even if that introduces conflicts on write, but then resolve shortly after on subsequent reads. I've…
akent
  • 4,068
  • 28
  • 27
12
votes
1 answer

moving a shard from one bigcouch server to another (for balancing)

I'm currently testing bigcouch for big amounts of data (15 million records daily). When I need to generate views of the data, I experience some balancing problems, because one of my two machines is much weaker than the other one. The result is, that…
andy
  • 1,852
  • 2
  • 20
  • 31
6
votes
1 answer

How to trigger or check status of chained map reduce (dbcopy)

With standard CouchDB view indexes, I have flexibility and introspection into staleness vs. freshness. How do I get the analogous functionality for Cloudant's dbcopy feature? CouchDB view query freshness current index on disk, possibly stale:…
nicholas a. evans
  • 2,163
  • 1
  • 17
  • 17
5
votes
3 answers

For a clustered CouchDB setup, should I just go ahead and use BigCouch?

I've been looking into CouchDB's attachments functionality. Basically, CouchDB allows you to store binary file data inside database records. Similar to MongoDB's GridFS. The project I'm wanting to build revolves heavily around file uploads, which I…
Ryan
  • 7,733
  • 10
  • 61
  • 106
4
votes
1 answer

How are views in CouchDB stored on disk?

I understand that CouchDB views are pre-computed, now I'm wondering what the storage cost is per view. How can this be estimated? Is it the raw JSON size of the emitted data? To be more specific, it's BigCouch (Cloudant).
user187676
3
votes
2 answers

couchdb Max_document_size

We are going to use bigcouch to serve images. The max image size is ~5MB. The config value is at 64MB. Should we change it to somewhere close? What is the reason behind it? Thanks, Kathleen
3
votes
1 answer

How can I maintain history (like VCS) in CouchDB, BigCouch, or other open source DB?

I'm looking for a way to use CouchDB or BigCouch (or another "compatible" DB) in such a way that all revision history can be maintained or at least archived. I know that CouchDB internally does this anyway, and only deletes old revisions upon…
Otto
  • 1,675
  • 2
  • 19
  • 30
3
votes
1 answer

490KB insert crashes BigCouch

I have a BigCouch cluster with Q=256, N=3, R=2, W=2. Everything seems to be up and running and I can read and write small test documents. The application is in Python and uses the CouchDB library. The cluster has 3 nodes, each on CentOS on vxware…
user634943
  • 101
  • 1
  • 4
2
votes
1 answer

How to remove a node from BigCouch cluster?

I created BigCouch cluster with 4 nodes, simply by sending PUT to nodes databases: curl -X PUT http://bigcouch-a.example.com:5986/nodes/bigcouch@bigcouch-a.example.com -d {} curl -X PUT…
Roadrunner
  • 6,661
  • 1
  • 29
  • 38
2
votes
1 answer

What role should I use to programmatically create and delete databases in Cloudant/BigCouch/CouchDB?

Cloudant, CouchDB and BigCouch all recommend creation of user specific databases as a way to implement document level access control. i.e. AliceDB will have only documents that Alice can read, BobDB will have only Bob's docs and so on. Implementing…
rahulmohan
  • 1,285
  • 11
  • 19
2
votes
1 answer

Cloudant - search index for free text search - collecting values into String VS Array

Considering documents like { firstName: "Jack", lastName: "Smith"} and {firstName: "Simon", lastName"Jackson"} to build up a search index for "free-text" - I can do either: for(var key in doc) index("default", doc[key], {"store":true}); //e.g.…
Tomanel
  • 23
  • 2
2
votes
1 answer

Cloudant "case_clause" error with pouchdb when replicating

I am working with Pouchdb and Cloudant, and when my web app starts up it does a replication from Cloudant down to my pouchdb in the browser. I have an idea of how pouchdb works internally, and this is how I believe the process works (high…
Todd Bluhm
  • 185
  • 2
  • 9
1
vote
1 answer

Which criterion should we consider if we need to choose between cassandra and bigcouch?

What are the pros / cons? Which of the both would better fit in a P2P client?
Daniel Gartmann
  • 11,678
  • 12
  • 45
  • 60
1
vote
0 answers

Change Bigcouch hostname

Is there any elegant way to change the Bigcouch hostname? Bigcouch just automatically assumes it's name is bigcouch@FQDN so that is sprinkled through out all the databases you create on it. When you change the FQDN Bigcouch craps it's pants and…
fred
  • 1,146
  • 11
  • 16
1
vote
0 answers

getting multiple documents with one single requests in bigCouch

I'm trying to get multiple documents with one single request (http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API#Fetch_Multiple_Documents_With_a_Single_Request) in bigCouch but it doesn't seem to work as expected, it returns all the documents in…
Félix
  • 579
  • 4
  • 21
1
2