Databases Flashcards
(36 cards)
data elements
facts that represent real-world information
database
a shared collection of related data used to support the activities of a particular organization
database management system (DBMS)
a collection of programs that enables users to create and maintain databases and control all access to them
table
a combination of fields
concurrency control strategies
These strategies ensure that the data accessed are always correct and that data integrity is maintained
database constraint
restriction or rule that dictates what can be entered or edited in a table
Data type
the sort of data permitted in a field
Data uniqueness
uch as the primary key ensures that no duplicates are entered
concurrency control subsystems
This feature ensures that data remains consistent and valid during transaction processing even if several users update the same information
metadata
defines and describes the data and relationshipsbetween tables in the database
self-describing
a database system is referred to as self-describing because it not only contains the database itself, but also metadatawhich defines and describes the data and relationships between tables in the database
entity
attributes that represent properties such as an employee’s name, address and birthdate
relationship
represents an association among entities
entity relationship model
uses main concepts like entities, attributes and relationships. An entity represents a real-world object such as an employee or a project.
Record-based logical data models
Three well-known data models of this type are relational data models, network data models and hierarchical data models.
relational model
represents data as relations, or tables
network model
represents data as record types. This model also represents a limited type of one to many relationship called a set type
hierarchical model
represents data as a hierarchical tree structure
relation
another term for table
set type
a limited type of one to many relationship
The goal of the data modeling phase is to describe
- The data contained in the database
- The relationships between data items (e.g., students are supervised by lecturers; lecturers teach courses)
- The constraints on data (e.g., student number has exactly eight digits; a subject has four or six units of credit only)
database design
two sub-steps: one called database logical design and another called database physical design
database logical design
defines a database in a data model of a specific DBMS
database physical design
defines the internal database storage structure, file organization or indexing techniques.