Testing failover to one of 2 slaves and reattaching to the new master.
Starting config
master | | slave1 slave2
Post failover config
slave1 | | slave2 master
Testing failover to one of 2 slaves and reattaching to the new master.
Starting config
master | | slave1 slave2
Post failover config
slave1 | | slave2 master
Cassandra is a fast distributed database.
It has several defining features:
This intro to Cassandra is taken from the DataStax course. I don’t necessarily agree with everything – particularly their take on what a traditional RDBMS can and can’t do but I have included their view here for completeness.
Cassandra is designed for ‘Big Data’ workloads. Im order to understand the characteristics of Big Data, lets first define ‘Small Data’:
This would typically be a volume of storage that would fit on 1 machine and a RDBMS is typically fine and able to handle the number of operations and the quantity of data. The system will support a number of concurrent users in the hundreds. It fully supports ACID.
When you want to scale such a system, you are going to do it vertically first – with a bigger host, more RAM or processors.
Can Relational databases support big data?
Here is a handy little PostgreSQL query that will list all of the tables linked by a foreign key to the table YOUR_TABLE. The output will include the keys on each side. This can be very useful if you want to build up a map of your database through the relationships between the tables. select …
Have you ever tried to drop or rename a postgres database or even create another database from one as a template, only to be confronted by the dreaded message: postgres=# create database test with template a_database; ERROR: source database “a_database” is being accessed by other users DETAIL: There are 40 other sessions using the database. …
Oracle services were a feature introduced in Oracle 10g. Their function is to simplify workload management by allowing you to group applications that share traits such as thresholds, priorities and attributes. The Oracle database is presented as a service and so you always have at least one service running. It is good practice to create …
Oracle ASM keeps redundancy quite simple by providing only 3 options. you can choose to have no redundancy or mirroring provided by the ASM instance. This is the ‘External’ option and assumes that you are handling mirroring somewhere else perhaps through hardware raid on your storage network. You can chose ‘normal’ 2 way mirroring r …
The process for modifying a votedisk that is stored on ASM differs from the process when the votedisk is stored on some other medium. When your voting disks are stored on ASM you can move them off to non ASM storage with the replace command: $ crsctl replace votedisk [path_to_new_votedisk] (this can be done from …
An ASM instance forms and presents is the underlying structure for an ASM dynamic volume. ASM provides a disk group which is really a logical container for physical space. ASM is very efficient at storing data files but there are many types of files that cannot be stored on ASM and it cannot be read …
An ASM instance has its own SGA but it is not the same as the SGA in a database instance. The 4 main sections of the SGA in an ASM instance are: ASM Cache – this is used during rebalancing operations for reding and writing blocks. Large Pool – Used for Parallel Operations. Shared Pool …