Exam 1 Flashcards
(44 cards)
Data
Raw facts that need to be processed and could be simple: numbers text
Information
Data that has been processed, organized and presented in a useful way
Traditional db
Data elements or fields are text or numbers
Modern db
Fields can be images, videos, and sounds
Entity
Name things, people or objects that it represents
DBMS
DataBase Management System
Makes it easier to: define a database, construct it, maintain and manipulate it, and give access to a variety of users/applications
Record
Another name for the row of a table
Database Catalog
A file containing all definitions and constraints of data and database, such as definition of each table, each column data type and its value constraint.
Virtual data
Data not explicitly stored in database, such as GPA
Data normalization
Removing redundancy
Correct database state
DBMS provides recovery functionality that, on a system crash, will go back to the last persistent state
End user
Those who use databases on a daily basis and for their job. The db application is for them. Examples: bank tellers, cashiers
Database Administrators
Defining users, setting access levels
Data Abstraction
Removing unnecessary details and highlighting essential features to understand data better, for the purpose of developing a database application.
Database Schema
it is the description of a database, you specify it in database design phase and it does not change much after that.
Stored as metadata in catalog file in DBMS and includes structure of the db and all constraints that keep the database valid.
Schema Diagram
Representing the database schema description as a diagram
Database state/snapshot
Data in a database at a particular moment in time
Three-Schema Architecture
Introduced in 1978 to support data independence between user applications and the physical database.
External level: End-user views; what ordinary staff see
Conceptual level: Represents database in terms of tables, attributes, data types, relationships and constraints
Internal level: Uses a physical data model to describe details of storing/retrieving data in disk level
o In internal level; a sequence of numbers (bytes) is read from disks.
o In conceptual level; that is in terms of table(s) of grades, student_info, course_info, etc.
o In external level; you see a nicely formatted human readable form containing all your courses and grades.
Data Independence
The capacity to change database schema in one level without having to change the higher level schemas
Data Definition Language
Used by the DBA to specify the conceptual schema of a database; also used to define internal and external schemas.
Data Manipulation Language
Used to specify database retrievals, updates, and can be embedded in a programming language like Java or C#. (JDBC/OBDC)
DMLs can be high level or low level
Data Dictionary
A file similar to the catalog file and has all catalog file information. It is for humans and it could include comments and descriptions as well
Client-Server Architecture
Client: User machine which provides the user interface and local processing
Server: A strong machine having hardware and software to provide different services to clients
Categories of DBMS
Centralized - Everything is included into one machine; both DBMS software and GUI applications
Client-server architecture - Server machine has the DBMS software, and clients have web access or form based software