Couchbase Server 2.0
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.



More Information


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.




blog comments powered by Disqus



The Who and Why of Hacking

The 2018 Hacker Report from HackerOne gives a rounded view of today's hackers revealing who they are and what motivates them. It also shows how hacking makes the money go around.

Ink To Code Microsoft Draws The UI

Ink to Code is a Microsoft Garage project which lets you draw your UI and then converts it to a layout in Visual Studio. Sounds like a good idea, but is it?

More News


Last Updated ( Friday, 14 December 2012 )

RSS feed of news items only
I Programmer News
Copyright © 2018 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.