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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Does CouchDB replication include index?

As the title asked: Does CouchDB replication include index? Or must I add index to the target side?
user avatar
  • 187
0 votes
0 answers
37 views

How to Diagnose Weatherreport from CouchDB

After building CouchDB from github. I run weatherreport as recommended in documentation to get the following error. How do you diagnose exactly whats going wrong? 17:38:27 WARN: 'escriptize' ...
user avatar
0 votes
0 answers
55 views

CouchDB Docs getting Corrupted

What might be the reason to get data corrupted I am using CouchDB version: 1.6.1 In our project, we make all kinds of transactions with CouchDB like add, delete, edit. I am having many docs, for which ...
user avatar
0 votes
1 answer
458 views

member access to couchDB browser gui fauxton

I'm using Couchdb v3.0.0, and testing the browser GUI. I have created users in the database "_users", and have also assigned a role to that user. I have tested by getting related documents via curl ...
user avatar
  • 1
2 votes
2 answers
429 views

How does Couchdb calculates the document revision number?

Whats the exact algorithm to calculate the CouchDB revision number. CouchDB uses a deterministic algorithm to calculate the document revision number. Here is one relevant doc I found: https://...
user avatar
1 vote
1 answer
500 views

Disabling auto compaction in CouchDB

I would like to disable auto compaction on my CouchDB instance - so that I can get a full history of all the database updates. Is this possible? If so, how do I go about it? Is there a reason why I ...
user avatar
  • 111
0 votes
1 answer
156 views

CouchDB n & q values

I'm new to CouchDB. I'm going through its config. Current configuration is as below. n = 3 q = 8 I understand n = 3 means 3 nodes and q = 8 means 8 shards. I don't have a cluster in place. Is it ...
user avatar
1 vote
1 answer
552 views

Complex queries in CouchDB across multiple documents

I'm relatively new to CouchDB (more specifically Cloudant if it matters) and I'm having a hard time wrapping my head around something. Assume the following (simplified) document examples: { "docType"...
user avatar
  • 283
0 votes
1 answer
418 views

Multi-master (NoSQL) database solutions with cloud and no-premise option [closed]

We are currently investigating database options for distributed database (possibly globally distributed) where the data in general is stored in "cloud" (this would not be a special requirement). The ...
user avatar
  • 1
1 vote
0 answers
50 views

Couchbase backup and restote through copy data files

I was exploring couchbase backup and restoring procedures then we found standard procedures. But, if I can take data directory backup in the form of .tar and untar data directory whenever restore ...
user avatar
  • 133
0 votes
1 answer
178 views

SSL errors with Couchdb on Ubuntu 14.04

I am beginning to set up CouchDB on an Ubuntu 14.04 Server (yes, it expires next year) and I'm having troubles setting up SSL connections. For the moment, I don't have any CA signed certs for it, so I'...
user avatar
0 votes
1 answer
97 views

Is storing redundant data part of the (CouchDB) self-contained data concept?

The CouchDB concept speaks about self-contained documents. In other words: ALL related data is stored in a single concept, instead of splitting them in multiple tables and reference each other using ...
user avatar
  • 151
2 votes
1 answer
3k views

is possible to use graphql with couchdb?

I work well with graphql environment, and I need to use couchdb, but his api with uris like rest api, it's for me a little old way to retrive data. Is possible to use graphql with Couchdb ? or there ...
user avatar
  • 201
2 votes
2 answers
997 views

Difference between all_nodes VS cluster_nodes CouchDB 2.X cluster membership?

The _membership endpoint in CouchDB (http://user:pass@domain:5985/_membership) returns the following json to me: { all_nodes: [ "couchdb@n1.domain.me", "couchdb@n2.domain.me", "couchdb@...
user avatar
  • 2,222
1 vote
1 answer
289 views

Local CouchDB on Mac Opens New Browser Tab Every 5 Seconds

I am doing some testing with CouchDB. I downloaded the CouchDB application on my Mac and ran it - it opened in my browser, I verified, created a database, added docs ... then I closed the application. ...
user avatar
  • 113
3 votes
1 answer
1k views

SQL equivalent to CouchDB for 2 way replication

Are there any SQL server variants (i.e MySQL, Postgresql etc) that handle replication as well as couch db does and offers client side replication (2 way)? I'm in the early stages of my app which is ...
user avatar
  • 575
4 votes
2 answers
2k views

Stopping a running compaction process

I need to run compaction on a production CouchDB instance, that may not have had compaction run on it before. If compaction puts too much additional load on the CouchDB instance, is it possible to ...
user avatar
2 votes
1 answer
320 views

Requests to local CouchDB have 40ms latency

Requests to a CouchDB instance on the same machine have about 40ms latency when HTTP keepalive is used by the client, about 0-1ms latency when the client does not use keepalive. What causes this ...
user avatar
  • 141
0 votes
2 answers
661 views

Data Validation before entry into Couchbase server?

Is it possible to validate the data before it is entered into couchbase? I did not find any documentation confirming this. But I believe there must be some way to do it.
user avatar
  • 212
12 votes
3 answers
3k views

CouchDB and document versioning

I'm currently working on a wiki-esque application using CouchDB and am trying to implement a document versioning scheme. The way I see it there are two ways of doing this: Store each version as a ...
user avatar
1 vote
1 answer
322 views

View collation are incomplete joins in couchdb

I was trying to create view collations following this tutorial: http://elegantcode.com/2012/02/14/view-collation-in-couchdb/ but I realize that the result was an array with 5 elements with 2 objects ...
user avatar
0 votes
1 answer
42 views

Collate view with old record on couchdb

I need to create a collate view with couch db but I dont want to use the current records, I want to use records of a specific revision. For example, lets imagine that I have an invoice with an array ...
user avatar
-1 votes
1 answer
53 views

Select cleaned Adress Data in an Database

I have 80.000.000 Entries about Persons. They are built up like: Max;Mustermann;Examplestreet;50;9900;City 88000 is one ZIP Code, 8800 Zip Codes exist. I want to find out the entry based on Street/...
user avatar
3 votes
1 answer
731 views

Can a Couchbase application work with no network connection (like CouchDB)?

I'm building an application where users running android tablets will have to be able to write to a database (running on their local device) with NO network connection and sync using peer-to-peer ...
user avatar
  • 33
2 votes
0 answers
73 views

CouchDB views and references

Not sure if/how it is intended to be done but i am trying to match up all the active document in my database with the author of it: function(doc) { if (doc.data.active && doc.data.active =...
user avatar
4 votes
2 answers
8k views

NoSQL, CouchDB vs. CouchBase, What should i do? [closed]

I started to encounter some issues on my production site, when having a web page that needs to load a very big ResultSet (currently coming from relational database, MySQL) it takes forever, and ...
user avatar
  • 61
4 votes
1 answer
1k views

SQLite or CouchDB for Locational Data Mining Project?

I am currently designing a Data Mining Project where I am going to harvest rather large volumes of Twitter data in order to analyse locational data (geocoded tweets) and do some machine learning with ...
user avatar
  • 143
16 votes
1 answer
5k views

How do databases store index key values (on-disk) for variable length fields?

Context This question pertains to the low-level implementation details of indexes in both SQL and NoSQL database systems. Actual structure of the index (B+ tree, hash, SSTable, etc.) is irrelevant as ...
user avatar
6 votes
1 answer
2k views

How to handle "reference tables" in CouchDB?

What's the best way to handle "reference tables", tables that contain static data, for example a list with various kinds of ingredients for food? Multiple documents, one for each ingredient One ...
user avatar
  • 173
1 vote
1 answer
164 views

Document Design and Document IDs

I was wondering about specifying id's in CouchDB. For example: House - Rooms -- Kitchen -- Living room -- ... - Windows - Doors There are some documents, like "House", where there is and will only ...
user avatar
  • 173
3 votes
1 answer
196 views

Does document "depth" affect CouchDB performance?

I have a project where it is very tempting to use a deeply nested collection of data. But how does that affect performance? Are there any reasons why I should avoid doing this? I'm talking about lists ...
user avatar
  • 131
23 votes
4 answers
15k views

What does horizontal scaling mean?

In database context, I have come across horizontal scalability as one of the advantages of the NOSQL databases. What does the term mean? CouchDB on Wikipedia NoSQL on Wikipedia How would it compare ...
user avatar
  • 3,261
18 votes
2 answers
1k views

CouchDB vs MongoDB [closed]

Evaluating document-oriented storage, what are the pros and cons of CouchDB vs MongoDB?
user avatar
  • 885