ano letivo 2020/2021 the database environment

13
1 1 Version 4.2 (2020) The Database Environment Ano Letivo 2020/2021 Parts of this presentation were taken from the backing material of the book Modern Database Management, 13th Edition, 2019 Jeffrey A. Hoffer, V. Ramesh, Heikki Topi Disciplina de Gestão de Dados e de Bases de Dados 2 Version 4.2 (2020) An information system (IS) is a socio-technical system, the purpose of which is to process data and provide information to support the operations, management and governance of an organization Information System Definition Adapted from Robert Nickerson (2009) http://online.sfsu.edu/~rnick/mannheim/lecturerev.pdf

Upload: others

Post on 23-Jan-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ano Letivo 2020/2021 The Database Environment

1

1Version 4.2 (2020)

The Database Environment

Ano Letivo 2020/2021

Parts of this presentation were taken from the backing material

of the book

Modern Database Management, 13th Edition, 2019

Jeffrey A. Hoffer, V. Ramesh, Heikki Topi

Disciplina de Gestão de Dados e de Bases de Dados

2Version 4.2 (2020)

An information system (IS) is a socio-technical

system, the purpose of which is to process data

and provide information to support the operations,

management and governance of an organization

Information System Definition

Adapted from Robert Nickerson (2009)http://online.sfsu.edu/~rnick/mannheim/lecturerev.pdf

Page 2: Ano Letivo 2020/2021 The Database Environment

2

3Version 4.2 (2020)

Information system components model

Adapted from Robert Nickerson (2009)http://online.sfsu.edu/~rnick/mannheim/lecturerev.pdf

Information & Communication Tecnologies

Hardware

Communications

Software

Human Resources &

Business Processes

People

Business Processes

Stored Data

4Version 4.2 (2020)

Definitions (1/2)

• Database: organized collection of logically related

data

• Data: stored representations of objects and

events that have meaning and importance in the

user’s environment

– Structured: numbers, text, dates

– Unstructured: images, video, documents

• Information: data that have been processed in

such a way as to increase the knowledge of the

person who uses the data

Page 3: Ano Letivo 2020/2021 The Database Environment

3

5Version 4.2 (2020)

• Metadata: data that describes the properties

and context of other data

• Knowledge is information that changes

something or somebody -- either by

becoming grounds for actions, or by making

an individual (or an institution) capable of

different or more effective action Drucker (1989)

Base de Dados

Definitions (2/2)

6Version 4.2 (2020)

Data, Information & Knowledge

http://learningforsustainability.net/knowledge-management/

Page 4: Ano Letivo 2020/2021 The Database Environment

4

7Version 4.2 (2020)

Graphical displays turn data into useful information that managers can use for

decision making and interpretation

Summarized data

8Version 4.2 (2020)

The DATABASE Approach

• Central repository of shared data

• Data is managed by a controlling agent

(DBMS)

• Stored in a standardized, convenient form

Requires a Database Management System (DBMS)

Page 5: Ano Letivo 2020/2021 The Database Environment

5

9Version 4.2 (2020)

Database Management System

◼ A software system that is used to create, maintain, and

provide controlled access to user databases

Order Filing

System

Invoicing

System

Payroll

System

DBMSCentral database

Contains employee,

order, inventory,

pricing, and

customer data

10Version 4.2 (2020)

Magic Quadrant for Operational Database Management Systems

Page 6: Ano Letivo 2020/2021 The Database Environment

6

11Version 4.2 (2020)

Magic Quadrant for Data Warehouse and Data Management Solutions for Analytics

12Version 4.2 (2020)

Data Independence

◼ Data independence is the idea that generated and

stored data should be kept separate from applications

that use the data for computing and presentation

https://www.techopedia.com/definition/1178/data-independence

Page 7: Ano Letivo 2020/2021 The Database Environment

7

13Version 4.2 (2020)

Data Independence

Data

DBMS

Applications

14Version 4.2 (2020)

EXTERNALVIEW 1

EXTERNALVIEW n

INTERNAL SCHEMA

LOGICAL SCHEMA

END USERS

. . .

STORED DATABASE

INTERNALLEVEL

CONCEPTUALLEVEL

EXTERNALLEVEL

external/conceptual mapping

conceptual/internal mapping

ANSI-SPARC ArchitectureAmerican National Standards Institute, Standards Planning And Requirements Committee)

is an abstract design standard for a Database Management System (DBMS), first proposed

in 1975.

Page 8: Ano Letivo 2020/2021 The Database Environment

8

15Version 4.2 (2020)

• Physical data independence

Changes to the physical level (how the data is stored,whether in arrays or linked lists etc.) must not require achange to an application based on the structure

• Logical data independence

Changes to the logical level (tables, columns, rows, andso on) must not require a change to an applicationbased on the structure

Sistema de Gestão de Bases de Dados

Program-Data independence (1/2)

16Version 4.2 (2020)

• Integrity independence

Integrity constraints must be specified separately fromapplication programs and stored in the catalog. It mustbe possible to change such constraints as and whenappropriate without unnecessarily affecting existingapplications

• Distribution independence

The distribution of portions of the database to variouslocations should be invisible to users of the database.Existing applications should continue to operatesuccessfully :

1. When a distributed version of the DBMS is firstintroduced; and

2. When existing distributed data are redistributedaround the system

Program-Data independence (2/2)

Page 9: Ano Letivo 2020/2021 The Database Environment

9

17Version 4.2 (2020)

- Which factors do influence sales in Lisbon?

- Monthly sales by product in Lisbon?

OPERATIONAL DATABASES

DATA WAREHOUSE

OLTP

APPLICATIONS

On Line Transaction Processing

- What is the price of

Product X?

DATA

INFORMATION

KNOWLEDGE

BA

Business

Analytics

Classification of DatabasesAccording to the type of use

18Version 4.2 (2020)

Three Tier Architecture

Presentation Tier

Application Tier

Data Tier

Controls application functionality by

performing detailed processing

◼Occupies the top level and displays

information related to services available

on a website

Data in this tier is kept independent of

application servers or business logic

Page 10: Ano Letivo 2020/2021 The Database Environment

10

19Version 4.2 (2020)

Business rules on

application

server

Generic three-tier architectureThin clients

DBMS only on DB server

20Version 4.2 (2020)

Evolution of Database Systems

Driven by four main objectives:

➢ Need for program-data independence ➔ reduced

maintenance

➢ Desire to manage more complex data types and

structures

➢ Ease of data access for less technical personnel

➢ Need for more powerful decision support

platforms

Page 11: Ano Letivo 2020/2021 The Database Environment

11

21Version 4.2 (2020)

Evolution of DBMS

22Version 4.2 (2020)

Database architectures

Relational Model Object Oriented Model

Page 12: Ano Letivo 2020/2021 The Database Environment

12

23Version 4.2 (2020)

Relational Databases

Database technology involving tables (relations) representing entities and primary/foreign keys representing relationships

Database architectures (cont.)

24Version 4.2 (2020)

Database architectures (cont.)

Multidimensional Model (OLAP)

Page 13: Ano Letivo 2020/2021 The Database Environment

13

25Version 4.2 (2020)

Database architectures (cont.)

Multidimensional Model (ROLAP)

26Version 4.2 (2020)

Database architectures (cont.)

Big Data (NoSQL databases)