Chapter 1: Database systems & applications Flashcards
DBMS contains…
- a collection of interrelated data
- set of programs to access data
- convenient and efficiently usable environment
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
- storage manager
- query processor component
- transaction management component
def: storage manager
provides interface b/w low-level data in database and application programs/queries submitted to the system
storage manager tasks (2)
- interact with OS file manager
- efficient storing, retrieving and updating of data
storage manager components (4)
- authorization and integrity manager
- transaction manager
- file manager
- buffer manager
storage manager implements data structures as a part of physical system (3)
- data files
- data dictionary
- indices
def: data file
store database itself
def: data dictionary
stores metadata about database structure AKA the schema