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
0answers
16 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"...
0
votes
1answer
71 views

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

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 ...
1
vote
0answers
15 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 ...
0
votes
1answer
75 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'...
0
votes
1answer
34 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
282 views

Is this an efficient schema for my CouchDB database?

I am trying to create a system to mock APIs. For that I'll have a group of contributors for a particular project who can edit and create certain APIs. Now only Admins can add a contributor to a group. ...
2
votes
2answers
520 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@...
1
vote
1answer
233 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. ...
3
votes
1answer
949 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 ...
0
votes
1answer
201 views

Why or Why Not Would MongoDB Be a Good Choice for a Flashcard RESTful API Backend [closed]

As a side-project and to learn a bit about creating RESTful APIs, I was thinking of writing a flashcard app since none of the existing ones suit my needs. The data would be fairly simple. Word, ...
4
votes
2answers
1k 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 ...
2
votes
1answer
279 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 ...
0
votes
2answers
587 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.
12
votes
2answers
2k 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 ...
1
vote
1answer
313 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 ...
0
votes
1answer
41 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 ...
-1
votes
1answer
49 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/...
3
votes
1answer
660 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 ...
2
votes
0answers
65 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 =...
4
votes
2answers
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 ...
4
votes
1answer
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 ...
16
votes
1answer
4k 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 ...
6
votes
1answer
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 ...
1
vote
1answer
155 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 ...
3
votes
1answer
161 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 ...
23
votes
3answers
14k 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 ...
18
votes
2answers
1k views

CouchDB vs MongoDB [closed]

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