Lesson I. Database Management Systems

Size: px
Start display at page:

Download "Lesson I. Database Management Systems"

Transcription

1 Lesson I Database Management Systems

2 IN THIS LESSON YOU WILL LEARN The concept and importance of information. What an information system is and its components. The structure of data files and the drawbacks of filebased system. What a database is and the advantages of using a database management system. The meaning of data model and a list of the main data models in use. The three layer architecture for databases. The different users of a database. 2

3 1. Information 2. Information Systems 3. File-based IS 4. Database Management Systems (DBMS) 5. Data Modelling 6. ANSI/SPARK Architecture

4 Information

5 1. INFORMATION 1.1 Introduction 1.2 Importance 1.3 Information vs Computer Science 1.4 Quality of Information 1.5 Properties of Information

6 INFORMATION Introduction Nowadays, the amount of information we are exposed to is huge. e.g: weather prediction, horoscopes, train timetable... All areas of human development need to manipulate information. This information is changing constantly. 6

7 Why is information so important?

8 INFORMATION Importance In our society the information has become a very important resource. Relevant and timely information is essential to make decisions. In addition, all organisations need to save and access data. 8

9 INFORMATION Information vs Computer Science In Catalan and Spanish the term computer science comes from the French word: information automatique informatique 9 That is what we are interested in!!

10 INFORMATION Information vs Data Data are the record of facts. It can be only series of numbers or characters with no meaning. Information implies that the data have been processed so that they mean something for the recipient. 10

11 Activity 1.1 Information vs Data

12 INFORMATION Quality of Information Information is considered high-quality if it permits the recipient to make the best decision. The quality of the information is more important than its quantity. There are a set of properties that allow you to assess the quality of the information. 12

13 INFORMATION Properties of Information - relevant - accurate - complete - transmitted to the right person - reported in time - understandable - up to date - reliable to the user - safe It s not possible to get all of them!! 13

14 Activity 1.2 Quality of Information

15 1. Information 2. Information Systems 3. File-based IS 4. Database Management Systems (DBMS) 5. Data Modelling 6. ANSI/SPARK Architecture

16 Information Systems

17 2. INFORMATION SYSTEMS 2.1 Concept 2.2 Components 2.3 Connection between Components and Objectives 2.4 Analysis and Design 2.5 Automated Information Systems

18 INFORMATION SYSTEMS Concept Companies and organisations have an infrastructure that allows the information to be manipulated quickly and easily. Organisation s INFORMATION SYSTEM (IS) 18

19 INFORMATION SYSTEMS Components An information system is made up of: information users physical support working procedures Can you guess what each of these 19 components is?

20 Who decides on the information system?

21 2. INFORMATION SYSTEMS Components 2.3 Information Users Physical Suport Working Procedures

22 INFORMATION SYSTEMS Information It s the most important component of the systems. Which information must be stored? 22

23 2. INFORMATION SYSTEMS Components 2.3 Information Users Physical Suport Working Procedures

24 INFORMATION SYSTEMS Users People that insert, manipulate or use the information to carry out their tasks. Who is manipulating the information? 24

25 2. INFORMATION SYSTEMS Components 2.3 Information Users Physical Suport Working Procedures

26 INFORMATION SYSTEMS Physical Support All devices used to communicate, process and store information. Which physical elements will be used to manipulate the information? 26

27 Are computers part of the physical supports in all IS?

28 INFORMATION SYSTEMS Physical Support It s possible to find information systems that only use basic tools to manipulate information. Nowadays computers have replaced those old tools. Although they are not essential!! 28

29 INFORMATION SYSTEM Physical Support 29 data file

30 INFORMATION SYSTEM Physical Support We are interested in IS that do use computers to manipulate information. 30

31 INFORMATION SYSTEMS Physical Support 31

32 INFORMATION SYSTEMS Physical Support The database systems are the heart of all current IS because they allow to manage large amounts of data. 32

33 2. INFORMATION SYSTEMS Components 2.3 Information Users Physical Suport Working Procedures

34 INFORMATION SYSTEMS Working Procedures The IS must help to achieve the general objectives of the company. So, the managers decide a set of working guidelines that they consider more efficient and useful. How should things be done? 34

35 INFORMATION SYSTEMS Connection between Components and Objectives The working procedures determine the: necessary information involved users necessary physical support 35

36 INFORMATION SYSTEMS Connection between Components and Objectives The working procedures also have to adapt to the available elements: information characteristics of the users existing technology 36

37 Activity 1.3 What is the role of a database expert in a nonautomated IS?

38 INFORMATION SYSTEMS 38

39 INFORMATION SYSTEMS Analysis and Design databases application programs 39 information system

40 Activity 1.4 Identifying the components of an IS

41 INFORMATION SYSTEMS Automated Infomation Systems An automated IS is made up of the following elements: information working procedures users software hardware Is it the only physical support used? administrator 41

42 1. Information 2. Information Systems 3. File-based IS 4. Database Management Systems (DBMS) 5. Data Modelling 6. ANSI/SPARK Architecture

43 File-based Information Systems

44 3. FILE-BASED IS s 3.1 Files 3.2 Concept 3.3 Separate Application Programs 3.4 Drawbacks 3.5 Database

45 FILE-BASED INFORMATION SYSTEMS Files The computer s RAM memory is volatile. The file is a high-level structure provided by the operating system that keeps the data in mass storage. Different types of files store different types of information. We are interested in data files and database files. 45

46 FILE-BASED INFORMATION SYSTEMS Concept Data files are used to store the information. In the same company or organisation, there are several programs that perform services for the final users. Each program defines and manages its own data. 46

47 FILE-BASED INFORMATION SYSTEMS Separate Application Programs 47

48 SEPARATE PROGRAMS Example Consider two departments in our college: - admissions office - personnel Both of them need to keep information about the teachers but the information required is slightly different. 48

49 SEPARATE PROGRAMS Example This approach has several limitations!! 49

50 FILE-BASED INFORMATION SYSTEMS Drawbacks - Data dependence - Incompatible file formats - Security problems - Data redundancy What are these disadvantages about? 50

51 FILE-BASED IS DRAWBACKS Data Dependence If some modifications have to be made in the data, then the application program has to be rewritten. 51

52 FILE-BASED IS DRAWBACKS Incompatible File Formats The structure of the file depends on the application programming language. e.g. the structure of the files generated by C and Visual Basic may be different. o The incompatibility of such files makes it difficult to process them together. 52

53 FILE-BASED IS DRAWBACKS Security Problems There are no mechanisms to control the different permissions on the users. In case of a system crash it also becomes hard to recover the data to a consistent state. 53

54 3. FILE-BASED IS s 3.4 Drawbacks Data Dependence Incompatible File Formats Security Problems Data Redundancy

55 FILE-BASED INFORMATION SYSTEMS Data Redundancy Data redundancy means duplication of data. Data redundancy leads to: - wastage of storage space - more laborious updating process - loss of data integrity!! 55

56 LOSS OF DATA INTEGRITY Example Let s imagine that one of the teachers moves to another address: BUT.. Files with contradictory information!! 56

57 What of the previous disadvantages is the worst?

58 To solve the problems mentioned before... database systems A database is a well-organised collection of data that is related in a meaningful way. 58

59 How do database systems solve the problems mentioned?

60 DATABASE Definition All the data needed by the organisation are in the database. All users access a single place to get the information they need. 60

61 DATABASE Integrated Information 61

62 1. Information 2. Information Systems 3. File-based IS 4. Database Management Systems (DBMS) 5. Data Modelling 6. ANSI/SPARK Architecture

63 Database Management Systems

64 4. DBMS 4.1 Concept 4.2 Data Access 4.3 Advantages 4.4 DBMS vs File-based Systems 4.5 Drawbacks 4.6 Elements 4.7 Languages 4.8 Users

65 DATABASE MANAGEMENT SYSTEM Concept A DBMS is a collection of programs that permits the user to create and manipulate databases. The DBMS provides the interface between the database and the programs that access the data. 65 Do you know any DBMS? e.g: Access, MySQL, Oracle, Postgress,...

66 DBMS Data Access 66

67 What are the advantages of having all the data in a single place?

68 DBMS Advantages - Data dependence - Incompatible file formats - Security problems - Data redundancy - Data independence - Data standardization - Security tools - Controlled redundancy 68

69 ADVANTAGES DBMS Data Independence Data independence means independence between application program and data. When the data representation changes, it is not necessary to change the application program. 69

70 ADVANTAGES DBMS Data Standardisation There s a greater degree of data standardization within the organisation. The users are obliged to use the same data definitions. 70

71 ADVANTAGES DBMS Controlled Redundancy Since the data are recorded only once: data need less space the data updating process is easier there s no data inconsistency!! 71

72 ADVANTAGES DBMS Security Utilities Access to data can be restricted so that only authorised users may see or manipulate it. Backup copies of data need to be made regularly to recover in case of system failure. 72

73 4. DBMS 4.3 Advantages Data Independence Data Standardisation Controlled Redundancy Security Utillities 4.4 DBMS vs File-based Systems

74 DBMS DBMS vs File-based Systems FILE-BASED SYSTEM Data dependence Incompatible file formats Data redundancy Security problems DBMS SYSTEM Data independence Data standardization Controlled redundancy Backup and recovery utilities Restricted authorized access 74

75 Activity 1.5 Advantages of a DBMS

76 Is there any disadvantage of using a DBMS?

77 DBMS Disadvantages The enterprise may be assuming additional risks in the following areas: the cost of using DBMS data integrity data quality confidentiality, privacy and security enterprise vulnerability 77

78 Activity 1.6 Disadvantages of a DBMS

79 What can you do with a DBMS?

80 DBMS Elements A practical database package tipically provides utilities for: 80 - Design and maintenance of database structures - Formulation of queries - Design of forms - Design of reports - Contruction of macros and programs

81 DBMS Languages The DBMS has languages and procedures to communicate with the database. Data Definition Language (DDL) Data Manipulation Language (DML) What is the purpose of these 81 languages?

82 DBMS LANGUAGES Data Definition Language It operates on the data structures. It is used to: - define a database - modify its structure - destroy it when you no longer need it 82

83 DBMS LANGUAGES Data Manipulation Language It operates on the data. There are four things that you can do with data: store the data change the stored data remove data from the database retrieve data from a database 83

84 Activity 1.7 DBMS Languages

85 DBMS Users A database involves a group of people: database designer database users database administrator What are these people in charge of? 85

86 USERS OF A DBMS Database Designer The database designer is responsible for: Identifying the data to be stored in the database. Choosing an appropriate structure to represent and store the data. 86

87 USERS OF A DBMS Database Administrator The objectives of DBA are: - To control the access to the database - To restore a consistent state of the database from a system failure - To standardize the use of databases - To support the development and maintenance of database application programs - To ensure all the documentation is up-to-date 87

88 USERS OF A DBMS Database Users They are people who need information from the database to carry out their tasks. Database users Application programmers: Write application programs and interact with the database through a host language like Pascal or C End users - Specialized end users - Non-experienced final users 88

89 1. Information 2. Information Systems 3. File-based IS 4. Database Management Systems (DBMS) 5. Data Modelling 6. ANSI/SPARK Architecture

90 Data Modelling

91 5. DATA MODELLING 5.1 Concept of Modelling 5.2 Why Modelling? 5.3 Meaning of Data Modelling 5.4 Advantages 5.5 Difficulties

92 MODELLING Concept A model of something is a representation that shares certain relevant features with the original. e.g. An actual physical scale model A musical score A plan of a house A set of equations Can you give examples of models? 92

93 Why modelling?

94 MODELLING Why Modelling? Models are useful because the characteristics of the real system can be analysed by studying the nature and behaviour of the model. Models can give an accurate description. There s no ambiguity!! 94

95 DATA MODELLING Meaning We need techniques that allow us to represent a conceptual view of the information involved in information systems. Data models are also concerned about the processing of data and the definition of operations on these. 95

96 DATA MODELLING Meaning The real system to be modelled usually refers to a company or organisation. 96

97 DATA MODELLING Advantages The use of data models provides a better understanding of the nature of information. They enable a better design of database systems. 97

98 DATA MODELLING Difificulties One difficulty in data modelling is the difference between the human view of an IS and the way it has to be implemented within the computer. To solve this, we can view the architecture of a database as a series of levels that provide different degrees of abstraction. 98

99 1. Information 2. Information Systems 3. File-based IS 4. Database Management Systems (DBMS) 5. Data Modelling 6. ANSI/SPARK Architecture

100 ANSI/SPARK Architecture

101 6. ANSI/SPARK ARCHITECTURE 6.1 Concept 6.2 Levels of Abstraction 6.3 Logical Level 6.4 Pysical Level 6.5 Schemas 6.6 Types of Data Models 6.7 Data Independence

102 ANSI/SPARC DATA MODEL Concept Proposed by ANSI/SPARC for database systems. The data in a DBMS is represented at three levels of abstraction. There s a schema at each of these levels. A schema is the structure of the database, described in a formal language supported by the DBMS. 102

103 ANSI/SPARC DATA MODEL Levels of Abstraction 103

104 ANSI/SPARK DATA MODEL To do this we need... DATA MODELS 104

105 DATA MODELS Types There is a large number of data models: Hierarchical Model Network Model Relational Model Entity-Relationship Model Object-Oriented model

106 ANSI/SPARC DATA MODEL Levels of Abstraction 106

107 ANSI/SPARC DATA MODEL Logical Level The reality of the information system is represented to obtain a conceptual schema. From this schema, it s described what data are stored. The logical schema contains the organisation of the data into tables and columns. 107

108 ANSI/SPARC DATA MODEL ER model Relational model 108

109 ANSI/SPARK DATA MODEL Physical Level It describes how the data relations described in the conceptual schema will be physically stored using a particular DBMS. 109

110 ANSI/SPARC DATA MODEL External Level It is the highest level of abstraction. An external schema is the view that the individual user of the database has. Users are not allowed to access all the information in the database 110

111 LOGICAL LEVEL Conceptual Schema The real-world information system is represented to obtain a conceptual schema. 111

112 CONCEPTUAL SCHEMA Example 112 Entity-relationship diagram

113 LOGICAL LEVEL Logical Schema From this schema, it s described what data are stored. The logical schema contains the organisation of the data into rows and columns. 113

114 LOGICAL SCHEMA Example TEACHER (id, name, address ) SUBJECTS (code, name, hours, id_teacher) foreign key: id_teacher TEACHERS Relational Model 114

115 LOGICAL SCHEMA Example TEACHER (id, name, address ) SUBJECTS (code, name, hours, id_teacher) foreign key: id_teacher TEACHERS tables id name address 12 Fox BCN 25 McKewan BCN 80 Fox GRN code name hours id_teacher C1 OS C2 NET C3 DB TEACHERS 115 SUBJECTS

116 DATA MODELS Types SCHEMA Conceptual Schema (real-world) Logical Schema (data description) Internal Schema (implementation of tables) MODEL Entity-Relationship model (ERM) -Relational model -Hierarchical model -Network model 116

117 DATA MODELS Hierarchical Model Formed the basis of the earliest databases. Organised data were arranged on a top-down structure. 117

118 DATA MODELS Network Model It was a more general representation of the hierachical model with no distiction between parent and child. 118

119 DATA INDEPENDENCE Data independence means that the changes in the way the data are structured and stored don t affect the programs. Physical data independece Logical data independence 119

120 DATA INDEPENDENCE Physical Data Independence It is the ability to modify physical schema without causing the conceptual schema or application programs to be rewritten. 120

121 DATA INDEPENDENCE Physical Independence PHYSICAL INDEPENDENCE 121

122 DATA INDEPENDENCE Logical Data Independence It s the ability to modify the conceptual schema without having to change the external schemas or application programs. 122

123 DATA INDEPENDENCE Physical vs Logical Data Independence LOGICAL INDEPENDENCE 123

124 DATA INDEPENDENCE Physical vs Logical Data Independence LOGICAL INDEPENDENCE PHYSICAL INDEPENDENCE 124

Layers. External Level Conceptual Level Internal Level

Layers. External Level Conceptual Level Internal Level Layers External Level Conceptual Level Internal Level Objective of 3 Layer Arch. Separate each user s view of database from the way database is physically represented. Each user should be able to access

More information

Introduction to Databases

Introduction to Databases Introduction to Databases 1 Objectives Most common types of digital information processing enter file-based systems Why database systems came around DBMS environment: components / roles Is it all worth

More information

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1 Basic Concepts :- 1. What is Data? Data is a collection of facts from which conclusion may be drawn. In computer science, data is anything in a form suitable for use with a computer. Data is often distinguished

More information

Introduction to Database Concepts. Department of Computer Science Northern Illinois University January 2018

Introduction to Database Concepts. Department of Computer Science Northern Illinois University January 2018 Introduction to Database Concepts Department of Computer Science Northern Illinois University January 2018 What is a Database? A collection of stored operational data used by the application systems of

More information

Data, Databases, and DBMSs

Data, Databases, and DBMSs Todd S. Bacastow January 2004 IST 210 Data, Databases, and DBMSs 1 Evolution Ways of storing data Files ancient times (1960) Databases Hierarchical (1970) Network (1970) Relational (1980) Object (1990)

More information

Introduction to SET08104

Introduction to SET08104 Introduction to SET08104 SET08104 Database Systems Copyright @ Napier University Introduction Before Databases: Each application suite had independent master files. Duplication of data could lead to inconsistencies

More information

Elena Baralis and Tania Cerquitelli 2013 Politecnico di Torino 1

Elena Baralis and Tania Cerquitelli 2013 Politecnico di Torino 1 Databases Databases Data model Data access Advantages and disadvantages of DBMS Unit 1 Introduction DB M BG2 Information is recorded and exchanged in different forms D B M G4 Information is recorded and

More information

Chapter 11 Database Concepts

Chapter 11 Database Concepts Chapter 11 Database Concepts INTRODUCTION Database is collection of interrelated data and database system is basically a computer based record keeping system. It contains the information about one particular

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World Discovering Computers Fundamentals, 2011 Edition Living in a Digital World Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe the qualities

More information

John Edgar 2

John Edgar 2 CMPT 354 http://www.cs.sfu.ca/coursecentral/354/johnwill/ John Edgar 2 Assignments 30% Midterm exam in class 20% Final exam 50% John Edgar 3 A database is a collection of information Databases of one

More information

Fundamentals of Database Systems (INSY2061)

Fundamentals of Database Systems (INSY2061) Fundamentals of Database Systems (INSY2061) 1 What the course is about? These days, organizations are considering data as one important resource like finance, human resource and time. The management of

More information

COSC 304 Introduction to Database Systems. Database Introduction. Dr. Ramon Lawrence University of British Columbia Okanagan

COSC 304 Introduction to Database Systems. Database Introduction. Dr. Ramon Lawrence University of British Columbia Okanagan COSC 304 Introduction to Database Systems Database Introduction Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca What is a database? A database is a collection of logically

More information

G64DBS Database Systems. G64DBS Module. Recommended Textbook. Assessment. Recommended Textbook. Recommended Textbook.

G64DBS Database Systems. G64DBS Module. Recommended Textbook. Assessment. Recommended Textbook. Recommended Textbook. G64DBS Database Systems Tim Brailsford G64DBS Module Lectures Mondays, 3pm in LT2 Fridays, 4pm in LT3 Labs - TBA Will NOT start until approximately Week 4 Wednesdays, 2-4pm in A32 Tim Brailsford (tjb@cs.nott.ac.uk)

More information

DB Basic Concepts. Rab Nawaz Jadoon DCS. Assistant Professor. Department of Computer Science. COMSATS IIT, Abbottabad Pakistan

DB Basic Concepts. Rab Nawaz Jadoon DCS. Assistant Professor. Department of Computer Science. COMSATS IIT, Abbottabad Pakistan DB Basic Concepts DCS COMSATS Institute of Information Technology Rab Nawaz Jadoon Assistant Professor COMSATS IIT, Abbottabad Pakistan Management Information Systems (MIS) Database Management System (DBMS)

More information

Database Management Systems

Database Management Systems DATABASE CONCEPTS & APPLICATIONS Database Management Systems A Database Management System (DBMS) is a software package designed to store and manage databases through database applications. User Database

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

Lecture2: Database Environment

Lecture2: Database Environment College of Computer and Information Sciences - Information Systems Dept. Lecture2: Database Environment 1 IS220 : D a t a b a s e F u n d a m e n t a l s Topics Covered Data abstraction Schemas and Instances

More information

Solved MCQ on fundamental of DBMS. Set-1

Solved MCQ on fundamental of DBMS. Set-1 Solved MCQ on fundamental of DBMS Set-1 1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relationship D. Records 2) Field

More information

5/23/2014. Limitations of File-based Approach. Limitations of File-based Approach CS235/CS334 DATABASE TECHNOLOGY CA 40%

5/23/2014. Limitations of File-based Approach. Limitations of File-based Approach CS235/CS334 DATABASE TECHNOLOGY CA 40% CS235/CS334 DATABASE TECHNOLOGY CA 40% 3 TESTS EXAM 60% www.lechaamwe.weebly.com Lecture Notes Undergraduate CS235 and CS334 Introduction to Databases File-based Systems File-based systems were an early

More information

Database Management Systems. Chapter 1

Database Management Systems. Chapter 1 Database Management Systems Chapter 1 Overview of Database Systems Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 What Is a DBMS? A database is a collection of data. Models real-world

More information

An Introduction to Databases and Database Management Systems.

An Introduction to Databases and Database Management Systems. An Introduction to Databases and Database Management Systems. Introduction An important aspect of most every business is record keeping. In our information society, this has become an important aspect

More information

Chapter 1 Chapter-1

Chapter 1 Chapter-1 Chapter 1 Chapter-1 Data: Data are the raw facts that can be obtained after some experiments or observations. Raw data is of no use until and unless we process it to find some useful information form it.

More information

Database Administration. Database Administration CSCU9Q5. The Data Dictionary. 31Q5/IT31 Database P&A November 7, Overview:

Database Administration. Database Administration CSCU9Q5. The Data Dictionary. 31Q5/IT31 Database P&A November 7, Overview: Database Administration CSCU9Q5 Slide 1 Database Administration Overview: Data Dictionary Data Administrator Database Administrator Distributed Databases Slide 2 The Data Dictionary A DBMS must provide

More information

FIT1004 Database Topic 2: Database Design Life Cycle

FIT1004 Database Topic 2: Database Design Life Cycle FIT1004 Database Topic 2: Database Design Life Cycle Learning Objectives: Describe the 3 level ANSI SPARC Database Architecture and the advantages which its inherent data abstraction provide to the database

More information

A database management system (DBMS) is a software package with computer

A database management system (DBMS) is a software package with computer A database management system (DBMS) is system software for creating and managing databases. The DBMS provides users and programmers with a systematic way to create, retrieve, update and manage data. What

More information

Database Systems: Learning Outcomes. Examples of Database Application. Introduction

Database Systems: Learning Outcomes. Examples of Database Application. Introduction Chapter 1 Part One: Introduction to 1 Systems: Thomas Connolly, Carolyn Begg, System, A Practical Approach to Design Implementation and Management, 4 th Edition, Addison Wesley Introduction Traditional

More information

Managing Data Resources

Managing Data Resources Chapter 7 OBJECTIVES Describe basic file organization concepts and the problems of managing data resources in a traditional file environment Managing Data Resources Describe how a database management system

More information

Fundamentals of Information Systems, Seventh Edition

Fundamentals of Information Systems, Seventh Edition Chapter 3 Data Centers, and Business Intelligence 1 Why Learn About Database Systems, Data Centers, and Business Intelligence? Database: A database is an organized collection of data. Databases also help

More information

DATABASE DESIGN I - 1DL300

DATABASE DESIGN I - 1DL300 DATABASE DESIGN I - 1DL300 Fall 2009 An introductury course on database systems http://user.it.uu.se/~udbl/dbt-ht2009/ alt. http://www.it.uu.se/edu/course/homepage/dbastekn/ht09/ Kjell Orsborn Uppsala

More information

Bottom line: A database is the data stored and a database system is the software that manages the data. COSC Dr.

Bottom line: A database is the data stored and a database system is the software that manages the data. COSC Dr. COSC 304 Introduction to Systems Introduction Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca What is a database? A database is a collection of logically related data for

More information

Review for Exam 1 CS474 (Norton)

Review for Exam 1 CS474 (Norton) Review for Exam 1 CS474 (Norton) What is a Database? Properties of a database Stores data to derive information Data in a database is, in general: Integrated Shared Persistent Uses of Databases The Integrated

More information

Course Logistics & Chapter 1 Introduction

Course Logistics & Chapter 1 Introduction CMSC 461, Database Management Systems Spring 2018 Course Logistics & Chapter 1 Introduction These slides are based on Database System Concepts book th edition, and the 2009 CMSC 461 slides by Dr. Kalpakis

More information

KNGX NOTES INFS1603 [INFS1603] KEVIN NGUYEN

KNGX NOTES INFS1603 [INFS1603] KEVIN NGUYEN 1 [] KEVIN NGUYEN 1 2 TABLE OF CONTENTS Table of Contents...... 2 1. Database Systems........ 3 2. Data Models..... 9 3. The Relational Database Model.......... 18 4. Entity Relationship (ER) Model....

More information

IT1105 Information Systems and Technology. BIT 1 ST YEAR SEMESTER 1 University of Colombo School of Computing. Student Manual

IT1105 Information Systems and Technology. BIT 1 ST YEAR SEMESTER 1 University of Colombo School of Computing. Student Manual IT1105 Information Systems and Technology BIT 1 ST YEAR SEMESTER 1 University of Colombo School of Computing Student Manual Lesson 3: Organizing Data and Information (6 Hrs) Instructional Objectives Students

More information

4/28/2014. File-based Systems. Arose because: Result

4/28/2014. File-based Systems. Arose because: Result File-based Systems Collection of application programs that perform services for the end users (e.g. reports). Each program defines and manages its own data. Separation and isolation of data Each program

More information

What is Data? ANSI definition: Volatile vs. persistent data. Data. Our concern is primarily with persistent data

What is Data? ANSI definition: Volatile vs. persistent data. Data. Our concern is primarily with persistent data What is Data? ANSI definition: Data ❶ A representation of facts, concepts, or instructions in a formalized manner suitable for communication, interpretation, or processing by humans or by automatic means.

More information

What is Data? Volatile vs. persistent data Our concern is primarily with persistent data

What is Data? Volatile vs. persistent data Our concern is primarily with persistent data What is? ANSI definition: ❶ A representation of facts, concepts, or instructions in a formalized manner suitable for communication, interpretation, or processing by humans or by automatic means. ❷ Any

More information

Database Systems Concepts *

Database Systems Concepts * OpenStax-CNX module: m28156 1 Database Systems Concepts * Nguyen Kim Anh This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Abstract This module introduces

More information

Chapter 1 Database System Concepts and Architecture. Nguyen Thi Ai Thao

Chapter 1 Database System Concepts and Architecture. Nguyen Thi Ai Thao Chapter 1 Database System Concepts and Architecture Nguyen Thi Ai Thao thaonguyen@cse.hcmut.edu.vn Spring - 2016 Contents 1 -based Approach and Database Approach 2 Three-Schema Architecture and Data Independence

More information

IT Service Delivery and Support Week Three. IT Auditing and Cyber Security Fall 2016 Instructor: Liang Yao

IT Service Delivery and Support Week Three. IT Auditing and Cyber Security Fall 2016 Instructor: Liang Yao IT Service Delivery and Support Week Three IT Auditing and Cyber Security Fall 2016 Instructor: Liang Yao 1 Infrastructure Essentials Computer Hardware Operating Systems (OS) & System Software Applications

More information

Database Systems Overview. Truong Tuan Anh CSE-HCMUT

Database Systems Overview. Truong Tuan Anh CSE-HCMUT Database Systems Overview Truong Tuan Anh CSE-HCMUT Outline File-based Approach and Database Approach Three-Schema Architecture and Data Independence Database Languages Data Models, Database Schema, Database

More information

CHAPTER 2: DATA MODELS

CHAPTER 2: DATA MODELS Database Systems Design Implementation and Management 12th Edition Coronel TEST BANK Full download at: https://testbankreal.com/download/database-systems-design-implementation-andmanagement-12th-edition-coronel-test-bank/

More information

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database?

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database? DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS Complete book short Answer Question.. QUESTION 1: What is database? A database is a logically coherent collection of data with some inherent meaning, representing

More information

Data Modeling using ER Model

Data Modeling using ER Model Data Modeling using ER Model Database design process - requirements collection and analysis: database requirements and functional requirements - conceptual DB design using a high-level model: easier to

More information

DATABASES SQL INFOTEK SOLUTIONS TEAM

DATABASES SQL INFOTEK SOLUTIONS TEAM DATABASES SQL INFOTEK SOLUTIONS TEAM TRAINING@INFOTEK-SOLUTIONS.COM Databases 1. Introduction in databases 2. Relational databases (SQL databases) 3. Database management system (DBMS) 4. Database design

More information

Ministry of Higher Education and Scientific research

Ministry of Higher Education and Scientific research Department of IT Technical Institute of Amedi Duhok Polytechnic University Subject: Database System Course Book: Year 2 (Second year) Lecturer's name: Dipl.Eng.Shorash A. Sami Academic Year: 2018/2019

More information

1: Database Systems, Architecture, and Components

1: Database Systems, Architecture, and Components 1: Database Systems, Architecture, and Components ata raw material consisting of unorganized facts, things, activities, and transactions nformation data that has been processed (i.e., organized) into a

More information

8) A top-to-bottom relationship among the items in a database is established by a

8) A top-to-bottom relationship among the items in a database is established by a MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant

More information

CSC 355 Database Systems

CSC 355 Database Systems CSC 355 Database Systems Marcus Schaefer Databases? Database 1. DB models aspects of the real world (miniworld, universe of discourse) 2. Collection of data logically coherent Meaningful Information 3.

More information

Databases: Why? Databases: What? Databases: How? DATABASE DESIGN I - 1DL300

Databases: Why? Databases: What? Databases: How? DATABASE DESIGN I - 1DL300 Databases: Why? DATABASE DESIG I - DL300 Spring 202 An introductury course on database systems http://www.it.uu.se/edu/course/homepage/dbastekn/vt2 Erik Zeitler Uppsala Database Laboratory Department of

More information

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World Chapter 10 Managing a Database Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Define the term, database, and explain how a database interacts with data and information

More information

Relational Database Management Systems Mar/Apr I. Section-A: 5 X 4 =20 Marks

Relational Database Management Systems Mar/Apr I. Section-A: 5 X 4 =20 Marks Relational Database Management Systems Mar/Apr 2014 1 I. Section-A: 5 X 4 =20 Marks 1. Data Model A conceptual method of structuring data is called Data Model. The development of systems based on following

More information

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601 Techno India Batanagar Computer Science and Engineering Model Questions Subject Name: Database Management System Subject Code: CS 601 Multiple Choice Type Questions 1. Data structure or the data stored

More information

CHAPTER 2: DATA MODELS

CHAPTER 2: DATA MODELS CHAPTER 2: DATA MODELS 1. A data model is usually graphical. PTS: 1 DIF: Difficulty: Easy REF: p.36 2. An implementation-ready data model needn't necessarily contain enforceable rules to guarantee the

More information

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems DATABASE MANAGEMENT SYSTEMS UNIT I Introduction to Database Systems Terminology Data = known facts that can be recorded Database (DB) = logically coherent collection of related data with some inherent

More information

16/06/56. Databases. Databases. Databases The McGraw-Hill Companies, Inc. All rights reserved.

16/06/56. Databases. Databases. Databases The McGraw-Hill Companies, Inc. All rights reserved. Distinguish between the physical and logical views of data. Describe how data is organized: characters, fields, records, tables, and databases. Define key fields and how they are used to integrate data

More information

Databases The McGraw-Hill Companies, Inc. All rights reserved.

Databases The McGraw-Hill Companies, Inc. All rights reserved. Distinguish between the physical and logical views of data. Describe how data is organized: characters, fields, records, tables, and databases. Define key fields and how they are used to integrate data

More information

CISC 3140 (CIS 20.2) Design & Implementation of Software Application II

CISC 3140 (CIS 20.2) Design & Implementation of Software Application II CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Email Address: meyer@sci.brooklyn.cuny.edu Course Page: http://www.sci.brooklyn.cuny.edu/~meyer/ CISC3140-Meyer-lec4

More information

CHAPTER 6 DATABASE MANAGEMENT SYSTEMS

CHAPTER 6 DATABASE MANAGEMENT SYSTEMS CHAPTER 6 DATABASE MANAGEMENT SYSTEMS Management Information Systems, 10 th edition, By Raymond McLeod, Jr. and George P. Schell 2007, Prentice Hall, Inc. 1 Learning Objectives Understand the hierarchy

More information

11. Architecture of Database Systems

11. Architecture of Database Systems 11. Architecture of Database Systems 11.1 Introduction Software systems generally have an architecture, ie. possessing of a structure (form) and organisation (function). The former describes identifiable

More information

DATABASTEKNIK - 1DL116

DATABASTEKNIK - 1DL116 1 DATABASTEKNIK - 1DL116 Fall 2003 An introductury course on database systems http://user.it.uu.se/~udbl/dbt-ht2003/ Kjell Orsborn Uppsala Database Laboratory Department of Information Technology, Uppsala

More information

Introduction. Example Databases

Introduction. Example Databases Introduction Example databases Overview of concepts Why use database systems Example Databases University Data: departments, students, exams, rooms,... Usage: creating exam plans, enter exam results, create

More information

QM Chapter 1 Database Fundamentals Version 10 th Ed. Prepared by Dr Kamel Rouibah / Dept QM & IS

QM Chapter 1 Database Fundamentals Version 10 th Ed. Prepared by Dr Kamel Rouibah / Dept QM & IS QM 433 - Chapter 1 Database Fundamentals Version 10 th Ed Prepared by Dr Kamel Rouibah / Dept QM & IS www.cba.edu.kw/krouibah Dr K. Rouibah / dept QM & IS Chapter 1 (433) Database fundamentals 1 Objectives

More information

Institute of Aga. Microsoft SQL Server LECTURER NIYAZ M. SALIH

Institute of Aga. Microsoft SQL Server LECTURER NIYAZ M. SALIH Institute of Aga 2018 Microsoft SQL Server LECTURER NIYAZ M. SALIH Database: A Database is a collection of related data organized in a way that data can be easily accessed, managed and updated. Any piece

More information

Introduction Database Concepts

Introduction Database Concepts Introduction Database Concepts CO attained : CO1 Hours Required: 05 Self Study: 08 Prepared and presented by : Ms. Swati Abhang Contents Introduction Characteristics of databases, File system V/s Database

More information

Managing Data Resources

Managing Data Resources Chapter 7 Managing Data Resources 7.1 2006 by Prentice Hall OBJECTIVES Describe basic file organization concepts and the problems of managing data resources in a traditional file environment Describe how

More information

Chapter 8. Database Design. Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel

Chapter 8. Database Design. Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel Chapter 8 Database Design Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel 1 In this chapter, you will learn: That successful database design must reflect the information

More information

Lecture 02. Fall 2017 Borough of Manhattan Community College

Lecture 02. Fall 2017 Borough of Manhattan Community College Lecture 02 Fall 2017 Borough of Manhattan Community College 1 2 Introduction A major aim of a database system is to provide users with an abstract view of data, hiding certain details of how data is stored

More information

Database Processing. Fundamentals, Design, and Implementation. Global Edition

Database Processing. Fundamentals, Design, and Implementation. Global Edition Database Processing Fundamentals, Design, and Implementation 14th Edition Global Edition Database Processing: Fundamentals, Design, and Implementation, Global Edition Table of Contents Cover Title Page

More information

Course Introduction & Foundational Concepts

Course Introduction & Foundational Concepts Course Introduction & Foundational Concepts CPS 352: Database Systems Simon Miner Gordon College Last Revised: 8/30/12 Agenda Introductions Course Syllabus Databases Why What Terminology and Concepts Design

More information

Database Management System (15ECSC208) UNIT I: Chapter 1: Introduction to DBMS and ER-Model

Database Management System (15ECSC208) UNIT I: Chapter 1: Introduction to DBMS and ER-Model Database Management System (15ECSC208) UNIT I: Chapter 1: Introduction to DBMS and ER-Model Introduction to Databases Introduction Database: collection of related data. Data: know facts that can be recorded

More information

DATABASE DEVELOPMENT (H4)

DATABASE DEVELOPMENT (H4) IMIS HIGHER DIPLOMA QUALIFICATIONS DATABASE DEVELOPMENT (H4) December 2017 10:00hrs 13:00hrs DURATION: 3 HOURS Candidates should answer ALL the questions in Part A and THREE of the five questions in Part

More information

2. An implementation-ready data model needn't necessarily contain enforceable rules to guarantee the integrity of the data.

2. An implementation-ready data model needn't necessarily contain enforceable rules to guarantee the integrity of the data. Test bank for Database Systems Design Implementation and Management 11th Edition by Carlos Coronel,Steven Morris Link full download test bank: http://testbankcollection.com/download/test-bank-for-database-systemsdesign-implementation-and-management-11th-edition-by-coronelmorris/

More information

Data Base Concepts. Course Guide 2

Data Base Concepts. Course Guide 2 MS Access Chapter 1 Data Base Concepts Course Guide 2 Data Base Concepts Data The term data is often used to distinguish binary machine-readable information from textual human-readable information. For

More information

Introduction to Database Systems. Motivation. Werner Nutt

Introduction to Database Systems. Motivation. Werner Nutt Introduction to Database Systems Motivation Werner Nutt 1 Databases Are Everywhere Database = a large (?) collection of related data Classically, a DB models a real-world organisation (e.g., enterprise,

More information

Introduction to Database Systems. Fundamental Concepts

Introduction to Database Systems. Fundamental Concepts Introduction to Database Systems Fundamental Concepts Werner Nutt 1 A DBMS Presents Programmers and Users with a Simplified Environment Database System Users/Programmers Queries / Application Programs

More information

DATA Data and information are used in our daily life. Each type of data has its own importance that contribute toward useful information.

DATA Data and information are used in our daily life. Each type of data has its own importance that contribute toward useful information. INFORMATION SYSTEM LESSON 41 DATA, INFORMATION AND INFORMATION SYSTEM SMK Sultan Yahya Petra 1 DATA Data and information are used in our daily life. Each type of data has its own importance that contribute

More information

Topics covered 10/12/2015. Pengantar Teknologi Informasi dan Teknologi Hijau. Suryo Widiantoro, ST, MMSI, M.Com(IS)

Topics covered 10/12/2015. Pengantar Teknologi Informasi dan Teknologi Hijau. Suryo Widiantoro, ST, MMSI, M.Com(IS) Pengantar Teknologi Informasi dan Teknologi Hijau Suryo Widiantoro, ST, MMSI, M.Com(IS) 1 Topics covered 1. Basic concept of managing files 2. Database management system 3. Database models 4. Data mining

More information

File Processing Approaches

File Processing Approaches Relational Database Basics Review Overview Database approach Database system Relational model File Processing Approaches Based on file systems Data are recorded in various types of files organized in folders

More information

Database Fundamentals Chapter 1

Database Fundamentals Chapter 1 Database Fundamentals Chapter 1 Class 01: Database Fundamentals 1 What is a Database? The ISO/ANSI SQL Standard does not contain a definition of the term database. In fact, the term is never mentioned

More information

Introduction to DBMS DATA DISK. File Systems. DBMS Stands for Data Base Management System. Examples of Information Systems which require a Database:

Introduction to DBMS DATA DISK. File Systems. DBMS Stands for Data Base Management System. Examples of Information Systems which require a Database: 1 Introduction to DBMS DBMS Stands for Data Base Management System It is the collection of interrelated data (Which is called as Database) It contains set of software tools/programs which access the data

More information

Week 1 Part 1: An Introduction to Database Systems

Week 1 Part 1: An Introduction to Database Systems Week 1 Part 1: An Introduction to Database Systems Databases and DBMSs Data Models and Data Independence Concurrency Control and Database Transactions Structure of a DBMS DBMS Languages cscc43/343 Introduction

More information

COWLEY COLLEGE & Area Vocational Technical School

COWLEY COLLEGE & Area Vocational Technical School COWLEY COLLEGE & Area Vocational Technical School COURSE PROCEDURE FOR Student Level: This course is open to students on the college level in either the freshman or sophomore year. Catalog Description:

More information

CPS510 Database System Design Primitive SYSTEM STRUCTURE

CPS510 Database System Design Primitive SYSTEM STRUCTURE CPS510 Database System Design Primitive SYSTEM STRUCTURE Naïve Users Application Programmers Sophisticated Users Database Administrator DBA Users Application Interfaces Application Programs Query Data

More information

Database Systems. Sven Helmer. Database Systems p. 1/567

Database Systems. Sven Helmer. Database Systems p. 1/567 Database Systems Sven Helmer Database Systems p. 1/567 Chapter 1 Introduction and Motivation Database Systems p. 2/567 Introduction What is a database system (DBS)? Obviously a system for storing and managing

More information

1 Overview of Database Management

1 Overview of Database Management 1 Overview of Database Management 1.1 Data, information and knowledge 1.1.1 Data Data is/are the facts of the World. For example, take yourself. You may be 5ft tall, have brown hair and blue eyes. All

More information

Lecture 01. Fall 2018 Borough of Manhattan Community College

Lecture 01. Fall 2018 Borough of Manhattan Community College Lecture 01 Fall 2018 Borough of Manhattan Community College 1 2 Introduction A database (DB) is a collection of related data. A database management system (DBMS) is the software that manages and controls

More information

Strategic Information Systems Systems Development Life Cycle. From Turban et al. (2004), Information Technology for Management.

Strategic Information Systems Systems Development Life Cycle. From Turban et al. (2004), Information Technology for Management. Strategic Information Systems Systems Development Life Cycle Strategic Information System Any information system that changes the goals, processes, products, or environmental relationships to help an organization

More information

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World

Chapter 10 Managing a Database. Discovering Computers Your Interactive Guide to the Digital World Chapter 10 Managing a Database Discovering Computers 2012 Your Interactive Guide to the Digital World Databases, Data, and Information Database Collection of data organized in a manner that allows access,

More information

Introduction to Database Management Systems

Introduction to Database Management Systems Introduction to Database Management Systems Excerpt from Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 What Is a DBMS? A very large, integrated collection of data. Models real-world

More information

Rapid Application Development

Rapid Application Development Rapid Application Development Chapter 6: Development Database Application Tools: Microsoft Access Cr: fisher.osu.edu Dr.Orawit Thinnukool College of Arts, Media and Technology, Chiang Mai University Contents

More information

Data, Information, and Databases

Data, Information, and Databases Data, Information, and Databases BDIS 6.1 Topics Covered Information types: transactional vsanalytical Five characteristics of information quality Database versus a DBMS RDBMS: advantages and terminology

More information

Chapter 12 Databases and Database Management Systems

Chapter 12 Databases and Database Management Systems Chapter 12 Databases and Database Management Systems permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. What Is a Database?

More information

(Extended) Entity Relationship

(Extended) Entity Relationship 03 - Database Design, UML and (Extended) Entity Relationship Modeling CS530 Database Architecture Models and Design Prof. Ian HORROCKS Dr. Robert STEVENS In this Section Topics Covered Database Design

More information

Objectives Overview. Chapter 10 Managing a Database. Discovering Computers Instructor: M. Imran Khalil MSc-IT 1 st semester Fall 2016

Objectives Overview. Chapter 10 Managing a Database. Discovering Computers Instructor: M. Imran Khalil MSc-IT 1 st semester Fall 2016 Chapter 10 Managing a Database Instructor: M. Imran Khalil MSc-IT 1 st semester Fall 2016 Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Define the term, database,

More information

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010 CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring

More information

Introduction Database Technology [DBTECO601]

Introduction Database Technology [DBTECO601] Introduction Database Technology [DBTECO601] Thomas D. Devine http://www.noucamp.org thomas.devine@lyit.ie September 8, 2008 1 Contents 1 Document Information 4 2 Introduction 4 3 Traditional File-Based

More information

FAQ: Relational Databases in Accounting Systems

FAQ: Relational Databases in Accounting Systems Question 1: What is the definition of a schema as it relates to a database? What are the three levels? Answer 1: A schema describes the logical structure of a database. The three levels of schemas are

More information

CS275 Intro to Databases. File Systems vs. DBMS. Why is a DBMS so important? 4/6/2012. How does a DBMS work? -Chap. 1-2

CS275 Intro to Databases. File Systems vs. DBMS. Why is a DBMS so important? 4/6/2012. How does a DBMS work? -Chap. 1-2 CS275 Intro to Databases How does a DBMS work? -Chap. 1-2 File Systems vs. DBMS We have to write special programs for queries We have to protect data from inconsistencies We have to handle crashes We have

More information