The Key differences between them lies in the understanding CAP theorem
- Consistency
- Availability
- Partition Tolerance
- The datatypes, schema are predefined, You cannot store non-matching datatypes
- To avoid dirty data, systems enforce isolation levels that govern only committed data is read (Consistency)
- Only latest records are available, records at that point in time are not available
- Banking Systems, ordering systems where data needs to consistent will be mostly SQL based systems where consistency is important
- The schema is not tightly governed, its flexible you can store different datatypes in same columns
- These may be geographically distributed where data may be synced and eventually be consistent end of day not realtime
- They also support point in time data, data values at a point in time can also be looked up
- Where there is no requirement for consistency we can achieve other 2 Availability and partition tolerance
- Since some of the ACID properties are compromised you will have high availability of this systems
Happy Learning!!!
No comments:
Post a Comment