Skip to main content

Cassandra

A Cassandra cluster is a group of interconnected nodes (servers) that work together to store and manage large amounts of data across multiple locations in a highly available and scalable manner. Apache Cassandra is a NoSQL distributed database designed to handle large volumes of data with high availability and no single point of failure.

Key Features:

Scalability: Cassandra can scale horizontally by adding more nodes to the cluster without downtime. It supports multi-datacenter replication, making it suitable for global applications.

High Availability:Cassandra’s architecture ensures there is no single point of failure. Data is replicated across multiple nodes. The system is designed to handle node failures without affecting the overall availability of the database.

Fault Tolerance: With its replication strategy, Cassandra can withstand node failures by replicating data to multiple nodes. It supports eventual consistency, ensuring data is eventually synchronized across nodes.

Performance: Designed to handle high write and read throughput, it is optimized for fast data retrieval and storage.

Flexible Data Model:Cassandra uses a column-family data model, which allows for dynamic addition of columns and schema flexibility. It’s designed for write-heavy workloads and can handle a variety of data types.

To proceed, click the "Get Started" button or the "Add" icon located in the upper-right corner of the screen, as illustrated in the following images:

Cassandra Image 1

Get Started

After this, select the Cassandra cluster and continue by clicking "Select Plan".

Cassandra Image 2

Now select the plan according to your requirement.

Cassandra Image 3

Now fill all the details and click on the Launch Cluster button.

Cassandra Image 4

After the cluster is created, you can see its details on the DBaaS listing page.

Cassandra Image 6

Actions

Stop

To stop the cluster, click on the three dots and then select the STOP button.

Cassandra Stop

Restart

To restart the cluster, click on the restart button.

Cassandra Restart

Delete

To delete the cluster, click on the delete button.

Cassandra Delete

To add a Coordinator Node, just go to the coordinator tab and click on the add coordinator tab button.

Cassandra Coordinator Node

To whitelist an IP, click on the add button in the Whitelisted IP tab.

Cassandra Whitelisted IP

To take a snapshot, click on the Take Snapshot button after selecting the Snapshots tab.

Cassandra Snapshot

To see the monitoring, click on the Monitoring tab.

Cassandra Monitoring

To check the slow log queries, click on the Slow Log Queries tab.

Cassandra Slow Log Queries

Now click on the Configure View button.

Cassandra Configure View

Select the duration for which you want to filter the results and click on Update Settings.

Cassandra Time Duration

Enter the following command at a command prompt on your local or client desktop to connect to a Cassandra database.

cqlsh -u <username> -p <password> <endpoint>