Mobile App Quiz 4 Flashcards
two main approaches to database
- RDBMS or SQL
2. noSQL
what does RDBMS stand for
relational database management system
give 3 examples of RDBMS/SQL
Oracle, MySQL, Microsoft SQL Server
SQL originated in the
1970s
SQL stores data according to
a schema
a schema allows data to be
displayed as tables with rows and columns
SQL stands for
Structured Query Language
SQL is
a collection of tables each with a schema that represent fixed attributes and data types that the items in the table will have
general functionality of SQL
CRUD (create, read, update, delete) which is all done by writing a query
what is a query
a statement saying what you want to do
tables in a relational database have keys used to
identify specific columns or rows of a table to facilitate a particular table, row, or column of interest
pros of SQL
well-documented, standards are well-defined and commonly accepted (know how to use one, can use all), work really well with structured data, ACID-compliant, limitless indexing
ACID stands for
Atomicity, Consistency, Isolation, Durability
what does atomicity refer to
no partial updates, all or nothing
cons of SQL
doesn’t work well with unstructured data, to migrate from one database to another, both schemas/structures must match, data is normalized (remove repetitive fields and put in new table), does not scale horizontally very well
noSQL stands for
not only SQL
noSQL is
nonrelational
key-value stores
simple database that only stores key-value pairs; has basic functionality for retrieving the value associated with a known key