couchdb

Language/Framework support for Interacting With CouchDB

I am interested in knowing if there are any server-side web application frameworks which integrate nicely with CouchDB? Does anyone have any experience in doing this? It seems like a dynamic language would be well-suited for playing with the JSON, but I am more interested in hearing about how it would fit in with the framework and the ap...

MongoDB or CouchDB - fit for production?

I was wondering if anyone can tell me if MongoDB or CouchDB are ready for a production environment. I'm now looking at these storage solutions (I'm favouring MongoDB at the moment), however these projects are quite young and so I foresee that I'm going to have to work quite hard to convince my manager that we should adopt this new tec...

What is the rationale for document-centric systems?

I know of two famous document-centric systems: Sharepoint server and Lotus Notes. There must be others. I've heard of CouchDB, for example. What are the main implementation differences, and how do they affect: Usability Retrieval performance Search performance/quality Extensability/ integration Bonus if you can elaborate on why yo...

Trouble with views in CouchDB

I've followed the info at http://books.couchdb.org/relax/browsing-map-views as closely as possible but I'm not able to generate a view for my document. My database name is "twitter" and my design document looks like this: { "_id": "_design/testdocview", "_rev": "2-3250434125", "views": { "getRev": { "map": "f...

Does CouchDB support multiple range queries?

How are multiple range queries implemented in CouchDB? For a single range condition, startkey and endkey combination works fine, but the same thing is not working with a multiple range condition. My View function is like this: "function(doc){ if ((doc['couchrest-type'] == 'Item') && doc['loan_name']&& doc['loan_period']&& ...

How to stop thinking "relationally"

At work, we recently started a project using CouchDB (a document-oriented database). I've been having a hard time un-learning all of my relational db knowledge. I was wondering how some of you overcame this obstacle? How did you stop thinking relationally and start think documentally (I apologise for making up that word). Any suggest...

Use CouchDB with .NET

Can .NET (managed code) read and write to CouchDB? I would like to build a part of my project that does document management using CouchDB ...

Does CouchDB support unqiue key constraint?

I come from a RDBMS background, and I have an application here which requires good scalability and low latency. I want to give CouchDB a try. However, I need to detect when a particular INSERT operation fails due to a unique key constraint. Does CouchDB support this? I took a look at the docs, but I could not come across anything relevan...

CouchDB- basic grouping question

I have a user document which has a group field. This field is an array of group ids. I would like to write a view that returns (groupid as key) -> (array of user docs as val). This mapping operation seems like a good beginning. function(doc) { var type = doc.type; var groups = doc.groups; if(type == "user" && groups.length > 0) ...

How do i configure nginx to redirect to a url for robots.txt & sitemap.xml

I am running nginx 0.6.32 as a proxy front-end for couchdb. I have my robots.txt in the database, reachable as http://www.mysite.com/prod/_design/mydesign/robots.txt. I also have my sitemap.xml which is dynamically generated, on a similar url. I have tried the following config: server { listen 80; server_name mysite.com; location...

Is there a hosted CouchDB service provider?

I'd like to learn CouchDB and wondered if there was a host provider that offered CouchDB services. If you have used one please detail your experiences. Update: I discovered thta CouchDB is available in Ubuntu on a VM slice. I am interested in anyone's experience with running the VM solution and accessing the data with .Net. Is a hyb...

Atomic transactions in key-value stores

Please excuse any mistakes in terminology. In particular, I am using relational database terms. There are a number of persistent key-value stores, including CouchDB and Cassandra, along with plenty of other projects. A typical argument against them is that they do not generally permit atomic transactions across multiple rows or tables...

what is the difference between Cassandra and CouchDB?

I'm looking both projects and I can't really see the difference from Cassandra Site: Cassandra is a highly scalable, eventually consistent, distributed, structured key-value store...Cassandra is eventually consistent. Like BigTable, Cassandra provides a ColumnFamily-based data model richer than typical key/value systems. from Couc...

Which Java library/libraries for CouchDB?

Which libraries are people using for CouchDB? I just finished getting couchdb4j running successfully, it seems to have some clunkiness. I was going to try jcouchdb, but this effort is starting to irritate me enough, and the CouchDB API is simple enough, that I'm tempted to just use httpclient and a JSON library. Edit: grrrrr... neither ...

couchdb as "briefcase": replication and/or database dumps?

I have a need to migrate some CouchDB database data back and forth between two desktop computers at different locations. One of the computers is Windows XP, one is a Macintosh running OS X 10.5. Neither can realistically connect to the other via the internet (the PC has a firewall, the Mac doesn't have fast internet access). But I do hav...

Combining Relational and Document based "Databases"

I am developing a system that is all about media archiving, searching, uploading, distributing and thus about handling BLOBs. I am currently trying to find out the best way how to handle the BLOB's. I have limited resources for high end servers with a lot of memory and huge disks, but I can access a large array of medium performance off...

Common Interface for CouchDB and Amazon S3

I just read tons of material on Amazon's S3 and CouchDB. Maybe not enough yet though, so here is my question: Both systems sound very appealing to me. CouchDB is distributed using the Apache License V2 and with Amazon's S3, you pay per stored megabyte and the traffic you generate. So there is a bit of a difference monetarily. But from...

Is there a lightweight, embeddable, key/value database? (something like diet couchdb)

Hello, I was wondering if there was a lightweight, embeddable, key/value database out there. Something like a lightweight Couchdb (RESTful, key/value, etc) where you just send it the key and it responds with appropriate values. Thanks! ...

CouchDB: map-reduce in Erlang

How can I write map-reduce functions in Erlang for CouchDB? I am sure Erlang is faster than JavaScript. ...

What is the maximum value for a compound CouchDB key?

I'm using what seems to be a common trick for creating a join view: // a Customer has many Orders; show them together in one view: function(doc) { if (doc.Type == "customer") { emit([doc._id, 0], doc); } else if (doc.Type == "order") { emit([doc.customer_id, 1], doc); } } I know I can use the following query to get a sin...