Define: data
known facts that can be recorded and that have implicit meaning
Define: database
a collection of related data
Define: DBMS
DataBase Management System; a computerized system that enables users to create and maintain a database; a general-purpose software system that facilitates the processes of defining, constructing, manipulating, and sharing databases among various users and applications
Define: database system
the database and the DBMS software together
Define: database catalog
the part of a DB system that contains a complete definition or description of the DB structure and constraints (meta-data);
contains info such as:
* structure of each file
* type and storage format of each data item
* various constraints on the data
Define: program-data independence
a property that describes how the structure of data files can be stored in the DBMS catalog separately from the access programs
Define: user view
a perspective or view of the DB tailored to meet the requirements of a specific user; a view may be a subset of the DB or it may contain virtual data that is derived from the DB files but is not explicitly stored
Define: DBA
DataBase Administrator; an ‘actor on the scene’ who is responsible for authorizing access to the DB, coordinating and monitoring its use, and acquiring software and hardware resources as needed; accountable for problems such as security breaches and poor system response time
Define: end user
the people whose jobs require access to the DB for querying, updating, and generating reports; the DB primarily exists for their use;
categories:
* casual end users: occasionally access DB, may need diff info each time, typically mid/high-level managers or occasional browsers
* naive/parametric users: main job function revolves around constantly querying/updating the DB using canned transactions; ex: bank customers/tellers, airline/hotel/rental car reservation agents/customers, employees at receiving stations for shipping companies, social media users
* sophisticated end users: engineers, scientists, business analysts, etc who thoroughly familiarize themselves with the facilities of DBMS in order to implement their own apps to meet their complex requirements
* standalone users: maintain personal DBs by using ready-made program pkgs that provide easy-to-use menu-based interfaces/GUIs
Define: canned transaction
a standard type of query or update used by naive or parametric end users; has been carefully programmed and tested; now often available as mobile app on mobile devices;
ex:
* check bank account balance, post withdraws/deposits
* check availability for airline/hotel/car rental request, make reservation
* update central DB of received/in-transit packages at shipping company receiving station
* post and read items on social media website
Define: deductive database system
a DB system that provides capabilities for defining deduction rules for inferencing new info from the stored DB facts (ex: triggers, sprocs, …active DB systems?)
Define: persistent object
a complex object (from an OO programming language [i.e. C++, Java]) that is stored permanently in an OO DBMS; survives the termination of program execution and can later be directly retrieved by another program
Define: meta-data
the info stored in a DB catalog; describes the structure of the primary DB; a complete definition or description of the DB structure and constraints (meta-data);
contains info such as:
* structure of each file
* type and storage format of each data item
* various constraints on the data
Define: transaction-processing application
an application that accesses the DB by sending queries or requests for data to the DBMS; (transaction: an executing program or process that includes one or more DB accesses such as reading or updating DB records); (DBMS must ensure that concurrent transactions operate correctly and efficiently; DBMS must enforce isolation and atomicity)
What four main types of actions involve databases?
???
Discuss the main characteristics of the database approach and how it differs from traditional file systems.
main characteristics of DB approach:
What are the responsibilities of the DBA and the database designers?
DBA: DataBase Administrator; an ‘actor on the scene’ who is responsible for authorizing access to the DB, coordinating and monitoring its use, and acquiring software and hardware resources as needed; accountable for problems such as security breaches and poor system response time
Database Designers: ‘actors on the scene’ responsible for identifying the data to be stored in the DB and choosing appropriate structures to represent and store this data; communicate with all prospective DB users in order to understand their requirements and to create a design that meets these requirements; typically interact with each potential group of users and develop views of the DB that meet the data and processing requirements of these groups
both: choosing which indexes to create and maintain for query processing and optimization (part of physical DB design and tuning)
Explain the roles of a system analyst and an application programmer in a database system.
System analyst: determine requirements of end users, especially naive/parametric end users; develop specs for standard canned transactions that meet these requirements
Application programmer: implement specs from system analyst as programs; test, debug, document, maintain these canned transactions
system analysts, app programmers: aka software developers, software engineers; should be familiar with full range of capabilities provided by DBMS to accomplish their tasks
Discuss the advantages of using the DBMS approach.
Under what circumstances is it desirable to develop customized database applications?
Identify some informal queries and update operations that you would expect to apply to the database shown in Figure 1.2.
Discuss the various storage structures and search techniques used for efficient query processing.
Specify all the relationships among the records of the database shown in Figure 1.2.
Give some additional views that may be needed by other user groups for the database shown in Figure 1.2.