Managing Data Resources Flashcards

1
Q

Database

A

A Database is a system that takes Data as input, and generates Information as output
“a repository for an organised collection of interrelated data files, records and fields”
“a collection of related data organised to assist end-users”

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

The black box database model

A

Processing in databases is usually hidden from business users
They don’t worry about how it’s done
They do worry about what goes in (data) and what comes out (information)

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

Storing data

A

Organisations used to store data as paper records, in filing cabinets, and do the processing by hand. There are many advantages, however, if this data is stored electronically in a database on a computer

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

Advantages of computerised database systems

A
Easy to backup
Less space than a filing cabinet
Easy to search
Easy to share (copy, network)
Easy to transport
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Examples of non computer databases

A
List on the wall of a coffee shop
Data is recorded in a structured form
Each order (record) has same structure
Item ordered
Variations to standard order (no salt)
Number of items ordered

Your Address Book
The Telephone Directory (printed)

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

Examples of computerised databases

A

Keeping track of the files on your PC – The Filing Cabinet model
The computer records information about “directories” on a hard-disk drive

Modern computer-based databases
The RMIT University Student Database
Business transaction database (such as for Hammer Wines)
Database for scheduled plane flights at an airport

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

File management systems

A

Historically computers stored data in individual files (known as File Management Systems)
To retrieve and manipulate data, software had to be specifically created or customised

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

DBMS

A

DataBase Management System (DBMS) enables a pool of related data shared by multiple application programs

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

RDMS

A

Relational Database Management System (RDMS):
Access, Oracle, MySQL, Postgresql, Many others …
A collection of tables (data files) related/joined to one another by common data elements

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

The major issues addressed by RDMS

A

Redundant data

Data integrity

Ideally each data item is stored once in the entire system

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

Redundant data

A

Data was duplicated (i.e. Many pieces of data were stored multiple times in many different files, in order to allow business questions to be answered)
Redundancy wastes space and time
Redundancy can lead to inconsistency

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

Data integrity

A

Inaccurate data. Changes to the data therefore had to be re-entered at many places in the files. If any required changes to the data were missed then the integrity of the database as a whole was compromised
Data should have integrity - It must be
Accurate
Reliable

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

Important ideas in database design

A
Identifying Tables (Entities)
 Identifying Fields (Attributes)

plus
Relationships (Links)
Entity-Relationship Diagrams (ERDs)

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

Entities (Tables)

A

Something that the business wishes to store data about
Primary Key
Exists as a set of records
Can be a person, place, object, event, etc.

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

Examples of common entities:

A
Department
 Venue
 Customer
 Order			
 Item				
 Branch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fields (Attributes,Columns)

A

Characteristics/Descriptors/Properties of an Entity

Product
Product Code, Description, Supplier ID, Quantity on Hand, Unit Price, Reorder Level

Customer
D, Name, Address, Contact Name, Phone Number, Mobile, Email Address

Sales Order
Sale ID, Customer ID, Date, isShipped

17
Q

RELATIONSHIPS (LINKS)

A

The associations or relationships (links) between Entities depend on the business rules !!
Create links between entities where required
Can follow links between many entities
There are three types of relationships (links) in this course:
One to one
One to many
Many to many

18
Q

ERDS

A

One to One
A bank branch has only one manager
A manager manages only one bank branch

One to Many (most common)
A department can have many employees
An employee works in one department

Many to Many
An order can have many items
An item can be part of many orders

19
Q

RELATIONSHIPS BETWEEN TABLES

A

Tables are joined by relationships, e.g between Employee and Department tables.
On the one side the identifier is unique (There is only one ID for each line in the Department table).
We can also draw relationships between entities in an Entity Relationship Diagram (ERD):

20
Q

WHAT IS AN ERD

A

Entity-relationship-diagram

ERDs provide a simple diagrammatic way of representing entities (tables) and the relationships (links) between them
A relationship is a statement of a business rule
A relationship has cardinality (i.e. the number of entity instances of Entity B that can (or must) be associated with Entity A)

21
Q

What are ERDS used for

A

ERDs are a good way to design operational databases.
The designer can try out a number of designs.
Designer/developers can discuss the designs.
The designs guide development at every stage.
They can be read by nondevelopers.

22
Q

MANDATORY/OPTIONAL

A

Must a record in one table have a matching record in another table?
We need to determine this in order to more accurately model business rules
Note: We can enforce Mandatory/Optional rules in the RDMS

23
Q

Blackbox model diagram

A

photo 1

24
Q

3 TYPES OF ERDS

A

PHOTO 2

25
Q

ONE TO MANY EXAMPLE

A

PHOTO 3

26
Q

RELATIONSHIPS BETWEEN TABLES PHOTO

A

PHOTO 4

27
Q

ERD DRAWING

A

PHOTO 5

28
Q

MANDATORY/OPTIONAL ERD

A

PHOTO 6

29
Q

ERD PROBLEM

A

PHOTOS 7-9