Introduction to Databases

Size: px
Start display at page:

Download "Introduction to Databases"

Transcription

1 Marek Rychly Strathmore & Brno University of Technology, Faculty of Information Technology Advanced Databases and Enterprise Systems 24 August 2015 Marek Rychly ADES, 24 August / 34

2 Outline 1 Course Content Lectures and Assessments Evaluation Background on the Course 2 3 Sets and Relations Functions Marek Rychly ADES, 24 August / 34

3 Lectures and Assessments Lectures and Assessments Evaluation Background on the Course 1 st 2 nd Relational Database Model (1 st Assessment: define relations, keys, and constraints) 3 rd Relational Algebra and Calculus (2 nd Assessment: make expressions in relational algebra/calculus) 4 th 5 th SQL (3 rd Assessment: create database objects and define several queries) 6 th Transactions and Transaction Management 7 th Database Analysis and Design 8 th Entity-Relationship Modelling 9 th Normalization and Database Design (4 th Assessment: make an ER model and perform the normalization) 10 th Database Performance 11 th Data warehousing and Data-mining; Post-relational Databases 12 th Current developments in database technology; Distributed, Object-oriented, and NoSQL Databases (5 th Assessment: propose utilization of post-relational/nosql databases) Marek Rychly ADES, 24 August / 34

4 Core Reading Materials Lectures and Assessments Evaluation Background on the Course T. Connolly, T.M. Connolly, and C.E. Beg. Database Systems: A Practical Approach to Design, Implementation, and Management. Pearson Education, ISBN URL page#dw_resources. M. Kifer, A.J. Bernstein, and P.M. Lewis. Database Systems: An Application-oriented Approach. Pearson/Addison-Wesley, ISBN URL page#dw_resources. Marek Rychly ADES, 24 August / 34

5 Evaluation Course Content Lectures and Assessments Evaluation Background on the Course 50% assessments (each result has to be submitted to Marek Rychly by, at latest, two weeks after the assessment specification in a lecture) 1 st Assessment by 14 September nd Assessment by 21 September rd Assessment by 28 September th Assessment by 16 October th Assessment by 26 October % final exam (in the Exam Week) Marek Rychly ADES, 24 August / 34

6 Prior Knowledge and Skills Lectures and Assessments Evaluation Background on the Course The course does not require any prior knowledge or skill, however, the following may help you to understand the lectures: 1 basic mathematical background (sets, relations, functions) 2 basics of software engineering (software development process and its phases, software life-cycle) 3 software modelling (data modelling, Class Diagram in Unified Modelling Language) 4 concepts of object-oriented programming (encapsulation, composition, inheritance) 5 operation system design principles (file system organization / data blocks, memory management / paging) 6 concepts of concurrent computation (readers-writers problem, critical section, locking) Marek Rychly ADES, 24 August / 34

7 Lecturer Introduction Course Content Lectures and Assessments Evaluation Background on the Course RNDr. Marek Rychly, Ph.D. assistant professor at BUT FIT Brno University of Technology Faculty of Information Technology Brno, Czech Republic, Central Europe over 10 years of lecturing experience (programming, cryptography, databases, SW architectures) over 25 of scientific conference and journal publications (dynamic architectures, SOA, Web services, distributed systems) a researcher in several national and international projects a happily married man with two small kids :-) Marek Rychly ADES, 24 August / 34

8 Lectures and Assessments Evaluation Background on the Course Students Introduction? (optional) What is your name? Where are you from? What is your educational background? (in general, in IT, any database experiences, etc.) What is your professional background? (a job title, why do you need this course, etc.) What do you want to focus on in this course? (see the list of lectures on page 4) Is there anything you would like to skip? (because you already know about that or because you are not interested in) Please send your (very short) introduction to with subject ADES Student Introduction. Knowing your background and priorities will help me to better meet your expectations. Marek Rychly ADES, 24 August / 34

9 How to Store Data? File-based Decentralized Storage each application site/domain manages its own data (a sales dept. manages sales data, a contract dept. manages contract data) data saved to/loaded from local files by individual applications (one file per one application instance) data processing and querying is done by individual applications (the application interprets the data) possible data transfers between site/domains are done manually (manual merging and conflict solving, versioning by backup files, etc.) Marek Rychly ADES, 24 August / 34

10 File-based Decentralized Storage II (adopted from Connolly & Begg: Database Systems, 2005, p. 11. ISBN ) Marek Rychly ADES, 24 August / 34

11 File-based Decentralized Storage III Advantages and Disadvantages + easy to implement (an application just save data to or load data from a file) + full control over data (local data storage is easy to control, secure, and backup) separation and isolation of data (it is more difficult to access data from different locations or to combine them) duplication of data (the same data stored in different locations, difficult to control/synchronize them) program-data dependence (structure of the data stored is limited by a related application/program, it is difficult to modify the structure without modification of the program) incompatible file formats (different applications store data in different formats, e.g., little/big endian) fixed queries/proliferation of application programs (data are queried by their applications which implement just limited/currently required set of queries, it is difficult to implement another queries) Marek Rychly ADES, 24 August / 34

12 How to Store Data? Database Approach Definition (Database, DB) A shared collection of logically related data, and a description of this data (i.e., meta-data, a system catalogue), designed to meet the information needs of an organization (to answer queries). Definition (Database Management System, DBMS, DB server) A software system that enables users to define, create, maintain, and control access to the database (it manages data and meta-data). Definition (Database Application Program, DB client) A computer program that interacts with the database by issuing an appropriate request (typically an SQL statement) to the DBMS. Marek Rychly ADES, 24 August / 34

13 Database (DB) An Example of Entity-Relationship Diagram (entities, attributes, relationships) (adopted from Connolly & Begg: Database Systems, 2005, p. 16. ISBN ) Marek Rychly ADES, 24 August / 34

14 Database Management System and App. Program DB Clients Accessing Data by Means of Centralized DBMS (adopted from Connolly & Begg: Database Systems, 2005, p. 17. ISBN ) Marek Rychly ADES, 24 August / 34

15 Database Approach Advantages and Disadvantages Course Content + centralized approach (data are stored in one location, without duplicities, no separation/isolation) + data abstraction (structure of the data is not affected by related applications/programs, it respects well-established practices/normal forms) + standardized interface (DBMS provides a standardized interface to access data, e.g, SQL 2003) + performance/security tuning (DBMS is optimized for performance and security, applications need not to care) single point of failure (failure on a DBMS server affects all its clients; solved by replication/distribution) limited scalability (scalability by upgrading a DBMS server or a cluster, which is not trivial) issues related to concurrent access to/modification of data (multiple concurrent modifications of single data need to be serialized, long-running modifications may require locking the data) Marek Rychly ADES, 24 August / 34

16 DBMS Environment Course Content 1 hardware (HW servers where DBMSs are running, communication infrastructure, storage) 2 software (DBMS software, e.g., Oracle 12c, Microsoft Server, PostgreSQL, MySQL, etc.) 3 data (stored data and their meta-data) 4 procedures (procedures manipulating the data, invoked on demand or triggered automatically) 5 people (a data/db administrator, logical/physical DB designers app. developer, end-user) (adopted from Connolly & Begg: Database Systems, 2005, p. 19. ISBN ) Marek Rychly ADES, 24 August / 34

17 The Three-Level ANSI-SPARC Architecture (adopted from Connolly & Begg: Database Systems, 2005, p. 35. ISBN ) Marek Rychly ADES, 24 August / 34

18 Three Types of Database Schema in ANSI-SPARC 1 External level/external Schemas (different external views of the database for different users/applications) data displayed by an application to its users (tables, forms) results of user queries of data in the database (SELECTs) database views (predefined SELECTs) 2 Conceptual level/conceptual Schema/Logical model (structure of data stored in the database, describes what the data is stored) all entities, their attributes, and their relationships keys and constraints on the data security and integrity information 3 Internal level/internal schema/physical model (physical representation of the database, describes how the data is stored) storage space allocation for data and indexes exact data-types for all attributes and their storage size data encoding, compression, and encryption Changes in lower levels do not affect levels above. (there is mapping of data in lower levels to their representation in upper levels) Marek Rychly ADES, 24 August / 34

19 Three Types of Database Schema in ANSI-SPARC Example of the Database Schema in Three Different Levels (adopted from Connolly & Begg: Database Systems, 2005, p. 38. ISBN ) Marek Rychly ADES, 24 August / 34

20 Data Model and Data Modelling Definition (Data model) A high-level description of a database schema as an integrated collection of concepts for describing and manipulating data, relationships between data, and constraints on the data in an organization. a data model consists of three components 1 structure of the data (objects/entities, attributes, relationships) 2 operations manipulating the data (methods, event handlers) 3 integrity constraints (for correct and accurate data) a data model respect different levels of ANSI-SPARC architecture (external, conceptual/logical, and internal/physical data models) the process of construction of a data model is data modelling there exists different types of data models (i.e., data modelling) (e.g., entity-relationship, object, rational, etc.) Marek Rychly ADES, 24 August / 34

21 Types of Data Model and Data Modelling there were proposed several categories of data models: 1 object-based data models (e.g., entity-relationship, object, functional, and semantic data models) 2 record-based data models (e.g., relational, network, and hierarchical data models) 3 physical data models (e.g., unifying model, frame model) we will focus on entity-relationship and relational data models (these are the most popular models in current databases and DBMS) moreover, we will focus on conceptual modelling (that is on the process of creation of a conceptual model, in terms of ANSI-SPARC) Marek Rychly ADES, 24 August / 34

22 A Sample Database Schema in Relational Data Model (adopted from Connolly & Begg: Database Systems, 2005, p. 45. ISBN ) Marek Rychly ADES, 24 August / 34

23 Classification of DBMS DBMSs can be classified based on several criteria based on data model network, hierarchical (traditional models not commonly used due to their complexity) rational, object-relational (well-known DBMSs like Oracle, MS SQL Server, DB2, PostgreSQL, MySQL/MariaDB, etc.) object-oriented, XML, document-oriented, key-value, etc. (suitable for particular applications) based on user numbers (single-user, multi-user) based on database distribution (embedded, centralized, homogeneous distributed, heterogeneous distributed) Marek Rychly ADES, 24 August / 34

24 Eight Functions of Full-scale DBMS (by Codd, 1982) 1 data storage, retrieval, and update (in different external views) 2 a user-accessible system catalogue (meta-data) 3 transaction support (atomicity, consistency, integrity, durability) 4 concurrency control services (serialization of concurrent requests) 5 recovery services (data consistency even on failure) 6 authorization services (security) 7 support for data communication (requests as comm. messages) 8 integrity services (with respect to defined constraints) Marek Rychly ADES, 24 August / 34

25 System Architecture with DBMS DBMS implemented as a database server in multi-tier architecture. Two-tier client-server architecture: 1 client (user interface and partially also business and data processing logic) 2 database server (data validation and access, partially business and data processing logic) Three-tier client-server architecture: 1 client (user interface, no business and data processing logic, i.e. it is a thin client ) 2 application server (business and data processing logic) 3 database server (data validation and access) The app. server may implement a TP Monitor to access DBMS. (Transaction Processing Monitor provides transaction routing, distribution, load balancing, funnelling, and increased reliability by employing multiple DBMSs) Marek Rychly ADES, 24 August / 34

26 Transaction Processing Monitor Definition (Transaction Processing Monitor, TP Monitor) A program that controls data transfer between clients and servers to provide a consistent environment, particularly for on-line transaction processing (OLTP). transaction routing (directs transactions/requests to a particular DBMS, to increase scalability, perform load-balancing, or increase reliability a primary DBMS server is inaccessible) managing distributed transactions (performs operations across several heterogeneous DBMSs in single transactions) funnelling (establishes a small number of network connections to DBMSs which are utilized/reused for incoming requests of a large number of clients as needed) Marek Rychly ADES, 24 August / 34

27 Sets and Set Operations Sets and Relations Functions Definition (Set) A finite or infinite collection of objects in which order has no significance and multiplicity is (generally) also ignored. a 2 A is used to denote that a is an element of a set A. A is a subset of B, A B, iff all members of A are also members of B. (e.g., f2; 3g f1; 2; 3; 4; 5g; an empty set, denoted ;, is a subset of all sets) fxjp(x)g is a set of elements x s.t. a property p is satisfied by x. (e.g., fn 2 Njn <= 3g or fn 2 Z jn is eveng) A [ B = fxjx 2 A or x 2 Bg is an union of sets A and B. (e.g., f1; 2; 3g [ f3; 4; 5g = f1; 2; 3; 4; 5g) A \ B = fxjx 2 A and x 2 Bg is an intersection of sets A and B. (e.g., f1; 2; 3g \ f3; 4; 5g = f3g) B n A = fxjx 2 B and x =2 Ag is a relative complement of A in B. (e.g., f1; 2; 3g n f3; 4; 5g = f1; 2g) Marek Rychly ADES, 24 August / 34

28 Sets and Relations Functions Cartesian Product and Relations Definition (Cartesian Product) The Cartesian product of two sets A and B, denoted A B (also called the cross product), is defined to be the set of all points (a; b) where a 2 A and b 2 B; i.e., A B = f(a; b)ja 2 A and b 2 Bg. Definition (Relation) A relation is any subset of a Cartesian product. For example, let A = f1; 2; 3g; B = f4; 5g C = A B = f(1; 4); (1; 5); (2; 4); (2; 5); (3; 4); (3; 5)g D = f(a; b)j(a; b) 2 C and a = 2g Then, C is a Cartesian product of A and B, and C and D are relations (of the Cartesian product C). Marek Rychly ADES, 24 August / 34

29 Functions Course Content Sets and Relations Functions Definition (Function) A function is a relation that uniquely associates members of one set with members of another set. Formally, function f from A to B, denoted f : A! B, uniquely associates every a 2 A with object f (a) 2 B. For example, f : N! N; f (x) = x 2 ; (it is a relation f = f(1; 1); (2; 4); (3; 9); (4; 16); : : :g) g : f1; 2g! f3g; g(1) = 3 and g(2) = 3; (it is a relation g = f(1; 3); (2; 3)g) h : f3g! f1; 2g; h(3) = 1 and h(3) = 2; (it is just a relation h = f(3; 1); (3; 2)g) f is a function. g is a function. h is not a function. Marek Rychly ADES, 24 August / 34

30 Summary Summary DBMSs are trying to solve issue of file-based storage. (issues: separation, isolation, duplication, program-data dependence, formats, etc.) Database schema can be viewed from multiple levels. (external, conceptual/logical, internal/physical; corresponds to DB schema models) The most common approaches to data model/modelling are entity-relationship (ER) model (based on entities, their attributes and relationships) relational model (based on mathematical relations) conceptual model (based on the conceptual level of ANSI-SPARC architecture) In the next lecture: rational model, key and constraints (mathematical relations and data model; super-key, primary key, foreign key, etc.) Marek Rychly ADES, 24 August / 34

31 Thanks Thank you for your attention! Marek Rychly Marek Rychly ADES, 24 August / 34

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World

What is a database? COSC 304 Introduction to Database Systems. Database Introduction. Example Problem. Databases in the Real-World 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

Database Concepts. Database & Database Management System. Application examples. Application examples

Database Concepts. Database & Database Management System. Application examples. Application examples Database & Database Management System Database Concepts Database = A shared collection of logically related (and a description of this data), designed to meet the information needs of an organization.

More information

Introduction: Database management system

Introduction: Database management system Introduction Databases vs. files Basic concepts Brief history of databases Architectures & languages Introduction: Database management system User / Programmer Database System Application program Software

More information

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system Introduction: management system Introduction s vs. files Basic concepts Brief history of databases Architectures & languages System User / Programmer Application program Software to process queries Software

More information

Chapter 2 Database System Concepts and Architecture

Chapter 2 Database System Concepts and Architecture Chapter 2 Database System Concepts and Architecture Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Outline Data Models, Schemas, and Instances Three-Schema Architecture

More information

Relational Database Basics Review

Relational Database Basics Review Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on

More information

1 File Processing Systems

1 File Processing Systems COMP 378 Database Systems Notes for Chapter 1 of Database System Concepts Introduction A database management system (DBMS) is a collection of data and an integrated set of programs that access that data.

More information

Chapter 3. Database Environment - Objectives. Multi-user DBMS Architectures. Teleprocessing. File-Server

Chapter 3. Database Environment - Objectives. Multi-user DBMS Architectures. Teleprocessing. File-Server Chapter 3 Database Architectures and the Web Transparencies Database Environment - Objectives The meaning of the client server architecture and the advantages of this type of architecture for a DBMS. The

More information

DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2

DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2 1 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2 2 LECTURE OUTLINE Data Models Three-Schema Architecture and Data Independence Database Languages and Interfaces The Database System Environment DBMS

More information

Database Systems. Lecture 1: Introduction

Database Systems. Lecture 1: Introduction Database Systems Lecture 1: Introduction General Information Professor: Leonid Libkin Contact: libkin@ed.ac.uk Lectures: Tuesday, 11:10am 1 pm, AT LT4 Website: http://homepages.inf.ed.ac.uk/libkin/teach/dbs09/index.html

More information

History of Database Systems

History of Database Systems History of Database Systems By Kaushalya Dharmarathna(030087) Sandun Weerasinghe(040417) Early Manual System Before-1950s Data was stored as paper records. Lot of man power involved. Lot of time was wasted.

More information

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap. 1 Oracle9i Documentation First-Semester 1427-1428 Definitions

More information

Contents RELATIONAL DATABASES

Contents RELATIONAL DATABASES Preface xvii Chapter 1 Introduction 1.1 Database-System Applications 1 1.2 Purpose of Database Systems 3 1.3 View of Data 5 1.4 Database Languages 9 1.5 Relational Databases 11 1.6 Database Design 14 1.7

More information

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY" Tokyo. Koln Sebastopol. Cambridge Farnham.

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY Tokyo. Koln Sebastopol. Cambridge Farnham. FIFTH EDITION Oracle Essentials Rick Greenwald, Robert Stackowiak, and Jonathan Stern O'REILLY" Beijing Cambridge Farnham Koln Sebastopol Tokyo _ Table of Contents Preface xiii 1. Introducing Oracle 1

More information

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches Concepts of Database Management Seventh Edition Chapter 9 Database Management Approaches Objectives Describe distributed database management systems (DDBMSs) Discuss client/server systems Examine the ways

More information

Introductory Concepts

Introductory Concepts Introductory Concepts 5DV119 Introduction to Database Management Umeå University Department of Computing Science Stephen J. Hegner hegner@cs.umu.se http://www.cs.umu.se/~hegner Introductory Concepts 20150117

More information

CSE 132A. Database Systems Principles

CSE 132A. Database Systems Principles CSE 132A Database Systems Principles Prof. Victor Vianu 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric:

More information

Objectives of Lecture 1. Labs and TAs. Class and Office Hours. CMPUT 391: Introduction. Introduction

Objectives of Lecture 1. Labs and TAs. Class and Office Hours. CMPUT 391: Introduction. Introduction Database Management Systems Winter 2003 CMPUT 391: Introduction Dr. Osmar R. Zaïane Objectives of Lecture 1 Introduction Get a rough initial idea about the content of the course: Lectures Resources Activities

More information

Oracle Architecture, Concepts & Facilities

Oracle Architecture, Concepts & Facilities COURSE CODE: COURSE TITLE: CURRENCY: AUDIENCE: ORAACF Oracle Architecture, Concepts & Facilities 10g & 11g Database administrators, system administrators and developers PREREQUISITES: At least 1 year of

More information

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals 1 Properties of a Database 1 The Database Management System (DBMS) 2 Layers of Data Abstraction 3 Physical Data Independence 5 Logical

More information

Database Management Systems

Database Management Systems Database Management Systems UNIT -1 1.0 Introduction and brief history to Database 1.1 Characteristics of database 1.2 Difference between File System & DBMS. 1.3 Advantages of DBMS 1.4 Functions of DBMS

More information

Overview of Data Management

Overview of Data Management Overview of Data Management Grant Weddell Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Winter 2015 CS 348 (Intro to DB Mgmt) Overview of Data Management

More information

B.Sc. (Computer Science) First Year

B.Sc. (Computer Science) First Year B.Sc. (Computer Science) First Year Paper No. Title of Paper External Internal Assessment Maximum Pass Exam Durations Semester I I Computer Fundamentals & Programming 40 5 45 16 3hrs in C II Logical Organization

More information

Database Management. Chapter Objectives

Database Management. Chapter Objectives 3 Database Management Chapter Objectives When actually using a database, administrative processes maintaining data integrity and security, recovery from failures, etc. are required. A database management

More information

Databases. DSIC. Academic Year 2010-2011

Databases. DSIC. Academic Year 2010-2011 Databases DSIC. Academic Year 2010-2011 1 Lecturer José Hernández-Orallo Office 236, 2nd floor DSIC. Email: jorallo@dsic.upv.es http://www.dsic.upv.es/~jorallo/docent/bda/bdaeng.html Attention hours On

More information

Normalization in Database Design

Normalization in Database Design in Database Design Marek Rychly mrychly@strathmore.edu Strathmore University, @ilabafrica & Brno University of Technology, Faculty of Information Technology Advanced Databases and Enterprise Systems 14

More information

Types & Uses of Databases

Types & Uses of Databases Types & Uses of Databases Connolly/Beggs Chapter 1 Ramakrishnan Chapter 1 Overview What is a database? File-Based Systems What are they? The Database Approach What is it? Data Models Database Management

More information

Database System. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti

Database System. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti Database Systems Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Presentation

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Winter 2009 Lecture 1 - Class Introduction

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Winter 2009 Lecture 1 - Class Introduction CSE 544 Principles of Database Management Systems Magdalena Balazinska (magda) Winter 2009 Lecture 1 - Class Introduction Outline Introductions Class overview What is the point of a db management system

More information

Course: CSC 222 Database Design and Management I (3 credits Compulsory)

Course: CSC 222 Database Design and Management I (3 credits Compulsory) Course: CSC 222 Database Design and Management I (3 credits Compulsory) Course Duration: Three hours per week for 15weeks with practical class (45 hours) As taught in 2010/2011 session Lecturer: Oladele,

More information

IT2305 Database Systems I (Compulsory)

IT2305 Database Systems I (Compulsory) Database Systems I (Compulsory) INTRODUCTION This is one of the 4 modules designed for Semester 2 of Bachelor of Information Technology Degree program. CREDITS: 04 LEARNING OUTCOMES On completion of this

More information

5.5 Copyright 2011 Pearson Education, Inc. publishing as Prentice Hall. Figure 5-2

5.5 Copyright 2011 Pearson Education, Inc. publishing as Prentice Hall. Figure 5-2 Class Announcements TIM 50 - Business Information Systems Lecture 15 Database Assignment 2 posted Due Tuesday 5/26 UC Santa Cruz May 19, 2015 Database: Collection of related files containing records on

More information

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML? CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 Introduction to Databases CS2 Spring 2005 (LN5) 1 Why databases? Why not use XML? What is missing from XML: Consistency

More information

Core Syllabus. Version 2.6 B BUILD KNOWLEDGE AREA: DEVELOPMENT AND IMPLEMENTATION OF INFORMATION SYSTEMS. June 2006

Core Syllabus. Version 2.6 B BUILD KNOWLEDGE AREA: DEVELOPMENT AND IMPLEMENTATION OF INFORMATION SYSTEMS. June 2006 Core Syllabus B BUILD KNOWLEDGE AREA: DEVELOPMENT AND IMPLEMENTATION OF INFORMATION SYSTEMS Version 2.6 June 2006 EUCIP CORE Version 2.6 Syllabus. The following is the Syllabus for EUCIP CORE Version 2.6,

More information

ECS 165A: Introduction to Database Systems

ECS 165A: Introduction to Database Systems ECS 165A: Introduction to Database Systems Todd J. Green based on material and slides by Michael Gertz and Bertram Ludäscher Winter 2011 Dept. of Computer Science UC Davis ECS-165A WQ 11 1 1. Introduction

More information

BCA. Database Management System

BCA. Database Management System BCA IV Sem Database Management System Multiple choice questions 1. A Database Management System (DBMS) is A. Collection of interrelated data B. Collection of programs to access data C. Collection of data

More information

IST659 Database Admin Concepts & Management Syllabus Spring 2012. Location: Time: Office Hours:

IST659 Database Admin Concepts & Management Syllabus Spring 2012. Location: Time: Office Hours: Instructor: Withro H. Wiggins Phone: (315) 446-5418 (Home) Email: wwiggins@syr.edu Office: Adjunct Location: Time: Office Hours: Blackboard Wednesday - Tuesday by appointment (online) Course Description

More information

Distributed Databases. Concepts. Why distributed databases? Distributed Databases Basic Concepts

Distributed Databases. Concepts. Why distributed databases? Distributed Databases Basic Concepts Distributed Databases Basic Concepts Distributed Databases Concepts. Advantages and disadvantages of distributed databases. Functions and architecture for a DDBMS. Distributed database design. Levels of

More information

DATABASE MANAGEMENT SYSTEM

DATABASE MANAGEMENT SYSTEM REVIEW ARTICLE DATABASE MANAGEMENT SYSTEM Sweta Singh Assistant Professor, Faculty of Management Studies, BHU, Varanasi, India E-mail: sweta.v.singh27@gmail.com ABSTRACT Today, more than at any previous

More information

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to: 14 Databases 14.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define a database and a database management system (DBMS)

More information

Database Design - 2nd Edition

Database Design - 2nd Edition Database Design - 2nd Edition Database Design - 2nd Edition Adrienne Watt Nelson Eng Unless otherwise noted within this book, this book is released under a Creative Commons Attribution 3.0 Unported License

More information

DATABASE DESIGN. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps.

DATABASE DESIGN. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps. DATABASE DESIGN - The ability to design databases and associated applications is critical to the success of the modern enterprise. - Database design requires understanding both the operational and business

More information

Database Design and Programming

Database Design and Programming Database Design and Programming Peter Schneider-Kamp DM 505, Spring 2012, 3 rd Quarter 1 Course Organisation Literature Database Systems: The Complete Book Evaluation Project and 1-day take-home exam,

More information

FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS

FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS FROM RELATIONAL TO OBJECT DATABASE MANAGEMENT SYSTEMS V. CHRISTOPHIDES Department of Computer Science & Engineering University of California, San Diego ICS - FORTH, Heraklion, Crete 1 I) INTRODUCTION 2

More information

Chapter 1: Introduction. Database Management System (DBMS)

Chapter 1: Introduction. Database Management System (DBMS) Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database

More information

THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY

THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY OIT 217.DATABASE CONCEPTS AND DESIGN COURSE OUTLINE

More information

Ursuline College Accelerated Program

Ursuline College Accelerated Program Ursuline College Accelerated Program CRITICAL INFORMATION! DO NOT SKIP THIS LINK BELOW... BEFORE PROCEEDING TO READ THE UCAP MODULE, YOU ARE EXPECTED TO READ AND ADHERE TO ALL UCAP POLICY INFORMATION CONTAINED

More information

Introduction to database management systems

Introduction to database management systems Introduction to database management systems Database management systems module Myself: researcher in INRIA Futurs, Ioana.Manolescu@inria.fr The course: follows (part of) the book "", Fourth Edition Abraham

More information

ICS 434 Advanced Database Systems

ICS 434 Advanced Database Systems ICS 434 Advanced Database Systems Dr. Abdallah Al-Sukairi sukairi@kfupm.edu.sa Second Semester 2003-2004 (032) King Fahd University of Petroleum & Minerals Information & Computer Science Department Outline

More information

DBMS / Business Intelligence, SQL Server

DBMS / Business Intelligence, SQL Server DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.

More information

A Multidatabase System as 4-Tiered Client-Server Distributed Heterogeneous Database System

A Multidatabase System as 4-Tiered Client-Server Distributed Heterogeneous Database System A Multidatabase System as 4-Tiered Client-Server Distributed Heterogeneous Database System Mohammad Ghulam Ali Academic Post Graduate Studies and Research Indian Institute of Technology, Kharagpur Kharagpur,

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database

More information

Introduction to Databases

Introduction to Databases Page 1 of 5 Introduction to Databases An introductory example What is a database? Why do we need Database Management Systems? The three levels of data abstraction What is a Database Management System?

More information

Chapter 1: Introduction. Database Management System (DBMS) University Database Example

Chapter 1: Introduction. Database Management System (DBMS) University Database Example This image cannot currently be displayed. Chapter 1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS contains information

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Fall 2007 Lecture 1 - Class Introduction

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Fall 2007 Lecture 1 - Class Introduction CSE 544 Principles of Database Management Systems Magdalena Balazinska (magda) Fall 2007 Lecture 1 - Class Introduction Outline Introductions Class overview What is the point of a db management system

More information

Information Management

Information Management Information Management Dr Marilyn Rose McGee-Lennon mcgeemr@dcs.gla.ac.uk What is Information Management about Aim: to understand the ways in which databases contribute to the management of large amounts

More information

Database Systems. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti

Database Systems. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti Database Systems Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Presentation

More information

Introduction to Database Systems. Chapter 1 Introduction. Chapter 1 Introduction

Introduction to Database Systems. Chapter 1 Introduction. Chapter 1 Introduction Introduction to Database Systems Winter term 2013/2014 Melanie Herschel melanie.herschel@lri.fr Université Paris Sud, LRI 1 Chapter 1 Introduction After completing this chapter, you should be able to:

More information

æ A collection of interrelated and persistent data èusually referred to as the database èdbèè.

æ A collection of interrelated and persistent data èusually referred to as the database èdbèè. CMPT-354-Han-95.3 Lecture Notes September 10, 1995 Chapter 1 Introduction 1.0 Database Management Systems 1. A database management system èdbmsè, or simply a database system èdbsè, consists of æ A collection

More information

Overview of Database Management

Overview of Database Management Overview of Database Management M. Tamer Özsu David R. Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Fall 2012 CS 348 Overview of Database Management

More information

2. Background on Data Management. Aspects of Data Management and an Overview of Solutions used in Engineering Applications

2. Background on Data Management. Aspects of Data Management and an Overview of Solutions used in Engineering Applications 2. Background on Data Management Aspects of Data Management and an Overview of Solutions used in Engineering Applications Overview Basic Terms What is data, information, data management, a data model,

More information

Chapter 1 Databases and Database Users

Chapter 1 Databases and Database Users Chapter 1 Databases and Database Users Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Outline Introduction An Example Characteristics of the Database Approach Actors

More information

COMP5138 Relational Database Management Systems. Databases are Everywhere!

COMP5138 Relational Database Management Systems. Databases are Everywhere! COMP5138 Relational Database Management Systems Week 1: COMP 5138 Intro to Database Systems Professor Joseph Davis and Boon Ooi Databases are Everywhere! Database Application Examples: Banking: all transactions

More information

Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 1 Outline

Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 1 Outline Chapter 1 Databases and Database Users Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Introduction Chapter 1 Outline An Example Characteristics of the Database Approach Actors

More information

Business Database Systems

Business Database Systems Preface Background The database is now the underlying framework of the information system and has fundamentally changed the way many companies and individuals work. The developments in this technology

More information

Relational Database Systems 2 1. System Architecture

Relational Database Systems 2 1. System Architecture Relational Database Systems 2 1. System Architecture Wolf-Tilo Balke Philipp Wille Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 1 Organizational Issues

More information

Data Hierarchy. Traditional File based Approach. Hierarchy of Data for a Computer-Based File

Data Hierarchy. Traditional File based Approach. Hierarchy of Data for a Computer-Based File Management Information Systems Data and Knowledge Management Dr. Shankar Sundaresan (Adapted from Introduction to IS, Rainer and Turban) LEARNING OBJECTIVES Recognize the importance of data, issues involved

More information

COMPONENTS in a database environment

COMPONENTS in a database environment COMPONENTS in a database environment DATA data is integrated and shared by many users. a database is a representation of a collection of related data. underlying principles: hierarchical, network, relational

More information

Database System Concepts

Database System Concepts s Design Chapter 1: Introduction Departamento de Engenharia Informática Instituto Superior Técnico 1 st Semester 2008/2009 Slides (fortemente) baseados nos slides oficiais do livro c Silberschatz, Korth

More information

1. INTRODUCTION TO RDBMS

1. INTRODUCTION TO RDBMS Oracle For Beginners Page: 1 1. INTRODUCTION TO RDBMS What is DBMS? Data Models Relational database management system (RDBMS) Relational Algebra Structured query language (SQL) What Is DBMS? Data is one

More information

Information Models: Applications and Technology. The Data Scalability Problem

Information Models: Applications and Technology. The Data Scalability Problem Information Models: Applications and Technology Application Areas Model Management Technology Colloquium by Philip A. Bernstein in DCS on October 19, 1999 1999 Microsoft Corp. Applications -- 1 The Data

More information

Course Notes on A Short History of Database Technology

Course Notes on A Short History of Database Technology Course Notes on A Short History of Database Technology Traditional File-Based Approach Three Eras of Database Technology (1) Prehistory file systems hierarchical and network systems (2) The revolution:

More information

Course Notes on A Short History of Database Technology

Course Notes on A Short History of Database Technology Course Notes on A Short History of Database Technology Three Eras of Database Technology (1) Prehistory file systems hierarchical and network systems (2) The revolution: relational database technology

More information

IT2304: Database Systems 1 (DBS 1)

IT2304: Database Systems 1 (DBS 1) : Database Systems 1 (DBS 1) (Compulsory) 1. OUTLINE OF SYLLABUS Topic Minimum number of hours Introduction to DBMS 07 Relational Data Model 03 Data manipulation using Relational Algebra 06 Data manipulation

More information

Introduction to Database Systems

Introduction to Database Systems Introduction to Database Systems A database is a collection of related data. It is a collection of information that exists over a long period of time, often many years. The common use of the term database

More information

The process of database development. Logical model: relational DBMS. Relation

The process of database development. Logical model: relational DBMS. Relation The process of database development Reality (Universe of Discourse) Relational Databases and SQL Basic Concepts The 3rd normal form Structured Query Language (SQL) Conceptual model (e.g. Entity-Relationship

More information

MS-50401 - Designing and Optimizing Database Solutions with Microsoft SQL Server 2008

MS-50401 - Designing and Optimizing Database Solutions with Microsoft SQL Server 2008 MS-50401 - Designing and Optimizing Database Solutions with Microsoft SQL Server 2008 Table of Contents Introduction Audience At Completion Prerequisites Microsoft Certified Professional Exams Student

More information

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203.

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester : II / III Section : CSE - 1 & 2 Subject Code : CS 6302 Subject Name : Database

More information

CSE 233. Database System Overview

CSE 233. Database System Overview CSE 233 Database System Overview 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric: web knowledge harvesting,

More information

David M. Kroenke and David J. Auer Database Processing 11 th Edition Fundamentals, Design, and Implementation. Chapter Objectives

David M. Kroenke and David J. Auer Database Processing 11 th Edition Fundamentals, Design, and Implementation. Chapter Objectives David M. Kroenke and David J. Auer Database Processing 11 th Edition Fundamentals, Design, and Implementation Chapter One: Introduction 1-1 Chapter Objectives To understand the nature and characteristics

More information

ICOM 6005 Database Management Systems Design. Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001

ICOM 6005 Database Management Systems Design. Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001 ICOM 6005 Database Management Systems Design Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 2 August 23, 2001 Readings Read Chapter 1 of text book ICOM 6005 Dr. Manuel

More information

TIM 50 - Business Information Systems

TIM 50 - Business Information Systems TIM 50 - Business Information Systems Lecture 15 UC Santa Cruz March 1, 2015 The Database Approach to Data Management Database: Collection of related files containing records on people, places, or things.

More information

David M. Kroenke and David J. Auer Database Processing 12 th Edition

David M. Kroenke and David J. Auer Database Processing 12 th Edition David M. Kroenke and David J. Auer Database Processing 12 th Edition Fundamentals, Design, and Implementation ti Chapter One: Introduction Modified & translated by Walter Chen Dept. of Civil Engineering

More information

Principles of Database. Management: Summary

Principles of Database. Management: Summary Principles of Database Management: Summary Pieter-Jan Smets September 22, 2015 Contents 1 Fundamental Concepts 5 1.1 Applications of Database Technology.............................. 5 1.2 Definitions.............................................

More information

n Assignment 4 n Due Thursday 2/19 n Business paper draft n Due Tuesday 2/24 n Database Assignment 2 posted n Due Thursday 2/26

n Assignment 4 n Due Thursday 2/19 n Business paper draft n Due Tuesday 2/24 n Database Assignment 2 posted n Due Thursday 2/26 Class Announcements TIM 50 - Business Information Systems Lecture 14 Instructor: John Musacchio UC Santa Cruz n Assignment 4 n Due Thursday 2/19 n Business paper draft n Due Tuesday 2/24 n Database Assignment

More information

Objectives of Lecture 1. Class and Office Hours. Labs and TAs. CMPUT 391: Introduction. Introduction

Objectives of Lecture 1. Class and Office Hours. Labs and TAs. CMPUT 391: Introduction. Introduction Database Management Systems Winter 2004 CMPUT 391: Introduction Dr. Osmar R. Zaïane Objectives of Lecture 1 Introduction Get a rough initial idea about the content of the course: Lectures Resources Activities

More information

Advanced Database Management MISM Course F14-95704 A Fall 2014

Advanced Database Management MISM Course F14-95704 A Fall 2014 Advanced Database Management MISM Course F14-95704 A Fall 2014 Carnegie Mellon University Instructor: Randy Trzeciak Office: Software Engineering Institute / CERT CIC Office hours: By Appointment Phone:

More information

Overview RDBMS-ORDBMS- OODBMS

Overview RDBMS-ORDBMS- OODBMS Overview RDBMS-ORDBMS- OODBMS 1 Database Models Transition Hierarchical Data Model Network Data Model Relational Data Model ER Data Model Semantic Data Model Object-Relational DM Object-Oriented DM 2 Main

More information

Logistics. Database Management Systems. Chapter 1. Project. Goals for This Course. Any Questions So Far? What This Course Cannot Do.

Logistics. Database Management Systems. Chapter 1. Project. Goals for This Course. Any Questions So Far? What This Course Cannot Do. Database Management Systems Chapter 1 Mirek Riedewald Many slides based on textbook slides by Ramakrishnan and Gehrke 1 Logistics Go to http://www.ccs.neu.edu/~mirek/classes/2010-f- CS3200 for all course-related

More information

Databases and Information Management

Databases and Information Management Databases and Information Management Reading: Laudon & Laudon chapter 5 Additional Reading: Brien & Marakas chapter 3-4 COMP 5131 1 Outline Database Approach to Data Management Database Management Systems

More information

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage Database Design Process there are six stages in the design of a database: 1. requirement analysis 2. conceptual database design 3. choice of the DBMS 4. data model mapping 5. physical design 6. implementation

More information

Introduction. Chapter 1. Introducing the Database. Data vs. Information

Introduction. Chapter 1. Introducing the Database. Data vs. Information Chapter 1 Objectives: to learn The difference between data and information What a database is, the various types of databases, and why they are valuable assets for decision making The importance of database

More information

Introdução às Bases de Dados

Introdução às Bases de Dados Introdução às Bases de Dados 2011/12 http://ssdi.di.fct.unl.pt/ibd1112 Joaquim Silva (jfs@di.fct.unl.pt) The Bases de Dados subject Objective: To provide the basis for the modeling, implementation, analysis

More information

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led Course Description This four-day instructor-led course provides students with the knowledge and skills to capitalize on their skills

More information

DATABASE MANAGEMENT SYSTEMS. Question Bank:

DATABASE MANAGEMENT SYSTEMS. Question Bank: DATABASE MANAGEMENT SYSTEMS Question Bank: UNIT 1 1. Define Database? 2. What is a DBMS? 3. What is the need for database systems? 4. Define tupule? 5. What are the responsibilities of DBA? 6. Define schema?

More information

Foundations of Business Intelligence: Databases and Information Management

Foundations of Business Intelligence: Databases and Information Management Chapter 5 Foundations of Business Intelligence: Databases and Information Management 5.1 Copyright 2011 Pearson Education, Inc. Student Learning Objectives How does a relational database organize data,

More information

MIS S S t S ru r ct u ur u e r & & Pl P a l nn n i n n i g

MIS S S t S ru r ct u ur u e r & & Pl P a l nn n i n n i g MIS Structure & Planning Introduction Management information system is a system consisting of people, machines, procedures, databases and data models, as its elements. The MIS is defined as a system which

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Spring 2006 Lecture 1 - Class Introduction

CSE 544 Principles of Database Management Systems. Magdalena Balazinska (magda) Spring 2006 Lecture 1 - Class Introduction CSE 544 Principles of Database Management Systems Magdalena Balazinska (magda) Spring 2006 Lecture 1 - Class Introduction Outline Introductions Class overview What is the point of a database? Course Staff

More information