Hello Techie's,
As a Techie's we all aware about the term "Database". In the last 3 decades there has been lot of new technology have been introduced in database - Oracle, sqlserver, transcational database, middleware, Queues, topics.
When the data in the schemas started expanding, It becomes very difficult to make changes because of its Rigid structure.
To overcome the above limitations, The new technology called NOSQL Database has been introduced.
What is Couchbase server ?
It is One of the NOSQL Database, which stores json files & binary files as a key & value pair.
SQL NOSQL
Database Bucket
Table Virtual Bucket
Row Document
Column Field
Most Important Features:
- Disk Independent - Data is first stored in RAM and goes to Disk, when fetching the values are first searched in RAM, If not available it searches in Disk
- Distributed Database - Couchbase cluster will have different Nodes & Data is stored in disributed servers, so adding new nodes will extend the data
- Fault Tolerence - Replication count for the data can be set, so the data are copies in other nodes aswell
- Light weight
- Very fast to read & write values
- In-built Replication
- Querying is similar to SQL
Couchbase Architecture
Services which can be running on the nodes:
Data service - RAM
Index Service
Query Service
Search Service - Optional
Analytic Service -Optional
How to Install the Couchbase in RHEL servers ?
rpm -ivh couchbase_package_version
How to check the Installed couchbase version in server ?
rpm -qa | grep couchbase
How to Uninstall the Couchbase ?
rpm -e couchbase_package_version
How to Start/Stop the Couchbase server ?
systemctl start couchbase-server
systemctl stop couchbase-server
How to check the couchbase server status ?
systemctl status couchbase-server
How to check if couchbase service is registered ?
systemctl is-enabled couchbase-server
How to disable the couchbase service ?
systemctl disable couchbase-server
Steps To create Couchbase Cluster:
- Install Couchbase
- Initialize Cluster
- Join Cluster
- Rebalance Cluster
- Add Cluster Certs
- Create Buckets
- Create Users
Comments
Post a Comment