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:
After this, select the Cassandra cluster and continue by clicking "Select Plan".
Now select the plan according to your requirement.
Now fill all the details and click on the Launch Cluster button.
After the cluster is created, you can see its details on the DBaaS listing page.
Actions
Stop
To stop the cluster, click on the three dots and then select the STOP button.
Restart
To restart the cluster, click on the restart button.
Delete
To delete the cluster, click on the delete button.
To add a Coordinator Node, just go to the coordinator tab and click on the add coordinator tab button.
To whitelist an IP, click on the add button in the Whitelisted IP tab.
To take a snapshot, click on the Take Snapshot button after selecting the Snapshots tab.
To see the monitoring, click on the Monitoring tab.
To check the slow log queries, click on the Slow Log Queries tab.
Now click on the Configure View button.
Select the duration for which you want to filter the results and click on Update Settings.
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>