Database Management

5.0(1)
studied byStudied by 1 person
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

50 Terms

1
New cards

TAL Distributors

  • Wholesaler of wooden toys, games, puzzles

  • Uses spreadsheet software to maintain important data

  • Recent growth has made spreadsheet approach problematic


2
New cards

Problems using spreadsheet

  • Redundancy

  • Difficulty accessing related data

  • Limited security features

  • Size limitations

3
New cards

Redundancy

Duplication of data or the storing of the same data in more than one place

4
New cards

Information TAL Distributors needs to maintain

  • Sales Reps

  • Customers

  • Items Inventory

5
New cards

Sales Rep

Sales rep number, last name, first name, address, total commission, commission rate

6
New cards

Customers

Customer number, name, address, current balance, credit limit, # of customer’s sales rep

7
New cards

Items Inventory

Item #, description, # of units on hand, item category, storehouse #, unit price

8
New cards

Order

Order #, order date, customer #

9
New cards

Order line

Order #, item #, # of units ordered, quoted price

10
New cards

Overall order total

Not stored because it can be calculated

11
New cards

Items for each customer’s order

  • Order

  • Order line

  • Overall order total

12
New cards

Database

Structure that can store information (data)

13
New cards

Entity

  • Person, place, object, event, or idea

  • Entities of TAL Distributors: sales reps, customers, orders, and items

14
New cards

Attribute

  • Characteristic or property of an entity

  • May also be called a field or column

  • Example: Customer has name, street, city, etc

15
New cards

Relationship

Association between entities

16
New cards

One-to-many relationship

Type of association in database design where a single record in one table (the "one" side) can be associated with multiple records in another table (the "many" side).

17
New cards

Data file

  • File used to store data

  • Computer counterpart to paper file

18
New cards

Entity-relationship (E-R) diagram

  • Visual way to represent a database

  • Rectangles represent entities

  • Lines represent relationships between connected entities

19
New cards

Database Management System (DBMS)

A program, or collection of programs, through which users interact with a database

20
New cards

Popular DBMS’s

Access, Oracle, DB2, MYSQL, and SQL Server

21
New cards

Database Design

Determining the structure of the required database

22
New cards

Forms

Screen objects used to maintain, view, and print data from a database

23
New cards

Reports

Created by DBMS for TAL distributors that’s based on user’s desired content and appearance

24
New cards

Advantages of Database Processing

  • Getting more info from the same amount of data

  • Sharing Data

  • Balancing conflicting requirements

  • Controlling redundancy

  • Facilitating consistency

  • Improving integrity

  • Expanding security

  • Increasing productivity

  • Providing data independence

25
New cards

Database Administrator/Database Administration (DBA)

Person or group in charge of the database

26
New cards

Integrity Constraint

a rule that data must follow in the database

27
New cards

Security

prevention of unauthorized access

28
New cards

Data Independence

can change the structure of a database without changing the programs that access the database

29
New cards

Disadvantages of Database Processing

  • Larger file size

  • Increased complexity

  • Greater impact of failure

  • More difficult recovery

30
New cards

Big Data

  • Large volume of data

  • Produced by every digital process, system, sensor, mobile device, and social
    media exchange

31
New cards

Dr Edgar F. Codd

researcher and pioneer of the Relational Model of
database systems.

32
New cards

Codd’s Rules

Twelve rules a database must obey in order to be regarded as a true relational database.

33
New cards

Codd’s 12 Commandments

Another name for Codd’s Rules

34
New cards

Rule 0: The Foundation Rule

For any system advertised or claimed to be a Relational Database Management System (RDBMS), the system must be able to manage data entirely through its relational capabilities.

35
New cards

Rule 1: Information Rule

The data stored in a database, may it be user data or metadata, must be a value of some table cell. Everything in a database must be stored in a table format

36
New cards

Rule 2: Guaranteed Access Rule

Every single data element (value) is guaranteed to be accessible logically with a combination of table-name, primary-key (row value), and attribute-name (column value). No other means, such as pointers, can be used to access data

37
New cards

Rule 3: Systematic Treatment of NULL Values

The NULL values in a database must be supported and given a systematic and uniform treatment. This is a very important rule because a NULL can be interpreted as one the following − data is missing, data is not known, or data is not applicable.

38
New cards

Rule 4: Active Online Catalog

The structure description of the entire database must be stored in an online catalog, known as data dictionary. Authorized users can use the same query
language to access the catalog as that used to access the database itself

39
New cards

Rule 5: Comprehensive Data Sub-Language Rule

There must be at least one language having a well defined syntax that supports data definition, view definition, data manipulation, integrity constraints, authorization and transaction management operations. This language can be used directly or by means of some application. If the database allows access to data without any help of this language, then it is considered as a violation.

40
New cards

Rule 6: View Updating Rule

All the views of a database, which can theoretically be updated, must also be updatable by the system.

41
New cards

Rule 7: High-Level Insert, Update, and Delete Rule


A database must support high-level insertion, updation, and deletion in additional to retrieval. This must not be limited to a single row, that is, it must also support union, intersection and minus operations to yield sets of data records.

42
New cards

Rule 8: Physical Data Independence


The data stored in a database must be independent of the applications that access the database. Any change in the physical structure of a database must not have any impact on how the data is being accessed by external applications
.

43
New cards

Rule 9: Logical Data Independence


The logical data in a database must be independent of its user’s view (application). Any change in logical data must not affect the applications using it. For example, if two tables are merged or one is split into two different tables, there should be no impact or change on the user application. This is one of the most difficult rule to apply

44
New cards

Rule 10: Integrity Independence

Integrity constraints specific to a particular relational database must be definable in the relational data sublanguage and storable in the catalog, not in the application programs. This rule makes a database independent of the front-end application and its interface.

45
New cards

Rule 11: Distribution Independence

The end-user must not be able to see that the data is distributed over various locations. Users should always get the impression that the data is located at one site only. This rule has been regarded as the foundation of distributed database systems

46
New cards

Rule 12: Non-Subversion Rule

If a system has an interface that provides access to low-level records, then the interface must not be able to subvert the system and bypass security and integrity constraints.

47
New cards

Relation

two-dimensional table

48
New cards

Traits of a Relation

  • Entries are single-valued

  • Each column has a distinct name (attribute name)

  • All Values in a column are values of the same attribute

  • Order of columns is immaterial

  • Each row is distinct

  • Order of rows is immaterial

49
New cards

Relational Database

collection of relations

50
New cards

Unnormalized relation

A structure that satisfies all properties of a relation except for the first item