Database Management

studied byStudied by 1 person
5.0(1)
Get a hint
Hint

TAL Distributors

1 / 49

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

50 Terms

1

TAL Distributors

  • Wholesaler of wooden toys, games, puzzles

  • Uses spreadsheet software to maintain important data

  • Recent growth has made spreadsheet approach problematic


New cards
2

Problems using spreadsheet

  • Redundancy

  • Difficulty accessing related data

  • Limited security features

  • Size limitations

New cards
3

Redundancy

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

New cards
4

Information TAL Distributors needs to maintain

  • Sales Reps

  • Customers

  • Items Inventory

New cards
5

Sales Rep

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

New cards
6

Customers

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

New cards
7

Items Inventory

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

New cards
8

Order

Order #, order date, customer #

New cards
9

Order line

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

New cards
10

Overall order total

Not stored because it can be calculated

New cards
11

Items for each customer’s order

  • Order

  • Order line

  • Overall order total

New cards
12

Database

Structure that can store information (data)

New cards
13

Entity

  • Person, place, object, event, or idea

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

New cards
14

Attribute

  • Characteristic or property of an entity

  • May also be called a field or column

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

New cards
15

Relationship

Association between entities

New cards
16

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).

New cards
17

Data file

  • File used to store data

  • Computer counterpart to paper file

New cards
18

Entity-relationship (E-R) diagram

  • Visual way to represent a database

  • Rectangles represent entities

  • Lines represent relationships between connected entities

New cards
19

Database Management System (DBMS)

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

New cards
20

Popular DBMS’s

Access, Oracle, DB2, MYSQL, and SQL Server

New cards
21

Database Design

Determining the structure of the required database

New cards
22

Forms

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

New cards
23

Reports

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

New cards
24

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

New cards
25

Database Administrator/Database Administration (DBA)

Person or group in charge of the database

New cards
26

Integrity Constraint

a rule that data must follow in the database

New cards
27

Security

prevention of unauthorized access

New cards
28

Data Independence

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

New cards
29

Disadvantages of Database Processing

  • Larger file size

  • Increased complexity

  • Greater impact of failure

  • More difficult recovery

New cards
30

Big Data

  • Large volume of data

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

New cards
31

Dr Edgar F. Codd

researcher and pioneer of the Relational Model of
database systems.

New cards
32

Codd’s Rules

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

New cards
33

Codd’s 12 Commandments

Another name for Codd’s Rules

New cards
34

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.

New cards
35

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

New cards
36

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

New cards
37

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.

New cards
38

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

New cards
39

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.

New cards
40

Rule 6: View Updating Rule

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

New cards
41

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.

New cards
42

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
.

New cards
43

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

New cards
44

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.

New cards
45

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

New cards
46

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.

New cards
47

Relation

two-dimensional table

New cards
48

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

New cards
49

Relational Database

collection of relations

New cards
50

Unnormalized relation

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

New cards

Explore top notes

note Note
studied byStudied by 91 people
... ago
5.0(2)
note Note
studied byStudied by 26 people
... ago
5.0(1)
note Note
studied byStudied by 15 people
... ago
5.0(1)
note Note
studied byStudied by 62 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
4.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 15 people
... ago
5.0(1)
note Note
studied byStudied by 100 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (156)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (37)
studied byStudied by 7 people
... ago
5.0(2)
flashcards Flashcard (54)
studied byStudied by 31 people
... ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 88 people
... ago
5.0(2)
flashcards Flashcard (166)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (111)
studied byStudied by 169 people
... ago
5.0(2)
flashcards Flashcard (169)
studied byStudied by 13 people
... ago
5.0(1)
robot