Category: SQL++ / N1QL Query

Deep Dive: Window functions in Couchbase Analytics

Deep Dive: Window functions in Couchbase Analytics

Couchbase Server 6.5 brings a host of new features [1] to the leading NoSQL database. One of the key additions to the N1QL query language is support for window functions. These functions were originally introduced in the SQL:2003 standard and provide...

Running FTS Queries in N1QL

Running FTS Queries in N1QL

We already discussed how the Like % clause is potentially harmful for your application at scale, and why you should consider using Couchbase Full-Text Search instead. One thing we haven’t mentioned yet is why you might prefer Couchbase FTS over any...

Infosys “OpenHack” Development Program Features Couchbase

Infosys “OpenHack” Development Program Features Couchbase

Couchbase is expanding its partnerships with industry-leading global systems integrators and regional solution providers.  Through these partnerships, Couchbase’s unique capabilities can be delivered to our global footprint of enterprise customers. We collaborate closely with our Strategic Alliance partner Infosys to...

Less Is More: Why Use a Cost-Based Optimizer?

Less Is More: Why Use a Cost-Based Optimizer?

Less is more.  — Ludwig Mies van der Rohe There is no truer statement on the goals of a query optimizer. Do less: Less memory, less CPU, less disk, less IO, less instructions, less partitions, less overflow. Less everything for...

Keshav Murthy September 7, 2019
Analytics Explain Plan – Part 1

Analytics Explain Plan – Part 1

Co-author:  Till Westmann,  Senior Director, Engineering Introduction Couchbase Analytics is the “newest kid on the block” amongst all the services available in Couchbase Server. The new service is providing rapid time to insight in many use cases like ship to...

It’s SQL. Again.

It’s SQL. Again.

[crayon-68644e81c7142495385797/] [crayon-68644e81c7147636160098/] — In the spirit of Alexander Pope and Sir John Squire.

Keshav Murthy August 31, 2019
Primary Uses for Couchbase Primary Index

Primary Uses for Couchbase Primary Index

A couple of frequently asked questions on N1QL for query service: When do we actually use a primary index? Why the index advisor does not recommend the primary index when that may the only choice? Read on… Couchbase is a...

Keshav Murthy August 22, 2019
Index Advisor For Query Workload

Index Advisor For Query Workload

Overview As the second feature of Index Advisor released in Couchbase server 6.5 (Developer Preview), Advisor function extends the scope from advising on single query to providing index recommendations for query workload and support on session handling. In this article,...

Chang Liu August 15, 2019
Window functions in Couchbase Analytics

Window functions in Couchbase Analytics

Co-author:  Till Westmann,  Senior Director, Engineering The bits for Couchbase 6.5, the upcoming release of Couchbase Server, are now available. The Analytics service, which supports efficient parallel query processing, has added support for support for window functions defined in the...

Advanced Filtering with XDCR 6.5

Advanced Filtering with XDCR 6.5

Customers use XDCR for various use cases from high availability to data locality to disaster recovery to cloud migration and hybrid cloud deployments. To meet these use cases, there are a number of circumstances where they would want to replicate...

Index Advisor for N1QL Query Statement

Index Advisor for N1QL Query Statement

Overview Index advisor is introduced in Couchbase server 6.5 as a developer preview feature. It targets at providing secondary index recommendation to help DBAs and developers optimize N1QL query performance. This version is rule-based, in which the index candidates will...

Chang Liu August 9, 2019
Couchbase 6.5 – Scan Consistency in Analytics

Couchbase 6.5 – Scan Consistency in Analytics

Since the GA back in Nov 2018, Couchbase Analytics is being used in multiple verticals for rapid time to insight – ad-hoc analysis by a payment provider,  shopping cart analysis by an e-tailer, next gen ticket booking engine by a...