Questions tagged [couchdb]

Apache CouchDB, commonly referred to as CouchDB, is an open source database that focuses on ease of use and on being "a database that completely embraces the web". It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce and HTTP for an API. One of its distinguishing features is easy replication.

Apache CouchDB, commonly referred to as CouchDB, is an open source database that focuses on ease of use and on being "a database that completely embraces the web". It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce and HTTP for an API. One of its distinguishing features is easy replication.

Unlike in a relational database, CouchDB does not store data and relationships in tables. Instead, each database is a collection of independent documents. Each document maintains its own data and self-contained schema. An application may access multiple databases, such as one stored on a user's mobile phone and another on a server. Document metadata contains revision information, making it possible to merge any differences that may have occurred while the databases were disconnected.

CouchDB implements a form of Multi-Version Concurrency Control (MVCC) in order to avoid the need to lock the database file during writes. Conflicts are left to the application to resolve. Resolving a conflict generally involves first merging data into one of the documents, then deleting the stale one.

Other features are ACID semantics with eventual consistency, MapReduce, incremental replication and fault-tolerance. Administration is supported with a built-in web application called Futon.

(from Wikipedia)

100 questions
2
votes
2 answers

Upgrade default install of CouchDB on Ubuntu 10.04

I've installed ubuntu 10.04 LTS, and ran apt-get install couchdb. This installed 0.10.0, however the newest is 0.11.0 and I would like to install that from source. What's the appropriate way of upgrading the current install to the newest version?
WedTM
  • 301
  • 4
  • 16
2
votes
0 answers

CouchDB replication tanks performance

We have an API implemented in Tornado using CouchDB as it's backend. Usually, queries to CouchDB finishes in less than 50ms. But lately, queries takes up to 250ms, sometimes more. After some New Year's Day troubleshooting, we figured out that…
pepoluan
  • 4,918
  • 3
  • 43
  • 71
1
vote
0 answers

Install COUCHDB and OPA(Open policy Agent) on SUSE Linux machine

I am trying to Install COUCHDB and OPA on SUSE Linux machine. And I am trying to get correct package or repo which could be compatible with SUSU, But I am not able to find correct solution so far. It would be appreciated if anyone can help me to…
Gaurav
  • 11
  • 1
1
vote
1 answer

CouchDB replication recommended topologies

I am working on a proposal for a system with seven CouchDB servers (A,B,C,D,E,F,G) in different countries. The idea is to configure multi-master replication so that all data can be kept in sync. I could configure bi-directional replication from each…
gdelfino
  • 95
  • 1
  • 9
1
vote
1 answer

CouchDB init.d script for Trusty

I have installed CouchDB 1.6.1 on a Trusty box via the Apache CouchDB PPA (couchdb/stable). This all seems to work, except that I cannot start the service using service couchdb start (similarly for stop). I've got around this by putting the…
Xophmeister
  • 125
  • 6
1
vote
1 answer

Is it possible to replicate _users in CouchDB with a non-admin user, but "users_db_public = true"?

Via a non-admin user, I am able to GET any user with users_db_public = true and public_fields set to something valid without authorization problems, as expected. However I am getting 401 (Unauthorized) errors when trying full replication via pouchdb…
nylki
  • 203
  • 2
  • 9
1
vote
1 answer

Autoscaling with Nodejs on Google Compute Engine

I am trying to get my backend stuff up and running and I am looking into the best way to save money, my app does api request usually between 8:30 am and 8:30 at night, with the morning, lunch and night having huge peaks. What I planned to do is set…
1
vote
1 answer

Howto use CouchDB behind Apache reverse proxy?

I just installed CouchDB from source on my Debian with apache 2.4.10. $ curl http://localhost:5984/ …
Maxx
  • 121
  • 4
1
vote
0 answers

CouchDB Authentication and Security

i used this link to install CouchDB on virtual machine http://depth-first.com/articles/2010/01/28/pubcouch-install-couchdb-on-ubuntu-karmic-from-source/ everything goes fine, after that i tried to run this script to create DB curl -X PUT…
1
vote
1 answer

Increment CouchDB concurrent connections

I'm using CouchDB to serve thousands of requests per second. When under heavy load, it seems to respond slowly so I began to ran tests with apache bench. Couch can respond 50k requests, 1k concurrent. I then raised the concurrency to 2k, but the…
Parziphal
  • 121
  • 6
1
vote
1 answer

Installation problems with CouchDB 1.6 on Ubuntu 15.10

After using CouchDB 1.4 on Ubuntu 14.04, I recently tried to start fresh with 15.10 and the main couchdb package. It installed couchdb 1.6 which was a welcome change, but the ubuntu installation documentation on the couch site hasn't been…
paintedbicycle
  • 199
  • 1
  • 3
  • 15
1
vote
1 answer

couchdb public access - start failures eaddrnotavail

If I start the couchdb service it fails and with journalctl-xe i can see the following: start request repeated too quickly for couchdb.service And when i do couchdb -i i get the following error: Failure to start Mochiweb: eaddrnotavail In the file…
user2834172
  • 113
  • 3
1
vote
0 answers

Bad HTTP Location: header with nginx proxying couchdb

I'm using nginx as a reverse proxy for CouchDB. I'd like to use a prefix for the proxy, e.g. http://[ip]:8080/proxy/testdb -> http://localhost:5984/testdb. I'm getting Location: headers in the HTTP response which are causing my HTTP client to…
tater
  • 1,395
  • 2
  • 9
  • 12
1
vote
0 answers

aws instance froze, how to find out what went wrong

So we have a instance on AWS that runs CouchDB which was down and not accessible until we rebooted the box (which took a long time). The instance is back up now and I am trying to figure out what went wrong. At the time of the problem, I was not…
Herman
  • 111
  • 1
1
vote
2 answers

Proper config for Couchdb + SSL Ubuntu. Getting error: curl: (35) Unknown SSL protocol error in connection to 127.0.0.1:6984

I'm looking to use CouchDB with SSL and nodejs and I have just switched from self signed certificates (which were working for over a month) to a real SSL certificate and now I'm running into configuration issues. I've scattered a few questions along…
paintedbicycle
  • 199
  • 1
  • 3
  • 15