Random Flashcards
____ is a collection of values or information
data
____ is an organized collection of data
database
Three types f data:
structured
semi-structured
unstructured
This type of data is typically stored in tables with predefined structures (ie: schema)
structured data
structured data is suitable for OLTP (transactional) and OLAP (analytical) workloads
T
This type of data is typical of relational databases (indexed tables linked with foreign key relationships)
structured data
this type of data is suited for complex queries an analytics ie: complex table join operaitons
Structured data
This type of data is organized data, but not constrained by a fixed schema
semi-structured data
this type of data the schema accomodates variable data structures
semi-structured data
this type of data is typical of non-relational databases
semi structured data
this type of data is well suited for big data and low latency apps
semi structured data
this type of data is stored as XML and JSON, which makes it easy to read and easy to process
semi structured data
this type of data is unorganized
unstructured data
thistype fo data has no defined schema ie: docs, photos, videos, music, text mesasges, etc.
unstructured data
this type of data is typical ofnon relational databases, file systems, data stores, or data lakes like amazon S3
unstructured data
these types of database have a pre defined schema
relational databases
this type of database enforces a strict ACID compliance and supports “joins”
relational databases
the typical use case for these databases is OLTP and OLAP
relaitonal databaess
MySQL, PostgreSQL, MariaDB, Oracle, SQL Server are examples of this type of DB
relational databases
aws RDS and Aurora for OLTP and redshift for OLAP are types of these databases
relational databases
these types of adtabases are characterized by multiple tables interconencted through foreign key relationships
relational databses
Table INdexes
- relational databases are written to and queried using SQL
- for efficient query performance, we add indexes to the table
- tables are indexed by their primary key by default
- secondary indexed can be added on non-key fields
t
what i ACID?
Atomicity
Consistency
Isolation
Durability
____ means all or nothing - a transaction executes compltely or not at all
Atomicity