CSC 675 Review 1 - Introduction and Overview Flashcards
Data
Known facts that can be recorded
Database *
Collection of related data
DBMS, Database Management System *
a collection of programs that enables users to create, access, and maintain a database
Database Catalog / Meta-Data
structure of file
storage format of data items
constraints on the data
program-data independence
allow the data file structure to be changed without modifying the application code
a layer in between
What are the three major types of operations supported by database systems?
Create - define data
Access - query + update
Maintain - enforce integrity constrains
Why are database applications considered to be easier to implement that traditional file based applications?
Because much of the functionality that you need is already defined.
What is a database query?
Read and return all data which satisfy some search criteria.
How do read-only queries differ from update queries?
update queries insert, delete or modify data values in the database, read-only queries don’t.
Discuss how file based applications are different from database applications.
Databases are
- self describing
- insulation between programs and data
- data abstraction
- support multiple views of the data
- sharing data and multiuser transaction processing
In traditional file systems,
- files are part of each program.
Why is it difficult for application programers to provide integrity constraint enforcement in their application code?
all in one place
collecting the integrity constraints into the database makes updating the integrity constraints themselves possible without rewriting application programs.
What is concurrency control?
coordinate many simultaneous transactions
Why is concurrency control important?
insure that simultaneous transactions work with a consistent database and leave the database in a consistent state (consistent- > as if transactions were executed in some sequential order)
What is recovery?
Insure that no data from committed transactions is lost, regardless of any failures.
Why is recovery important?
All systems are prone to failures, and handling recovery from failure is a must.