couchdb missing file
curl localhost:5984/_users/org.couchdb.user:tyler {"error":"not_found","reason":"missing"} I am logged into futon as tyler, so i know that user exists. Anyone know what i'm doing wrong? ...
curl localhost:5984/_users/org.couchdb.user:tyler {"error":"not_found","reason":"missing"} I am logged into futon as tyler, so i know that user exists. Anyone know what i'm doing wrong? ...
Hi there, I have VM (Ubuntu 10.04, Apache, CouchDB 1.0, ...) with public ip address. Is it possible to access CouchDB (mainly Futon) from public ip address (i.e. 187.323.132.232:5984), not from http://localhost:5984? Or on my local machine, set up an ssh tunnel? ...
I have a process which posts documents similar to the one below to CouchDB: {"timestamp": [2010, 8, 4, 9, 25, 24], "type": "quote", "bid": 95.0, "offer": 96.5} Many such documents are posted over the course of a day, each timestamped appropriately. I want to create a CouchDB view which returns the last quote stored every day. I've b...
I am looking to create a cv bank which when i think about it in terms of storing the data in a relational database the complexity is pretty apparent. Would couchdb make better sense in this case? example of things i would be storing each a 1 to many relationships with user education, qualifications, employment, awards, languages, skil...
I am starting to study map-reduce databases. How can one implement a reference in a map-reduce database, such as CouchDB or MongoDB? For example, suppose that I have drivers and cars, and I want to mark that some driver drives a car. In SQL it's something like: SELECT person_id, car_id FROM driver, car WHERE driver.car = car.car_id (T...
Why does curl http://localhost:5984/blog/_design/comments/_view/total_num?group=true return {"rows":[ {"key":"sum","value":23}, ]} and not {"rows":[ {"sum": 23}, ]} ...
I need to implement a massive databse with a relatively simple structure. That is few tables, no complex dependencies, etc. How would I begin to choose between say Cassandra and CouchDB? ...
I have a crazy idea, which involves putting some clojure code into CouchDB and writing views that query it. I don't want to store the clojure code as plain text, because then I would have to worry about parsing it in the views. Formatting and comments don't need to be preserved, but the code should be able to go in and out of the databas...
hi, i want to do this: 1. PUT a xml string to couchdb server. something like: curl -X PUT http://localhost:5984/db/_design/app/_update/echo/h1 -d "<doc><name1>value1</name1><name2>value2</name2></doc>" at the couchdb server side, i parse the xml string into json object. save the json object as a document. is this possible? how...
Hi , I'm trying to move a reporting engine from a MySql DB (which is also the one used for batch jobs). while we stil need the benefits of an ACID DB for batch processes we have no need for them in reporting also map-reduce can benefit reporting much . do any of the two above have a way in which they can read the master logs (of mys...
I'm a Python programmer with experience using the json module. I've just meet CouchDB and seems very interesting. I wonder know if JSON data structures can be directly saved as a CouchDB document. Thanks, ...
My system is ubuntu 10.04 and I have CouchDB 1.0 installed. I can create admin, or more admins, log in as admin and everything works fine. Since 0.11 in CouchDB there is notion of users which are not admins, and can have fine grained rights to databases. I want to create such user. I open Futon, I am not logged in, and I click "Signup"...
Couchdb is great at storing and serving data, but I'm having some trouble getting to grips with how to do back-end processing with it. GWT, for example, has out of the box support for synchronous and asynchronous call backs, which allow you to run arbitrary Java code on the server. Is there any way to do something like this with couchdb?...
Hello, I have large data set, which I want to query. The query does not change but the underlying data does. From what I read, I could construct a "view" and query it. Also, I read that Couch DB knows how to update the view when data is changed so I assume querying the view again would be still fast. My questions are, do I understand C...
How is it possible to relete old revisions of couchdb document? ...
I am not sure how I can design the following problem in CouchDB. I have a logger web app that keeps track of how many items are in a warehouse. To simplify the problem we just need to know the total number items currently in warehouse and how long is each item stays in warehouse before it ships. Lets say the warehouse only have shoes bu...
Hello, Our company is working on a project that requires a database with 30-50 million rows of product data. These rows contain text that needs to be searched concurrently thousands of times per second. Moreover, each search needs to take less than one second to execute. So, all in all, we have a 50M row database that needs to be searc...
I need to know the factoring that needs to be taken into consideration when implementing a solution using CouchDB. I understand that CouchDB does not require normalization and that the standard techniques that I use in RDBMS development are mostly thrown away. But what exactly are the costs involved. I perfectly understand the benefits,...
I recently encountered a situation where my CouchDB instance used all available disk space on a 20GB VM instance. Upon investigation I discovered that a directory in /usr/local/var/lib/couchdb/ contained a bunch of .view files, the largest of which was 16GB. I was able to remove the *.view files to restore normal operation. I'm not sur...
Hi, I'm wondering if serving documents from couchDB directly is an actual typical real world scenario, or if most people use it inside server code (as with traditional databases) and then serve from there ? I find couchDB pretty interesting but wonder how to integrate the database access with normal web scenarios.. there isn't so much...