Tags » Nosql

Catalogs and Hierarchies

When I was younger, friends and I would play a role playing game called “Shadowrun“. The game draws elements from science fiction, crime dramas, and magic and blends them all together to make a fun mess. 1,613 more words

Graph Database

Aggregation in MongoDB


Aggregation operations are very important in any type of database whether it is SQL or NoSQL. To perform aggregations operations, MongoDB group values from multiple documents together and then perform a variety of operations on grouped data to return a single result. 1,228 more words



Redis is a in-memory, key-value data store. Redis is the most popular key-value data store. Redis is used by all big IT brands in this world. 2,585 more words


Cassandra Basics

Apache Cassandra

is a highly scalable, high-performance distributed database designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. 1,557 more words


play couchbase-2 golang package gocb

Very quick sample code to test running couchbase

package main

import (


func main() {

    cluster, err := gocb.Connect("couchbase://localhost")

    if err != nil {
        fmt.Errorf("fatal error:", err)

    bucket, err := cluster.OpenBucket(`beer-sample`, "")

    var obj interface{}
    bucket.Get(`21st_amendment_brewery_cafe-bitter_american`, &obj)
… 161 more words

play couchbase-1

env: mac os 64 bit

1.download the couchbase server (community version)


2. unzip the file, directly run the application couchbase, setup the database

in the directory for example, /Users/ian/workspace/couchbase-server-community_4… 131 more words