Tag: eventing
New RBAC Roles in Couchbase 7.0
Couchbase Server version 7.0 introduces some important changes as part of the role-based access control (RBAC) authorization system. Couchbase Server has allowed fine-grained access controls to the platform with RBAC for administrators since version 4.5 and all users since version...
Migrating Buckets to Collections & Scopes via Eventing: Part 2
Migrating Buckets to Collections & Scopes via Eventing: Part 2 Again (as I did in Part 1) I want to point out an excellent blog written by Shivani Gupta, How to Migrate to Scopes & Collections in Couchbase 7.0, which...
Migrating Buckets to Collections & Scopes via Eventing: Part 1
Migrating Buckets to Collections & Scopes via Eventing: Part 1 First I want to point out an excellent blog written by Shivani Gupta, How to Migrate to Scopes & Collections in Couchbase 7.0, which covers in great detail other methods...
Data Validation with the Eventing Service
Data Validation is an interesting topic to cover for a NoSQL technology, purely down to the fact that the core principles of the system revolve around a “schema-less” architecture. For many years, SQL and schemas have controlled application data, ensuring...
Couchbase Eventing Handling Errors and Retries
The Couchbase Eventing Service allows you to promptly act on mutations (or changes) to your data. All actions in Eventing are accomplished by executing a lambda, a small piece of business logic written in JavaScript. Common use cases include data...
The N1QL Query Language Now Has a Per-Request Memory Quota
Unlike other services, the SQL++ query language so far hasn’t had the option to adjust its memory footprint. Until now. With the release of Couchbase Server 7.0, the Query Service now includes a per-request memory quota. Background The principal reason...
How (and Why) to Use Couchbase as an XML Database
Couchbase and XML – no problem! I’ve heard it said dozens of times: “Hey, Couchbase is great but I use XML.” I recognize that countering with, “Couchbase can be your XML database” is pretty bold, especially for a JSON-oriented document...
How to Build a Couchbase Autonomous Operator Proof of Concept
Whenever I hear about a customer’s first experience with the Couchbase Autonomous Operator (CAO) for Kubernetes, their first question tends to be “How much?” The answer is that it’s already included in their Enterprise Edition subscription. Joyous to hear this,...
Eventing: Introducing Advanced Bucket Accessors in Couchbase
Advanced Bucket Accessors in Couchbase make it possible to access advanced key-value store (KV) functionality using the following built-in operators. They utilize the same bucket bindings defined in the handler as Basic Bucket Accessors, but expose a richer set of...
What’s New and Improved in Couchbase Server 6.6
Couchbase Server 6.6 is now generally available with exciting new enhancements that augment our Analytics, Query, Search, and Eventing Services as well as our backup, recovery and tooling capabilities. These enhancements improve developer productivity, simplify cloud deployments, and enable operational...
Eventing Improvements: Timers, Handlers and Statistics
With the release of Couchbase 6.6 the Eventing Service has major improvements in functionality. We’ve introduced new Eventing Timers that can be cancelled using the cancelTimer() function, or by creating a new timer with the same reference identifier as an...
Migrating Data from MongoDB to Couchbase
Prologue This article guides you through a one-time MongoDB migration to Couchbase. You will learn how to export from the MongoDB data structure, import to Couchbase, and do some basic transformation on those documents. All code from this blog is...