1/58
Looks like no tags are added yet.
(1.1) data
numeric, textual, visual, or audio information that describes real world systems
(1.1) what are 3 examples of what data can be used for?
forecasting weather, analyzing financial investments, tracking the global spread of pandemics
(1.1) what are the 3 ways data can vary?
scope, format, and access
(1.1) scope
the amount of data produced and collected can vary
(1.1) format
data may be produced as numbers, text, images, audio, or video
(1.1) access
some data sources and private while others are made publicly available
(1.1) analog data
encoded as continuous variations on various physical media
(1.1) digital data
encoded as zeros and ones on electronic and magnetic media
(1.1) database
collection of data in a structured format
(1.1) what are 3 software tools used to manage databases?
database system, query, and database application
(1.1) database system (DBMS)
complex software that reads and writes data in a database; ensure data is secure, internally consistent, and available at all times
(1.1) query
request to retrieve or change data in a database
(1.1) query language
specialized programming language designed specifically for database systems; read and write data efficiently
(1.1) database application
software that helps business users interact with database systems
(1.1) database administrator
responsible for securing the database system against unauthorized users
(1.1) database designer
determines the format of each data element and the overall database structure
(1.1) database programmer
develops computer programs that utilize a database
(1.1) database user
consumer of data in a database
(1.2) what are 5 requirements for large, complex databases?
performance, authorization, security, rules, and recovery
(1.2) transaction
group of queries that must either be completed or rejected as a whole
(1.2) what happens if only some queries are executed?
results will have inconsistent or incorrect data
(1.2) what are 3 things database systems must do when processing transactions?
ensure transactions are processed either completely or not at all, prevent conflicts between concurrent transactions, and ensure transaction results are never lost
(1.2) architecture
describes the internal components and relationships between components of a database system
(1.2) what are the 5 components of most database systems?
query processor, storage manager, transaction manager, log, and catalog
(1.2) query processor
interprets queries, creates a plan to modify the database or retrieve data, and returns query results to the application; performs query optimization to ensure the most efficient instructions are executed on the data
(1.2) storage manager
translates the query processor instructions into low-level file-system commands that modify or retrieve data; managers use indexes to quickly locate data
(1.2) transaction manager
ensures transactions are properly executed
(1.2) log
file containing complete record of all inserts, updates, and deletes processed by the database
(1.2) catalog
directory of tables, columns, indexes, and other database objects
(1.2) relational database
stores data in tables, columns, and rows, similar to a spreadsheet
(1.2) SQL
structured query language; includes statements that read and write data, create and delete tables, and administer the database system
(1.2) open source software
software that anyone can inspect, copy, and modify with no licensing fee
(2.1) what are the 3 database design phases?
conceptual design, logical design, and physical design
(2.1) conceptual design
develops a high-level representation of the database design, called an entity-relationship model
(2.1) logical design
converts the entity-relationship model into tables, columns, and keys for a particular database system
(2.1) physical design
adds indexes and specifies how tables are organized on storage media
(2.1) what are the 5 artifacts generated by conceptual design?
entity, relationship, attribute, business rule, and subject area
(2.1) entity
person, place, product, concept, or activity
(2.1) strong entity
independent of other entities
(2.1) weak entity
components of another entity
(2.1) relationship
describes connections between entities; can be unary, binary, or complex
(2.1) unary relationship
relates an entity to itself
(2.1) binary relationship
relates one entity to another
(2.1) complex relationship
relates 3 or more entities
(2.1) attribute
descriptive property of an entity
(2.1) source attribute
entered into the database
(2.1) derived attribute
computed from source attributes
(2.1) business rule
true or false statement that describes valid data; documented graphically in diagrams, or as textual statements
(2.1) subject area
high-level grouping of entities, relationships, attributes, and business rules that represents a business function
(2.1) what are the 4 steps of conceptual design?
scope the conceptual design by identifying subject areas that the database supports; discover requirements for each subject area; model the requirements as entities, relationships, and business rules; and elaborate the data model as special types of entities, relationships, attributes, and rules
(2.2) entity-relationship model
high-level representation of data requirements
(2.2) what are the 3 objects in an entity-relationship model?
entity, relationship, and attribute
(2.2) entity type
a set of things
(2.2) relationship type
a set of related things
(2.2) attribute type
a set of values
(2.2) entity instance
an individual thing
(2.2) relationship instance
a statement about entity instances
(2.2) attribute instance
an individual value
(2.2) entity-relationship diagram (ER diagram)
depicts entities as rectangles with rounded corners, relationships as lines connecting rectangles, and attributes within entity rectangles