BT

Couchbase 4.0 Supports Multi-dimensional Scaling, Geospatial Indexes and New Query Language N1QL

| by Srini Penchikala Follow 34 Followers on Oct 26, 2015. Estimated reading time: 2 minutes |

Latest version of Document NoSQL database Couchbase Server supports multi-dimensional scaling, geospatial indexes and new query language called N1QL. Couchbase team announced earlier this month the general availability of Couchbase Server 4.0 version which also supports new filtering capabilities on Cross Datacenter Replication (XDCR) and enhanced security.

Multi-dimensional scaling and global secondary indexes help with improving the query performance in a distributed database like Couchbase.

Multidimensional Scaling (MDS): This feature allows organizations to provision hardware to isolate different workloads and independently scale the index, query, and data services. DBAs can assign different workloads to specific hardware resources to meet performance requirements and SLAs of the applications.

Global Secondary Indexes: In a horizontally scaling system, the index is typically spread across every server in the cluster, which can potentially slow down query execution by creating a broad "scatter/gather" requirement. In Couchbase Server 4.0, multi-dimensional scaling makes it possible for global secondary indexes to be assigned to specific hardware resources.  This helps reduce the magnitude of scatter/gather, resulting in better query execution within the distributed system.

N1QL: Pronounced “nickel”, N1QL is a declarative query language that can be used by developers who are familiar with SQL, to build applications on top of a JSON data model. N1QL offers the following advantages:

  • Leverage the declarative query language to express the logic executed in the database, instead of writing and executing it in the application code.
  • Create new indexes and queries without restructuring the data model.
  • Read, write, and query the data using different programming languages and frameworks, with options for asynchronous and reactive data access.
  • Leverage JSON to nest data within a single document or leverage N1QL to model and query data that is stored across multiple JSON documents.

N1QL query language also enables standard SQL based reporting and data visualization tools to access data stored within Couchbase.

Cross Datacenter Replication (XDCR): Couchbase Server 4.0 extends its Cross Datacenter Replication (XDCR) functionality with new filtering capabilities. XDCR is used for high availability and disaster recovery. With the new filtering functionality, subsets of data can be 'filtered' for geographic replication without requiring the entire data set to be replicated between datacenters.  This helps with making data available to geographically distributed locations with low latency, minimizing network traffic by replicating only the data relevant to a specific geography and the ability to replicate relevant data between private datacenters, public clouds, or both to leverage hybrid cloud infrastructure.

Other features in the new version include the geospatial Indexes which are useful in developing location-aware applications. and enhanced security to be in compliance with security standards, LDAP integration, and auditing capabilities.

Couchbase Server editions include Community edition (CE) and Enterprise edition (EE). If you are interested in learning more, check out the Couchbase Developer Portal.

 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT