Midterms - Data models Flashcards
A collection of concepts for describing the data in a database
Data Model
A description of a particular collection of data using a given data model
Schema
Data Models
Relational
Key/Value
Graph
Document
Column-family
Array/Matrix
Heirarchial
Network
The defintion of relations and their contents
Structure
Ensure the database contents satisfy constraint
Integrity
How to access and modify the data in the database contents
Manipulation
is an unordered set that contain the relationship of attributes that represent entities
Relation
is a set of attribute values (also known as domain) in the relation
tuple
tuples = rows, records in a table
uniquely identifies a single tuple
Primary Key
Specifies that an attribute from one relation has to map a tuple in another relation
Foreign Key
DML
The query specifies the (high level) strategy the DBMS should use to find the desired result
Procedural
DML
The query Specifies only what data is wanted and not how to find it
Non-procedural