Syllabus
What is CouchBase
What is CouchBase
COUCHBASE is a Document Oriented "NOSQL" Database having below features.
Components : 4 nodes running Couch Base services
VBuckets are nothing but "PARTITIONS "
VBucket
The overall key space is partitioned into 1024 logical storage unit called "Virtual buckets" ( or vBucket).
vBucket are distributed across machines within the cluster via a map that is shared among servers in the cluster as well as the client library.
The basic unit of dat storage in Couchbase is
JSON Document -> Unique Key --->Vbucket ->Bucket --> Node --->Cluster
What is CouchBase
What is CouchBase
COUCHBASE is a Document Oriented "NOSQL" Database having below features.
- Open Source
- Distributed
- Fault Tolerant
- Persistent - Storing data in memory and disc.
- Replicated
- Schema Free & Flexible(Document Size)
- High Performance
- Easy to scale.
Components : 4 nodes running Couch Base services
VBuckets are nothing but "PARTITIONS "
Example VBucket
---------------------------------------------------------------------------------------------------------------
FLOW ->
JSON Document ->
UNIQUE KEY --->
VBucket ---------->
Bucket ---> Node ----> CLUSTER.
---------------------------------------------------------------------------------------------------------------
Editions Availability
-> Community (Free) and Enterprise Editions are available.
--> Enterprise edition free for 2 nodes, support license required for large cluster.
--> Administred via WEB UI, CLI or REST Ful API.
--> Available for Windows, Linux and Mac.
- Document oriented "NOSQL" Database having features
- Pre-requisites
- System Requirement
- Download
- User Requirement
- $hostname
- $userdel -r couchbase
- $userdel -r couchbase
- $useradd couchbase
- passwd couchbase
- $id couchbase
- vi /etc/sudoers
cp .bashrc /home/couchbase
sudo su - couchbase
- Got to http://www.couchbase.com/nosql-databases/downloads
- Select the Package version and your platform (Linux, Windows, Mac).
- It will download an 80 MB rpm package file - 'couchbase-server-enterprise-4.0.0-centos6.x86_64.rpm'
- Copy the rpm file to your Linux machine.
- You can directly download the package using wget -
Documentation for reference :
- Administrators - https://docs.couchbase.com/server/5.5/install/get-started.html
- Sample code or projects - https://github.com/couchbaselabs/mobile-training-todo/tree/feature/2.0
- Download
- Single Node Implementation
- Multi Node Implementation
- Using WEB UI
- Using Couchbase-CLI
- Walkthrough of the COUCHBASE WEB UI.
- Important Administration Commands.
VBucket
The overall key space is partitioned into 1024 logical storage unit called "Virtual buckets" ( or vBucket).
vBucket are distributed across machines within the cluster via a map that is shared among servers in the cluster as well as the client library.
The basic unit of dat storage in Couchbase is
JSON Document -> Unique Key --->Vbucket ->Bucket --> Node --->Cluster
No comments:
Post a Comment