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
28
votes
7 answers

Why can't I access my CouchDB instance externally on Ubuntu 9.04 server?

Update: I got it working now. Jim Zajkowski's answer helped me detect that my /etc/init.d/couchdb reboot calls weren't actually rebooting the instance. After I manually killed the CouchDB processes and started a new instance, it picked up the…
rcampbell
  • 1,025
  • 4
  • 14
  • 24
12
votes
1 answer

How to avoid restarting Apache proxy when you restart CouchDB

I'm running a localhost CouchDB instance using CouchDBX on my Mac, proxied behind Apache 2 using the ProxyPass directive: ServerName playlick # points to localhost in /etc/hosts DocumentRoot "/Users/james/Sites/playlick" …
James Wheare
  • 223
  • 2
  • 5
7
votes
3 answers

configure CouchDB with Lets Encrypt SSL certificate

What i would like to do: Now I'm using a self signed SSL certificate which works wonderful. But I would like to replace them with an official one of lets encrypt. What i have (self signed certificate): Here is a output of the important settings…
mnewmedia
  • 171
  • 1
  • 8
6
votes
5 answers

How to remove all Couchdb versions in Ubuntu 10.04 (server)? ( after multiple installs )

I have done multiple installs of CouchDB using sudo aptitude install couchdb sudo ap-get install couchdb and more recently based on the instructions found at L http://wiki.apache.org/couchdb/Installing_on_Ubuntu May I know how do I uninstall or…
DjangoRocks
  • 201
  • 1
  • 2
  • 6
5
votes
2 answers

CouchDB replicate ALL databases?

I have a CouchDB I'd like to replicate to another server in order to do backup dumps without taxing the production server. The production CouchDB has a varying number of databases and I'd like to sync everything and not worry about how many DBs are…
Tommy Burazin
  • 53
  • 1
  • 6
5
votes
2 answers

Scalable CouchDB setup

I want to migrate an existing application that has approx. 10 million records stored in a relational database to CouchDB. The thing that I love about CouchDB is easy replication and fast cached views. The thing I don't like is the write and view…
jensendarren
  • 383
  • 2
  • 12
4
votes
3 answers

couchdb 1.6.0 from source - jsapi.h: present but cannot be compiled

I'm trying to install couchdb 1.6.0 from source on CentOS 6.5 (EPEL resository has a very old version unfortunately) following this guide. Everything went fine until ./configure step on couchdb - error: Could not find the jsapi header I added…
Leo
  • 141
  • 1
  • 2
4
votes
2 answers

How to configure SSL for CouchDB

How do I configure Couchdb to use ssl, I've followed the instructions here with no success. I generate my own self-signed certificate: mkdir cert && cd cert openssl genrsa > privkey.pem openssl req -new -x509 -key privkey.pem -out mycert.pem -days…
Martinffx
  • 257
  • 3
  • 5
4
votes
1 answer

Filesystem compression a good idea for CouchDB storage?

I'm hosting CouchDB databases on Amazon EC2, and I was wondering if I can have better I/O performance (and better disk utilization, of course) if I use a filesystem that supports compression. I remember reading somewhere that the future versions of…
Hristo Deshev
  • 224
  • 2
  • 9
4
votes
2 answers

CouchDB cross domain access from web?

Currently, web application need to offer some kind of cross-domain HTTP header to access data on other domain: http://openfontlibrary.org/wiki/Web_Font_linking_and_Cross-Origin_Resource_Sharing Is there any way to configure CouchDB to support…
Eonil
  • 9,689
  • 15
  • 34
  • 53
3
votes
2 answers

How to host CouchDB with Fauxton at a non-root location using Nginx as reverse proxy

CouchDB is bundled with a version of Fauxton that has a critical bug that prevents Fauxton from working if CouchDB is hosted at a non-root location. So if you want to host CouchDB at /couchdb, then the bundled Fauxton at /couchdb/_utils would try to…
W1M0R
  • 143
  • 5
3
votes
0 answers

CouchDB slow performance in Docker with "host" network vs. "bridge

I noticed the dockerd and docker-proxy processes were using more CPU than expected, 15% and 24% respectively, so I decided to use the "host" network to avoid the overhead. However, the results I got were much worse. How to explain this? The same…
Giovanni Tirloni
  • 5,693
  • 3
  • 24
  • 49
3
votes
0 answers

CouchDB 2.0 Cluster installation

I am trying to setup a CouchDB cluster with 3 nodes in my local machine. I am using the official docker image from here: https://hub.docker.com/r/klaemo/couchdb/ First, I create 3 data volumes which will be used by the containers. docker create -v…
3
votes
1 answer

Apache couchDB service terminates on Windows 10 Single language

After rebboting the machine the Apache CouchDB service seems to be stopped, if we manually starts , its getting started. Ihave checked the eventviewer got the folowing errors. Kindly help me t o resolve this The apache couchDB service terminated…
Jobin
  • 31
  • 5
3
votes
2 answers

Couchdb attachment hashes don't match attachment content

While doing some auditing of a database, I found that some attachment content did not match the hashes given in the document's _attachments map. I tested this by downloading the document and calculating its hash. Comparing that to couchdb showed…
vezult
  • 400
  • 2
  • 5
  • 14
1
2 3 4 5 6 7