Databases Flashcards

(36 cards)

1
Q

data elements

A

facts that represent real-world information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

database

A

a shared collection of related data used to support the activities of a particular organization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

database management system (DBMS)

A

a collection of programs that enables users to create and maintain databases and control all access to them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

table

A

a combination of fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

concurrency control strategies

A

These strategies ensure that the data accessed are always correct and that data integrity is maintained

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

database constraint

A

restriction or rule that dictates what can be entered or edited in a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Data type

A

the sort of data permitted in a field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Data uniqueness

A

uch as the primary key ensures that no duplicates are entered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

concurrency control subsystems

A

This feature ensures that data remains consistent and valid during transaction processing even if several users update the same information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

metadata

A

defines and describes the data and relationshipsbetween tables in the database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

self-describing

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

entity

A

attributes that represent properties such as an employee’s name, address and birthdate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

relationship

A

represents an association among entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

entity relationship model

A

uses main concepts like entities, attributes and relationships. An entity represents a real-world object such as an employee or a project.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Record-based logical data models

A

Three well-known data models of this type are relational data models, network data models and hierarchical data models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

relational model

A

represents data as relations, or tables

17
Q

network model

A

represents data as record types. This model also represents a limited type of one to many relationship called a set type

18
Q

hierarchical model

A

represents data as a hierarchical tree structure

19
Q

relation

A

another term for table

20
Q

set type

A

a limited type of one to many relationship

21
Q

The goal of the data modeling phase is to describe

A
  • 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)
22
Q

database design

A

two sub-steps: one called database logical design and another called database physical design

23
Q

database logical design

A

defines a database in a data model of a specific DBMS

24
Q

database physical design

A

defines the internal database storage structure, file organization or indexing techniques.

25
data model
collection of concepts or notations for describing data, data relationships, data semantics and data constraints
26
External models
Represent the user’s view of the database Contain multiple different external views Are closely related to the real world as perceived by each user
27
Conceptual models
Provide flexible data-structuring capabilities Present a “community view”: the logical structure of the entire database Contain data stored in the database Show relationships among data including: Constraints Semantic information (e.g., business rules) Security and integrity information Consider a database as a collection of entities (objects) of various kinds Are the basis for identification and high-level description of main data objects; they avoid details Are database independent regardless of the database you will be using
28
Internal models
The three best-known models of this kind are the relational data model, the network data model and the hierarchical data model. These internal models: Consider a database as a collection of fixed-size records Are closer to the physical level or file structure Are a representation of the database as seen by the DBMS. Require the designer to match the conceptual model’s characteristics and constraints to those of the selected implementation model Involve mapping the entities in the conceptual model to the tables in the relational model
29
Physical models
Are the physical representation of the database Have the lowest level of abstractions Are how the data is stored; they deal with Run-time performance Storage utilization and compression File organization and access methods Data encryption Are the physical level – managed by the operating system (OS) Provide concepts that describe the details of how data are stored in the computer’s memory
30
logical design
Once a DBMS is selected, you can then implement it. This is the internal model. Here you create all the tables, constraints, keys, rules, etc.
31
schema
is an overall description of a database, and it is usually represented by the entity relationship diagram (ERD)
32
External schemas
there are multiple
33
Multiple subschemas
these display multiple external views of the data
34
Conceptual schema
there is only one. This schema includes data items, relationships and constraints, all represented in an ERD
35
Physical schema
there is only one
36
Data independence and operation independence together form
data abstraction