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
0
votes
1 answer

CouchDB 0.11 on Ubuntu 10.04

i have successfully installed CouchDB 0.11 on Ubuntu 10.04 based on the Installation instruction in couchdb wiki for ubuntu 10.04. with appending " --bindir=/usr/bin --sbindir=/usr/sbin --localstatedir=/var --sysconfdir=/etc" in ./configure And…
ShenoudaB
  • 101
0
votes
1 answer

Changing couchdb database directory leads to 502 error

I am currently running a couchdb server on AWS M5ad.xlarge instance. I have mounted the 150 gb drive separately. I am trying to point the couchdb data directory to the mounted drive. However, when I do so, I get a 502 error when I try to access port…
0
votes
2 answers

How to autostart apps in OS X as a different user

I am playing with CouchDB and whenever I do, I first have to issue sudo couchdb -i -u couchdb couchdb -b This starts CouchDB as the user couchdb, group couchdb. I then also have to enter my password again (I am admin but still need to, when doing…
raoulsson
  • 4,763
  • 10
  • 34
  • 29
0
votes
1 answer

Allow read/write to any CouchDB database for non-admins

I have a CouchDB instance where I have created an admin user, so that way only the admin user(s) can create and delete databases. I am able to create the database just fine as the admin user, but if I try to read from the db without the admin…
Matt
  • 101
  • 1
0
votes
0 answers

CouchDb SSL certificate

I'm currently trying to get my CouchDb installation up and running with a SSL certificate. My configuration is as follows: [ssl] port = 6984 enable = true cert_file = /ssl/bws2020.crt key_file = /ssl/bws2020.key ;password = N3sHfhgV4 ; set to true…
0
votes
2 answers

How to make a secure communication between nodes for replication?

I searched for the best way to establish a replication between two servers with CouchDB but I do not find any infomation on it. The manual in https://docs.couchdb.org/en/stable/setup/cluster.html does not talk about this. Currently, I am using a SSH…
-1
votes
2 answers

GCP Local SSD dissapeared

I am running a Kubernetes cluster in GCP and using a local SSD as the persistent disk for a CouchDB service. I've checked today and the disk just disappeared, it is not accessible anymore and thus I can't access my data. When I run lsblk to see the…
1 2 3 4 5 6
7