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)

97 questions
1
vote
2 answers

Storing Hundreds of Millions of Records

My company will be coming into possession of a dataset consisting of approximately 200-300 million records. The source material is csv and is about 150GB uncompressed. We would need to perform an initial load of the data and then updated…
Edwin Knuth
  • 31
  • 1
  • 3
1
vote
1 answer

How can I proxy couchDB as a sub-diectory with lighttpd?

I have a sub-directory on my web server (lighttpd) that I want to point at a CouchDB instance running on the same machine. I tried using mod_proxy but it sends along the whole request, like a proxy should, I know! So: // What happens: Lighttpd: …
xj9
  • 155
  • 5
1
vote
2 answers

Need simple, fast way to store large gobs of xml to a server

Our client software is currently sending large amounts of xml to our SQL Server db, stored as NTEXT, and the db is getting huge and performance is suffering. This xml doesn't need to be indexed, just needs to be persisted somehow to disk. Is there…
Jacko
  • 163
  • 6
1
vote
0 answers

Couchdb 3.1.1 increases disk latency gradually over weeks

I've been dealing with this issue for weeks now. I have the followin scenario: couchdb2.3.1-A <===> couchdb2.3.1-B <===> couchdb3.1.1-A <===> couchdb3.1.1-B where <===> represents two pull replications, one configured on each side. i.e: couchdb1…
1
vote
0 answers

Configuring CouchDB with Lets Encrypt SSL certificate

I basically have exactly the same issue as configure CouchDB with Lets Encrypt SSL certificate, so have followed this answer. But it's still not working. I've started with the Bitnami CouchDB VM on Azure, so CouchDB 3.3.1 is already set up (on…
David G
  • 111
  • 1
1
vote
1 answer

CouchDB deleted database shards

Currently running clustered CouchDB v3.1.1 on an AWS EC2 Instance q=2 n=3 Number of Nodes: 1 I have moved the database directory to another drive on my VM. But can't find any on the documents regarding the files under /var/lib/couchdb/shards or…
0
votes
3 answers

How to access a service inside a linux virtual machine

I've recently installed linux using Sun's VirtualBox. I was wanting to play around with CouchDB, so I installed it onto the linux vm and have it up and running. Now, how do I get my host (Win7) to access the CouchDB database? I did an ipconfig and…
user28507
  • 103
  • 1
  • 2
0
votes
0 answers

Fauxton behind Nginx is not fully working, what are the expected headers?

Fauxton (CouchDB manager) behind Nginx is not fully working. Following Nginx block from CouchDB Wiki is not working at all: location /couchdb { rewrite /couchdb/(.*) /$1 break; proxy_pass http://localhost:5984; proxy_redirect off; …
ceremcem
  • 218
  • 1
  • 12
0
votes
2 answers

Firewalld seems to be blocking connecting to my CouchDB 2.0

I'm trying to set up a CouchDB 2.0 instance up on my CentOS 7 server. I've got it installed and running as a systemd service and it responses with its friendly hello world message when I access it from the server using 127.0.0.1 or 0.0.0.0 $ curl…
WebSnake
  • 43
  • 1
  • 1
  • 7
0
votes
1 answer

Reverse proxy CouchDB web frontend (Futon) without exposing CouchDB API

Is it possible to just reverse proxy Futon, without exposing the CouchDB root and RESTful API? I have the following nginx config: server { # This should never be hit, as the port isn't open, # but it's here for completeness sake listen 80; …
Xophmeister
  • 147
  • 7
0
votes
1 answer

Couchdb service shuts down a second after start

I'm having problems getting the couchdb service running. When I start it, it only lives for a second or so before shutting itself down. Here's an example - first a status command showing it's inactive. When started it claims to be running, next…
hallvors
  • 103
  • 1
  • 4
0
votes
1 answer

Failure installing and running couchdb on Lubuntu

I'm trying to get started using CouchDB on a laptop where I recently installed Lubuntu (15.10). I'm having strange issues.. Yesterday, I installed CouchDB (sudo apt-get install couchdb) and it ran fine. Today when I turned the computer back on, I…
hallvors
  • 103
  • 1
  • 4
0
votes
0 answers

What could make upload speeds vastly differ in CouchDB vs Apache?

Imagine a server running CouchDB (on port 5984) and Apache (on port 80). Sending a 10MB POST to each servers yields wildly different results; it takes an average of 1-minute 30-seconds for POST'ing to CouchDB via Futon ('Upload attachment'), and…
Michael Deal
  • 101
  • 1
0
votes
1 answer

Supervisord cannot start CouchDB server on CentOS 5.9

I've installed CouchDB v1.0.4 and I want to monitor it's process with Supervisor (the version installed is 2.1.3). I can start CouchDB just fine with: $ /usr/bin/couchdb I have the following basic configuration for it in…
Bogdan
  • 103
  • 3
0
votes
2 answers

Access-Control-Allow-Origin "*" not allowed when credentials flag is true

I have an ajax request which connects to http://example.com:6001. However, it will work only when I open http://example.com:6001 in the browser, which loads index.html (which is run though Node.js on port 6001). This works fine and ajax returns:…
TrySpace
  • 101
  • 1
  • 4