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.

 

blog comments powered by Disqus

 

Banner


Firefox Marks 10th Anniversary
10/11/2014

On November 9, 2004 Mozilla released Firefox 1.0. It is celebrating its first decade with the release of Firefox 33.1, billed as a browser for developers.



Flow - A Static Type Checker For JavaScript
20/11/2014

If your biggest objection to JavaScript is that it is that it is dynamically typed, then Flow from Facebook might be just what you are looking for. 


More News

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

Last Updated ( Friday, 14 December 2012 )
 
 

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