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 “Add” button located in the upper-right corner of the screen, as illustrated in the following image:
![../_images/cass1.png](../_images/cass1.png)
After this, select the Cassandra cluster and continue.
![../_images/cass2.png](../_images/cass2.png)
Now select the plan according to your requirement
![../_images/cass3.png](../_images/cass3.png)
Now fill all the details and click on next button
![../_images/cass4.png](../_images/cass4.png)
Once you have filled out all the necessary details, review them carefully on the summary page. If everything is accurate, click the “Create Database” button to proceed.
![../_images/cass5.png](../_images/cass5.png)
After the cluster is created you can see its details in the dbaas listing page
![../_images/cass6.png](../_images/cass6.png)
Actions
Stop
To stop the cluster, click on the three dots and then select the STOP button.
![../_images/cass_stop.png](../_images/cass_stop.png)
Restart
To restart the cluster click on restart button
![../_images/cass_restart.png](../_images/cass_restart.png)
Delete
To delete the cluster click on delete button
![../_images/cass_delete.png](../_images/cass_delete.png)
To add Coordinator Node just go to the coordinator tab and click on add coordinator tab button
![../_images/cass_coordinatornode.png](../_images/cass_coordinatornode.png)
To whitelist an IP click on the add button in the Whitelisted IP tab
![../_images/cass_whitelisted.png](../_images/cass_whitelisted.png)
To take a snapshot click on the Take Snapshot button after selecting the Snapshots tab
![../_images/cass_snapshot.png](../_images/cass_snapshot.png)
To see the monitoring click on Monitoring tab
![../_images/cass_monitoring.png](../_images/cass_monitoring.png)
To check the slow log queries click on the Slow Log Queries Click on the Slow Log Queries tab
![../_images/cass_slowlog.png](../_images/cass_slowlog.png)
Now click on Configure View button
![../_images/cass_cfgview.png](../_images/cass_cfgview.png)
Select the duration for which you want to filter the results and click on Update Settings
![../_images/cass_timeduration.png](../_images/cass_timeduration.png)
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>