DBMS: Database concepts

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/56

flashcard set

Earn XP

Description and Tags

Unit 1

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

57 Terms

1
New cards

Data

Raw facts

2
New cards

Information

Transformed/processed data that facilitates decision making

3
New cards

Data management

A process that focuses on data collection, storage, and retrieval.

4
New cards

Database

A shared, integrated computer structure that houses a collection of related data.

Contains two types of data: end-user data(raw facts) and metadata

5
New cards

Metadata

Data about data characteristics and relationships

6
New cards

Database management system (DBMS)

the collection of programs that manages the database structure and controls access to the data stored in the database.

7
New cards

Data inconsisency

A condition in which different versions of the same data yield-different (inconsistent) results.

8
New cards

query

a specific request issued to the DBMS for data manipulation

9
New cards

centralized database

A single database located at a single site.

10
New cards

Distributed database

A logically related database that is stored in two or more physically independent sites.

11
New cards

cloud database

A database that is created and maintained using cloud services such as Microsoft Azure or Amazon AWS.

12
New cards

general-purpose database

A database that contains a wide variety of data used in multiple disciplines.

13
New cards

Unstructured data

Data that exists in its original, raw state; that is, in the format in which it was collected.

14
New cards

Structured data

Data that has been formatted to facilitate storage, use, and information generation.

15
New cards

Semistructured data

Data that has already been processed to some extent.

16
New cards

Extensible Markup Language (XML)

A metalanguage used to represent and manipulate data elements.

17
New cards

XML database

supports the storage and management of semistructured XML data.

18
New cards

Problems with File Systems

  1. Data redundancy

  2. Data inconsistency

  3. Lack of data integrity

  4. Difficult to access

  5. No multi user access

19
New cards

3 levels of data abstraction are:

external, conceptual, and internal

20
New cards

ANSI stands for:

American National Standards institute

21
New cards

External model

end user’s view of the data environment

22
New cards

external schema

a specific representation of an external view

23
New cards

conceptual model

  • represents a global view of the entire database by the entire organization.

  • It integrates all external views(entities, relationships,etc) into a single global view of the data in the enterprise

24
New cards

The conceptual model is _____________ of both software and hardware.

independent

25
New cards

Data redundancy

when the same data is stored unneccessarily at different places.

26
New cards

Data inconsistency

when different and conflicting versions of the same data appear in different places.

27
New cards

Data integrity

Data is accurate and verifiable.

28
New cards

Database system

An organization of components that defines and regulates the collection, storage, management, and use of data in a database environment.

29
New cards

query language

a non-procedural language - one that lets the user specify what must be dont without having to specify how.

30
New cards

software independence

the model does not depend on the DBMS software used to implement the model.

31
New cards

hardware independence

model does not depend on the hardware used in the implementation of the model.

32
New cards

internal model

is the representation of the database as seen by the DBMS.

33
New cards

internal schema

depicts a specific representation of an internal model, using the database constructs supported by the chosen database.

34
New cards

logical independence

A condition in which the internal model can be changed without affecting the conceptual model.

35
New cards

physical model

  • operates at the lowest level of abstraction

  • describes the way data is saved on storage media

36
New cards

Primary Key

an attribute or combination of attributes that uniquely identifies any given row.

37
New cards

Key

consists of one or more attributes that determine other attributes.

38
New cards

Functional dependence

the value of one or more attributes determines the value of one or more other variables.

39
New cards

In functional dependency, the attribute whose value determines another is called the ____________or the key. The attribute whose value is determined by the other attribute is called the _______________.

determinant, dependent

40
New cards

composite key

a key that is composed of more than one attribute

41
New cards

superkey

a key that functionally determines every attribute in the row.

42
New cards

candidate key

is a superkey without any unneccessary attributes.

43
New cards

Entity Integrity

is the condition in which each row in the table has its own unique identity.

44
New cards

2 requirements of primary key

  1. all of the values in the primary key must be unique

  2. no key attribute in the primary key can contain a null

45
New cards

Foregin Key

is the primary key of one table that has been placed into another table to create a common attribute.

46
New cards

Secondary key

a key that is used strictly for data retrieval purposes.

47
New cards

SELECT

used to list all of the rows, or it can yield only rows tha match a specified criterion.

48
New cards

PROJECT

is a unary operator that yields all values for selected attributes.

49
New cards

UNION

combines all rows from two tables, excluding duplicate rows.(tables must have the same attribute characteristics).

50
New cards

INTERSECT

yields only the rows that appear in both tables.

51
New cards

DIFFERENCE

yields all rows in one table that are not found in the other table; that is, it subtracts one table from the other.

52
New cards

PRODUCT

yields all possible pairs of rows from two tables(cartesian product).

53
New cards

JOIN

allows information to be intelligently combined from two or more tables.

54
New cards

natural join

links tables by selecting only the rows with common values in their common attributes.

55
New cards

DIVIDE

used to answer questions about one set of data being associated with all values of data in another set of data.

56
New cards

Data Dictionary

provides a detailed description(metadata) of all tables in the databse created by the user and designer.

57
New cards

system catalog

can be described as a detailed system data dictionary that describeds all objects within the database(table names, number of columns,etc)