Chapter 1 Flashcards
Vocab (44 cards)
Data
know facts that can be recorded and have implicit meaning
Database
collection of related data
has implicit properties:
represents aspects of real world
changes in mini-world reflected in the database
logically coherent, aspect of order
designed, built, populated for a specific purpose
DBMS
Database Management System
collection of related data and programs that enable users to create and maintain a database
facilities process of: defining, constructing, manipulating, and sharing databases among users and applciations
DDL
Data Definition Language
Meta-deta
database definition/ descriptive information
stored in DBMS catalog
DML
Data Manipulation Language:
Query/update etc
Populating Database
Inserting data to reflect the minworld
Application Program
Access database by sending queries to DBMS
Query
Causes some date to be retrieved
Transaction
May cause some data to be read and some data to be written into the database
Protecting a Database
System Protection: protect against hardware or software malfunction(crashes…)
Security Protection: protect against unauthorized/malicious access
IS
Information System:
Traditional File Processing
Each user defines and implements the files needed for a specific software application
Disadvantages:
Uncontrolled Redundancy & inconsistency: no supervision to coordinate data operations
Poor Enforcement of Standards: different formats…
Limited Data Sharing
Program-Data Dependency: any change to structures causes change in all programs accessing that file
Database Approach Characteristics
Self-describing nature of a database system
Insulation between programs and data, and data abstraction
Support of multiple views of the data
Sharing of data and multi user transaction processing
Program-data independence: structure of data files is stored in DBMS catalog separate from access programs
Program-operation independence: some types of database systems enable definitions of operations on data as part of database definitions
Operations:
Interface(signature): includes operation name and data type of its arguments
Implementation(method) can be changed without affecting the interface
Data abstraction
Characteristics that allow program-data independence and program-operation independence
Data model
type of data abstraction used to provide conceptual representation
hides implementation and storage details
OLTP
Online transaction processing
Ensure that concurrent transactions operate correctly and efficiently
DBMS Properties
Isolation property:
Each transaction appears to execute in isolation from other transactions
Atomicity property:
Either all database operations in a transaction or none are
DBA
Database Administrator Database environment has two main resources: database itself DBMS and related software DBA is responsible for: authorizing access to the database coordinating and monitoring use acquiring software and hardware resources as needed
Database designer
most tasks occur before database implemented
responsible for:
identifying data to be stored in database
choosing appropriate structure
communicating with all prospective DB users to determine requirements
create a design to meet requirements
End Users
People whose job requires access to the database Categories: casual end user naive/parametric end user sophisticated end user standalone end user
Casual End Users
Occasionally access database, need different information each time
Naive/Parametric End Users
Make up a sizable portion of database end users
Constantly querying/updating database
Use canned transactions
Sophisticated End Users
Write sophisticated database applications that do not fin into the tradition data-processing framework
Thoroughly familiarize themselves with DBMS facilities