Tag: Indexing

New Features in Index Service in Couchbase Server 5.5
In the last major release, Couchbase Server 5.0, we introduced Plasma – New Storage Engine and also the support for Index Replicas in the Index Service. We have continued to build on these new features in our upcoming release. The themes...

Database Pagination: Using OFFSET and Keyset in N1QL
Read the pagination background in my previous article: https://www.couchbase.com/blog/optimizing-database-pagination-using-couchbase-n1ql/ Pagination is the task of dividing the potential result into pages and retrieving the required pages, one by one on demand. Using OFFSET and LIMIT is the easy way to write...

Comparing Couchbase Views with Couchbase N1QL & Indexing.
As Couchbase data platform evolved, services like N1QL and GSI Indexing handled the use cases Couchbase VIEWS used to handle and much more. It’s logical to ask the comparative question between them. Here is a table comparing both. This is...

Blazing Fast Index Performance with Plasma
In the earlier post, we got an opportunity to introduce Plasma as the new performant storage engine that powers Global Secondary Indexes in Couchbase 5.0(beta out!). We saw some of the features of Plasma and how it is designed with...

How to transition from Equivalent Indexes to Index Replicas?
In the previous post, we saw the benefits of using index replicas over equivalent indexes. Let’s say you are on Couchbase Server 4.x and have the following 3 equivalent indexes spread across 3 nodes; and with Couchbase 5.0 Beta available,...

Using the New Plasma Storage Engine for Couchbase Indexes
After two generations of success using ForestDB, the team responsible for Couchbase indexes has unveiled a new, blazing fast base storage engine: Plasma. In this post, we’ll introduce you to its features and benefits and what you can expect when...

CAP Theorem and Chaos at CodeMash Conference – January 2017 (Videos)
I was again honored to be selected as a speaker at the great CodeMash conference in Ohio. I took part in three speaking events: Are You Ready for Chaos? Horizontal Scaling in a Briefcase This session was partly a demonstration...

N1QL Scan Consistency including new AtPlus (Video)
This video shows the ScanConsistency options when executing N1QL queries, and covers all the ScanConsistency options, including the new AtPlus. The source code used in this video is available on Github. If you’d like to learn more about how to...

Deferring Index Creation
There is a feature in Couchbase 4.x that can really help with Global Secondary Index creation and many do not know about. It is the ability to queue index creation statements and then parallelize their creation for efficiency and performance....

PHP SDK 2.2.0 Beta3: Examples with Sub-Document and Index Management
In support of the upcoming Couchbase Server 4.5 release and some innovation in the PHP community with PHP 7, we are enhancing our PHP SDK. Today I’d like to announce the third Beta, which brings a couple of new fetures along...