DBMS contains…
DBMS used for…
manage valuable, large data that can be accessed by multiple users, often at the same time
data definition language (DDL)
notation for defining database schema (create)
data manipulation language (DML)
language for accessing and updating data (update, select, update)
prodecural DML
user must specify what data and how to get it
declarative DML (AKA non-procedural DML)
user must specify what data but not how to get it (easier to learn)
portion of DML that involves info retrieval is called a _____
query language
SQL query language is non-procedural or procedural?
non-procedural (also no turing machine equivalent language)
def: application programs
used to interact with database
def: logical design
def: physical design
physical layout of database
functional components of a database system (3) -> partitioned into modules to deal with several responsibilities of system
def: storage manager
provides interface b/w low-level data in database and application programs/queries submitted to the system
storage manager tasks (2)
storage manager components (4)
storage manager implements data structures as a part of physical system (3)
def: data file
store database itself
def: data dictionary
stores metadata about database structure AKA the schema
def: indices
index that provides pointers to data that can help access data quickly
query processor components (3)
def: DDL interpreter
interprets DDL statements and records definitions in data dictionary
def: DML compiler
translates DML statements in query language into lowest cost evaluation plan of low-level instructions that query evaluation engine understands
def: query evaluation engine
executes low-level instructions generated by DML compiler
components of transaction management (3)