I have a database and I want to truncate all records, I know it is possible to just add a _deleted key to every document or call db.delete() on CouchDB-python library. I am using the delete of couchdb-python but it does not seem to work when I fetch…
I have 120k JSON records in CouchDB, where i have created 6 views under one design document. While accessing the view it gives me timeout error.
(org.lightcouch.CouchDbException: << Status: 500 (Internal Server Error)…
I'm currently exploring CouchDB replication and trying to figure out the difference between max_replication_retry_count and retries_per_request configuration options in [replicator] section of configuration file.
Basically I want to configure…
Let's say some of my documents have the following structure:
{
"something":{
"a":"b"
},
"some_other_thing":{
"c":"d"
},
"what_i_want":{
"is_down_here":[
{
"some":{
…
I've built up a CouchDB cluster of 4 nodes to store the tweets I retrieved
The cluster was configured to have 8 shards and keep 3 copies of each document
[cluster]
q=8
r=2
w=2
n=3
I haven't added any views or additional indexes and the size of the…
Looking at one of the CouchDB 2.0 lead-up blog posts (here), there is mention of shards (q), copies (n) and nodes.
Reading up on Couch 2.0 suggests (to me at least) that a node is basically an instance of Couch, which can either be a shard or a…
I just finished setting up a CouchDB cluster with 3 nodes. Now I am trying to shard my data to scale the database, this is what I did to create a database with 2 shards and 2 replicas:
Create a database with the command
$ curl -X PUT…
I just set my three CouchDB instances as a cluster, this is how I did when I set it up:
Add "-kernel inet-dist-listen-minimum/maxinum" from 9100 to 9200 to the vm.args file. and shut down the firewall
Set three couchdb instanes' using the same…
I am working on a use case where every user has to have his/her private couchdb database. I came across the couch_peruser configuration flag in CouchDB 2.0 CouchDB Official Link. Setting this flag to true create a private database for every user in…
From previous work on CouchDB 1.6.1, I know that it's possible to implement document joins in a couple ways:
For example, with a simple schema of 'studentsand 'courses:
// Students table
| Student ID | Student Name
| XYZ1 | Zach
// Courses…
After installing couchdb using a script I am having some issue, my couchdb instance in not running
Os is ubuntu 16.04
couchdb version 2.0.0
following is the error.
Feb 03 16:55:30 hisab-couchdb couchdb[2003]: [error] 2017-02-03T16:55:30.432974Z…
I have a cluster of three couchdb 2.0 nodes A (in America) B (in Europe) and C (in Asia). All of these are behind a domain (say domain.com) and I am using nginx to load balance using the GeoIP module. So for e.g. a request from Asia would be routed…
Am I right in thinking that it is not possible to edit/view a local document in a CouchDb database using Fauxton?
I can't see how to do it from the UI, and Googling returns no references to being able to do it.
Local documents aren't a major part of…
I have a node.js application that is using Apache CouchDB for it's NoSQL database. I am new to Heroku and just deployed my API to Heroku instance. I tried pusing docker image of Couchdb to heroku but its throwing error
[WARN tini (3)] Tini is not…
Details:
Apache CouchDB v. 3.1.1
about 5 GB of twitter data have been dumped in partitions
Map reduce function that I have written:
{
"_id": "_design/Info",
"_rev": "13-c943aaf3b77b970f4e787be600dd240e",
"views": {
"trial-view": {
…