Couchbase Server 2.0
Written by Kay Ewbank   
Friday, 14 December 2012

Version 2.0 of Couchbase Server has been released with a new flexible document data model that will give more freedom for developing apps.

The document data model in the new version of the NoSQL database is based on JSON, and avoids the need to create and manage schemas. Every JSON document can have a different record structure and multiple documents with different structures can be stored in the same Couchbase data bucket. Document structure can be changed at any time, without requiring modification to other documents in the database.

Distributed indexing and querying has also been added for JSON documents. This will mean you can give users access to stored data via queries. Indexes are defined using design documents and views, and you create design documents on a per-bucket basis, with each design document optionally containing multiple views. Each view includes a Map and optionally a Reduce function, both written in Javascript. Once a view is defined, you can query data using this materialized view and look up information based on various filters.

Views in Couchbase are built asynchronously and are eventually indexed, but not immediately, though there is an option to control this behavior on a per operation basis. Couchbase distributes indexes across the cluster - each node indexing the data it holds. When the view is being built, the JavaScript map function is applied across every document on every node and the key value pairs for matching documents are retrieved and stored in the index.

 

(click to expand)

Other improvements to the new version are aimed at more traditional areas of interest. Cross datacenter replication (XDCR) has been added, so that you get automatic replication of databases across geographically disparate data centers. Couchbase says this will improve application response time by locating data closer to the users accessing it. There have also been a number of operational enhancements, such as online data and index compaction, that improve Couchbase Server’s application maintenance.

Couchbase Server 2.0 is available in both Enterprise and Community editions, the former a production-ready release with support and bug fixes for funded projects and the latter for enthusiasts who are able to resolve issues independently with help from the Couuchbase user community.  For Linux there are versions for 64-bit and 32-bit Ubuntu and 64-bit and 32-bit Red Hat. Both editions are available for 64-bit Windows but for Mac OS X there is only a 64-bit Community edition.

couchdbIcon

 

More Information

Couchbase

Intrducing Couchbase Server 2.0 (pdf)

Couchbase Server 2.0 downloads

Related Articles

UnQL is SQL for NoSQL - new language, new Couchbase

NoSQL CouchDB gets boost

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Banner


Sequin - Open Source Message Stream Built On Postgres
31/10/2024

Sequin is a tool for capturing changes and streaming data out of your Postgres database, guaranteeing exactly once processing. What does that mean?



AI Propels Python To Top Language on GitHub
30/10/2024

This year's Octoverse Report reveals how AI is expanding on GitHub and that Python has now overtaken JavaScript as the most popular language on GitHub. The use of Jupyter Notebooks has also surged.


More News

 here: http://www.couchbase.com/download

Last Updated ( Friday, 14 December 2012 )