views:

86

answers:

2

What is Couch DB? How is that different from conventional oracle DB? What is the process of search & retrieval of data from Couch DB?

+1  A: 

http://couchdb.apache.org/docs/intro.html

Couch DB is a non-relational, schema-free database. Please visit the project's site to learn more - it would not do to copy-paste the content from there to here.

The two categories above are the main difference from usual SQL databases, which are both relational (use schemas to define data) and have those schemas rigidly defined (you can not use ad-hoc data formats) for every possible data type/table.

We would be glad to answer specific questions you will have about CouchDB :)

MaxVT
A: 
  • Key-value pair type storage (NoSQL)

  • Document oriented storage

  • Bottom line is it gives you schemaless database (semi-structured). Which is easily horizontally scalable

  • There is no 1 database. It's a distributed storage system. There are various nodes which hold the data.

  • Data available (querying) via a Restful JSON Api

  • Couchdb's real world example on Stackoverflow

  • Sample data store in CouchDb:

    { key: "Clarke", value: { last_name: "Clarke", first_name: "Kim" } }

  • Read the 4 Features listed here and you will get the whole picture.

Though it's not exactly the same, but read Amazon Dynamo. It's interesting and similar.

Update:

One of the best reads about CouchDB for relational DB users: A Gentle Introduction to CouchDB for Relational Practitioners

zengr
CouchDB is not **per se** a distributed database and it does not have a lot in common with Dynamo. CouchDB's strong side is peer-based replication though which enables you to setup things like multi-master replication very easily.
tisba