0. Organizational Issues. 0. Why should you be here? 0. Why should you be here? 0. Why should you be here? Relational Database Systems

Size: px
Start display at page:

Download "0. Organizational Issues. 0. Why should you be here? 0. Why should you be here? 0. Why should you be here? Relational Database Systems"

Transcription

1 0. Organizational Issues Relational Database Systems 1 Wolf-Tilo Balke Christoph Lofi Institut für Informationssysteme Technische Universität Braunschweig Lecture 07. November February :00-17:15h (3 lecture hours!) Exercises, detours, and home work discussion integrated into lecture 4 Credits Exams Written exam on % of exercise points needed to be eligible for the exam Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 2 0. Why should you be here? 0. Why should you be here? Database system are an integral part of most businesses, workflows and software products There is an abundance of jobs for people with good database skills Help yourself to put you into a good position within the job market Prepare for a sunny and wealthy future! Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 3 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 4 0. Why should you be here? Job descriptions are exactly what we do here 0. Why should you be here? Lecture focuses on all basic aspects of database usage relevant for practical application Topics Basic concepts Conceptual modeling Relational algebra and SQL DB application interfaces Additional lectures for DB implementation aspects and special DB applications in master s course (Relational Database Systems II) Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 5 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 6 1

2 0. Why should you be here? For our economically centered listeners 0. Structure of the Course Basic course in databases Relational Databases I (BA) What can we do with an DBMS? Conceptual modeling, data retrieval, relational model, SQL, building applications, basic data models SQL-Praktikum (BA) Advanced Features of SQL and database programming Hands-on experience Relational Databases II (MA) How can we implement a DBMS? Storage models, query optimization, transactions, concurrency control, recovery, data security Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 7 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 8 0. Structure of the Course Advanced courses in databases (MA) Information retrieval & Web search Multimedia databases Distributed databases & P2P data management Knowledge-based systems & deductive databases Data warehousing & OLAP XML databases Bio-information systems Geo-information systems 0. Recommended Literature Fundamentals of Database Systems (EN) Elmasri & Navathe Addison Wesley, ISBN X Database Systems Concepts (SKS) Silberschatz, Korth & Sudarshan McGraw Hill, ISBN Database Systems (GUW) Garcia-Molina, Ullman & Widom Prentice Hall, ISBN Datenbanksysteme (KE) Kemper & Eickler Oldenbourg, ISBN Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 9 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig Recommended Literature Database Modeling and Design. Logical Design Teorey, Lightstone & Nadeau Morgan Kaufmann ISBN X SQL Cookbook Anthony Molinaro O'Reilly Media ISBN Using the new DB2 Don Chamberlin AP Professional ISBN Introduction Introduction What is a database? Characteristics of a database Database users Data models History of databases Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 11 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 12 2

3 1.1 What is a database? 1.1 What is a database? Managing large amounts of data is an integral part of most nowadays business and governmental activities Collecting taxes Bank and account management Book keeping Airline reservations Employee organization Databases are needed to manage that vast amount of data A database (DB) is a collection of related data Represents some aspects of the real world Universe of Discourse Data is logically coherent Is provided for an intended group of users and applications EN EN What is a database? As for today, the database industry is one of the most successful branches of computer science Constantly growing since the 60s More than $8 billion revenue per year DB systems found in nearly any application Ranging from large commercial transaction-processing systems to small open-source systems for your Web site 1.1 What is a database? A database management system (DBMS) is a collection of programs to maintain a database, i.e. for Definition of Data and Structure Physical Construction Manipulation Sharing/Protecting Persistence/Recovery EN 1.1 EN Filesystems 1.1 Filesystems A file system is not a database! File management systems are physical interfaces Account Data Customer Data Loans F i l e S y s t e m App 1 App 2 Customer Letters Money Transfer Balance Sheets Advantages Fast and easy access Disadvantages Uncontrolled redundancy Inconsistent data Limited data sharing and access rights Poor enforcement of standards Excessive data and access paths maintenance

4 1.1 Databases 1.1 Databases Databases are logical interfaces Retrieval of data using data semantics Controlled redundancy Data consistency & integrity constraints Effective and secure data sharing Backup and recovery However More complex More expensive data access DBMS replaced previously dominant file-based systems in banking due to special requirements Simultaneous and quick access is necessary Failures and loss of data cannot be tolerated Data always has to remain in a consistent state Frequent queries and modifications Databases control redundancy Same data used by different applications/tasks is only stored once Access via a single interface provided by DBMS Redundancy only purposefully used to speed up data access (e.g. materialized views) Problems of uncontrolled redundancy Difficulties in consistently updating data Waste of storage space Databases are well-structured (e.g. ER-Model) Catalog (data dictionary) contains all meta-data Defines the structure of the data in the database Example: ER-Model Simple banking system firstname lastname ID customer address has account type balance EN EN Databases support Declarative Querying Just specify what you want, not how and from where to get it Queries are abstracted from actual physical organization and storage of data Get the first name of all customers with last name Smith File system: trouble with physical organization of data Load file c:\datasets\customerdata.csv Build a regular expression and iterate over lines: If 2 nd word in line equals Smith, return 3 rd word Stop when EoF is reached Database system: simply query SELECT firstname FROM customerdata WHERE lastname= Smith Databases aim at efficient manipulation of data Physical tuning allows for good data allocation Indexes speed up search and access Query plans are optimized for improved performance Data File Example: Simple Index type balance Index File saving saving checking saving checking checking saving saving Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig

5 Isolation between applications and data Database employs data abstraction by providing data models Applications work only on the conceptual representation of data Data is strictly typed (Integer, Timestamp, VarChar, ) Details on where data is actually stored and how it is accessed is hidden by the DBMS Applications can access and manipulate data by invoking abstract operations (e.g. SQL Select statements) DBMS-controlled parts of the file system are strongly protected against outside manipulation (tablespaces) Example: Schema is changed and table-space moved without an application noticing balance Application SELEC T FROM account WHERE balance>0 DBMS Disk 1 Disk 2 EN Example: Schema is changed and table-space moved without an application noticing balance Application SELEC T FROM account WHERE balance>0 DBMS Disk 1 Disk 2 type balance saving saving checking saving Supports multiple views of the data Views provide a different perspective of the DB A user s conceptual understanding or task-based excerpt of all data (e.g. aggregations) Security considerations and access control (e.g. projections) For the application, a view does not differ from a table Views may contain subsets of a DB and/or contain virtual data Virtual data is derived from the DB (mostly by simple SQL statements, e.g. joins over several tables) Can either be computed at query time or materialized upfront EN Example Views: Projection Saving account clerk vs. checking account clerk Original Table type balance saving saving checking saving checking checking saving saving Saving View balance Checking View balance Sharing of data and support for atomic multiuser transactions Multiple user and applications may access the DB at the same time Concurrency control is necessary for maintaining consistency Transactions need to be atomic and isolated from each other EN

6 Example: Atomic Transactions Program: Transfer X Euro from Account1 to Account2 1. Deduce amount X from Account1 2. Add amount X to Account2 Example: Atomic Transactions Program: Transfer X Euro from Account1 to Account2 1. Deduce amount X from Account1 2. Add amount X to Account2 But what happens if system fails between step 1 and 2? Example: Multi-User Transactions Program: withdraw amount X from Account 1 1. Read old balance from DB 2. New balance := old balance X 3. Write new balance back to the DB Problem: Dirty Read Account 1 has 500 User 1 wants deduce 20 User 2 wants to deduce 80 at the same time Without multi-user transaction, account will have either 480 or 420, but not the correct 400 Persistence of data and disaster recovery Data needs to be persistent and accessible at all times Quick recovery from system crashes without data loss Recovery from natural disasters ( fire, earthquakes, ) 33 EN Database Users 1.1 Database Users A large DBMS system usually involves several groups of persons (many job opportunities for people with DB knowledge ) Persons directly involved with a certain DB Database Administrators Responsible for tuning and maintaining the DBMS system Management of storage space, security, hardware, software, etc Database Designers Identifies the data that needs to be stored and chooses appropriate data structures and representations Covers the needs of all users in the design Application Programmers Identify the requirements of the end-users Develop the software which is used by (naïve) end-users to interact with the DB Cooperate closely with DB designers Persons working behind the scenes DBMS Designer and Implementers Implement the DBMS software Tool developers Develop generic tools extending the DBMS functionalities Operators and Maintenance Personnel Responsible for actually running and maintaining the DBMS hardware EN 1.4 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 35 EN 1.4 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 36 6

7 1.1 Database Users 1.1 Database Users End Users All people using the DB to perform their job Split into Naïve Users Make up most DB users Usually repeat similar tasks over and over Are supported by predesigned interfaces for their tasks Examples: bank tellers, reservation clerks, Sophisticated Users Require complex non-standard operations and views from the DB Are familiar with the facilities of the DBMS Can solve their problems themselves, but require complex tools Examples: engineers, scientists, business analyst, Casual Users Use DB only from time to time, but need to perform different tasks Are familiar with query languages to solve their needs Examples: middle- or high-level managers EN 1.4 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 37 EN 1.4 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 38 In databases the specific semantics of the data matter a lot What is described? What values are sensible/correct? What data belongs together? What data is often/rarely accessed? Example: describe the age of a person Semantic definition: the number of years elapsed since a person s birthday Integer data type Always: 0 age 120 Connected to the person s name, passport id, etc. May often be retrieved, but should be protected Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 39 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 40 A data model is an abstract model that describes how data is represented and accessed E.g., the network model, relational model, objectoriented model, Warning: the term is used ambiguously A data model theory is a formal description of how data may be structured and accessed A data model instance applies a data model theory to create an instance for some particular application To do that a data model needs three parts Structural part Data structures which are used to create databases representing the objects modeled Integrity part Rules expressing the constraints placed on these data structures to ensure structural integrity Manipulation part Operators which can be applied to the data structures, to update and query the data contained in the database Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 41 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 42 7

8 Data models are instanced by schemas which may be one of three kinds (ANSI,1975) A conceptual schema describes the semantics of a domain, i.e. the scope of the model The kinds of facts or propositions that can be expressed using the model A logical schema describes the semantics, as represented by a particular data manipulation technology Tables and columns, object oriented classes, XML tags,... A physical schema describes the physical means by which data are stored Partitions, tablespaces, indices,... In the pure modeling process the designer models only semantics, the rest is automatic Unfortunately, the three tasks are usually integrated conceptual design ER-diagram UML, logical design tables, columns, physical design tablespaces, Indices, Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 43 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 44 The idea behind the three kinds of instances is to maintain their independence Physical independence means that the storage design can be altered without affecting logical or conceptual schemas Logically it does not matter where exactly the data about a person s age is stored, it is still the same data Logical independence means that the logical design can be altered without affecting the data semantics It does not matter whether a person s age is directly stored or computed from the person s birthdate Shortcomings of specific data models Depending on the application modelers will often produce different data models of the same domain Bringing the models of for instance different companies together is difficult Data exchange and integration between organizations is severely hampered Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 45 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 46 Often differences are attributable to different levels of abstraction in the models Different in the kinds of facts that can be instantiated The semantic expressiveness of the models is different Extensions are often necessary, but difficult E.g., when the focus changes or new information about the domain becomes available The model limits what is expressible about a domain Changes sometimes need complete re-modeling of the schema Generic data models are generalizations of conventional data models Definition of standardized general relation types, together with the kinds of things that may be related by such a relation type Similar to the definition of a natural language Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 47 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 48 8

9 Example: a generic data model may define relation types such as classification relation as a binary relation between an individual thing and a kind of thing (a class) part-whole relation, as a binary relation between two things one with the role of part, the other with the role of whole Regardless of the kind of things that are related Current state of the art: Data is best structured in (relational) tables! Modeling data in tables is very natural and efficient There is no real other alternative to do it Think: index card! All data about an object on each single card Ordered by one attribute Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 49 BUT: is this true? We owe this belief to Edgar F. Codd around1970 Before that, people had a very different perspective on what data actually is Databases have an exceptional history of development High synergy between academic, governmental and industry research Much to be learned from it Most popular concepts used today were invented decades ago Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 51 Early Beginnings 1880: U.S. Bureau of Census charges Herman Hollerith to develop a machine for storing census data Result: Punch-card tabulator machine 1880 census took 8 years to complete 1890 census needed just one year Lead to the founding of IBM International Business Machines Data processing machines soon established in book keeping During WW1, many data collection, sorting and reporting tasks in industry and governmental organization was performed with punch-cards 1935: U.S. Social Security Act required continuous report on all 26 million governmental employees World biggest bookkeeping job Mechanical punch card systems not powerful enough IBM develops electric UNIVAC1 punch card processor in

10 In 1959, U.S. dominated the (still highly active) punch card machine market Within the U.S., the Pentagon alone used more than 200 data processing computers, costing $70 million per year In 1964, the term data base appeared for the first time in military computing using time sharing systems Data could be shared among users Data model very close to punch cards Master files bound to a specific application Master Files Each application had its own master files Similar data needed by multiple applications was duplicated Consistency problems when updating data Each file held records of one type represented by a set of fixed fields Inspired by punch cards and optimized for magnetic tapes Relationships between different records or type of records could not be done (restricted by model and available hardware) Master Files Highly hardware oriented approach Data stored in independent flat files Account Data Application 1 Application 2 Customer Data? Customer Data Customer Credibility Master Files had several severe problems To turn stored data into a proper database, following tasks needed to be solved Data consolidation Data needed to be stored in a central place, accessible for all applications Relationships among records required Data independence Data needs to be independent of low level programming languages (e.g. assembler) Data protection Data need to be protected against loss and abuse Data consolidation lead to the development of data models Hierarchical data model Network data model Relational data model Object-oriented data model Semantic data model Data independence lead to the development of query models and high-level languages Relational Algebra, SQL Data protection lead to development of transactions, backup schemes and security protocols Hierarchical Data Model First appearance in the IBM IMS database system designed for the Apollo Program in1966 Still, as of % of all Fortune 1000 companies use IBM IMS in their data backbone Benefits from advances in hardware design Random access main memory and tape media available Data may be organized in a tree structure Initially, tree had maximum depth of two 10

11 Hierarchical Data Model Each type of record has one or multiple own files/tables Hierarchical One-To-Many relationships possible Resembles vaguely a file system organization Customer CustomerNumber Name 1000 Mickey Mouse 1001 Dagobert Duck 1002 Donald Duck 1003 Goofy Accounts - MickeyMouse Balance Accounts Dagobert Duck Balance 2000 $ 934,3243,435, ,543,123, ,432,355,112 Hierarchical Data Model Advantages Allowed for 1:n relationships Could easily be stored on tape media Disadvantages No n:m relationships No data independence Network Data Model In the mid-60th, direct access storage devices (DASD) gained momentum Mainly hard disks More complex storage schemes possible Hierarchical model failed for, e.g. Bill-Of-Material- Processing (BOMP) Many-To-Many Relationships needed Development of the IBM DBOMP System 1960 Result: Network Model Two types of files: Master Files, Chain Files Chain file entries could chain any master file entry to another one Network Data Model The model was standardized by Charles W. Bachman for the CODASYL (Conference of Data Systems Languages) Consortium in 1969 Thus, also called CODASYL Model Allowed for more natural modeling of associations Advantage Many-Many-Relationships Disadvantage No declarative queries Querying using data path What s wrong with all that? Strong degree of hardware orientation No proper abstraction of data and decoupling of its application Each database needed to be handcrafted for its application To change something in the data-schema, a sharplooking guy in a white shirt and black rims had to do the programming by hand No real mathematical foundation no high-level data languages The relational data model Published by Edgar F. Ted Codd in 1970 after several years of work A Relational Model of Data for Large Shared Data Banks, Communications of the ACM, Vol. 13 (6), 1970 Employee of IBM Research IBM ignored his idea for a long time as not practical while pushing it s hierarchical IMS system Other researchers in the field also rejected his theories Finally got the Turing Award in 1981 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 65 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 66 11

12 Basic Idea: Database is seen as a collection of predicates over a finite set of predicate variables Tables correspond to predicate variables The content of the DB is modeled as a set of relations such that all predicates are satisfied Queries are also predicates Queries and data are very similar Allows for declarative querying It s really like a collection of index cards More details during the next weeks Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 67 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 68 Beginning 1977, Lawrence J. Ellison picked up the idea and created Oracle DB (currently version 11g) And became insanely rich long time in the Top 10 of the richest people In 2007 Oracle ranked third on the list of largest software companies in the world, after Microsoft and IBM Oracle also sells a suite of business applications Oracle ebusiness Suite Includes software to perform financial- and manufacturing-related functions, customer relationsship management, enterprise resource planning and human resource management Basically gained from high-value acquisitions beginning in 2003 JD Edwards, PeopleSoft, Siebel Systems, BEA Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 69 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 70 During the 1970ies IBM had also decided to develop a relational database system System R with the first implementation of a the SQL declarative query language (SEQUEL) At first mostly a research prototype, later became the base for IBM DB2 Today, the relational model is the de-facto standard of most modern databases Company Revenue Estimates 2006 (in mio USD) Market Share (in %) Oracle 7, IBM 3, Microsoft 2, Teradata Sybase Other Vendors 1, Total 15, Source: Gartner Research, 2007 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 71 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 72 12

13 Year Event 1880 Hollerith Census Machine 1951 Univac 1 Electrical Data Machine 1959 First CODASYL Conference 1960 Flight Reservation System SABRE 1966 IMS Hierarchical Database 1969 Networkmodel 1971 CODASYL Recommendation for DDL and 3-Layer-Architecture 1975 System R introduces Sequel query language 1976 System R introduces transaction concepts 1976 Peter Chen publishes the Entity Relationship Modeling approach 1980 Orcacle, Informix and others start selling DBMS with SQL support Year Event 1983 Work on ACID-Transactions published by Jim Gray 1986 SQL standardized as SQL 1 ANSI/SQL 1987 SQL internationally standardized as ISO SQL2 standard supporting referential integrity 1991 SQL2 supports domains and key definitions 1993 Object-oriented data model 1995 Preliminary SQL 3 supporting sub-tables, recursion, procedures, and triggers 1996 First object-oriented databases 1999 SQL3-Part1 finalized 2003 SQL2003 finalized with support for object-relational extensions Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 73 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 74 Beyond the relational model Logic-based data models Lead to deductive databases and expert systems Object-oriented data models Main Idea: Object-oriented design (garage metaphor) Very easy integration in OO programming languages Today mostly integrated into the relational model Semi-Structured data models Mainly incarnate as XML Allows a large degree of structural freedom For details see the master s courses on the topic Exercises Weekly exercises are to be done 50% of the maximum exercise score is necessary to be eligible for exams Exercises are usually quite easy we know that Exercises should be completed within teams of 2 students Exercises can be downloaded from our webpage Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 75 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 76 Exercises Turn in your exercise to the mailbox of the IfIS institute before the next lecture on paper Informatikzentrum, 2 nd floor Mark each sheet of paper with your names and Matrikelnummer If you have multiple pages, staple them together Exercises Exercises are graded and corrected by our HiWi s and returned to you in the lecture An example solution is provided at the end of each lecture For any questions regarding the correction, contact the respective HiWi directly Exercises will be marked by the HiWi Contact data will be on the webpage Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 77 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 78 13

14 SQL-Praktikum Parallel to the lecture, we offer a practical lab course SQL Praktikum Students in Bachelor Informatik (and Wirtschaftinformatik if they feel like it) are recommended to participate Awards 4 credits Others may also voluntarily participate, but it is up to their course of study to accept the credits or not SQL-Praktikum Lab course extends the written home works with additional computer based tasks Extended data modeling using model tools ER models UML models Querying and modifying databases Developing of easy up to complex SQL queries Modifying data with SQL Integrating data Using SQL within host languages Using JDBC in Java to interact with databases Using ER-mapping technologies Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 79 Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 80 SQL-Praktikum Lab course starts late: But: Registration is necessary! You can sign up at our webpage: Registration possible until Tasks have to be performed on a weekly basis and are graded 70% of the maximum score necessary to pass Pairs of 2 students each You may choose a preferred partner If you don t, you get a random partner Relational Database Systems 1 Wolf-Tilo Balke Institut für Informationssysteme TU Braunschweig 81 14

Relational Database Systems 1

Relational Database Systems 1 Relational Database Systems 1 Wolf-Tilo Balke Benjamin Köhncke Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de 0. Organizational Issues Who is who? Wolf Tilo Balke

More information

Relational Database Systems 1 Wolf-Tilo Balke Hermann Kroll

Relational Database Systems 1 Wolf-Tilo Balke Hermann Kroll Relational Database Systems 1 Wolf-Tilo Balke Hermann Kroll Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de 0. Organizational Issues Who is who? Wolf-Tilo Balke

More information

Relational Database Systems 1

Relational Database Systems 1 Relational Database Systems 1 Wolf-Tilo Balke Benjamin Köhncke Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de 0. Organizational Issues Who is who? Wolf Tilo Balke

More information

Relational Database Systems 2 1. System Architecture

Relational Database Systems 2 1. System Architecture Relational Database Systems 2 1. System Architecture Silke Eckstein Andreas Kupfer Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de Organizational Information

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 Jan-Christoph Kalo Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 1 Organizational

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 Spring 2016 CS 348 (Intro to DB Mgmt) Overview of Data Management

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

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

UNIT I. Introduction

UNIT I. Introduction UNIT I Introduction Objective To know the need for database system. To study about various data models. To understand the architecture of database system. To introduce Relational database system. Introduction

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

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Outline The Need for Databases Data Models Relational Databases Database Design Storage Manager Query

More information

Databases 1. Daniel POP

Databases 1. Daniel POP Databases 1 Daniel POP Week 1 Getting around New things will be thought both in lectures and in labs; don t miss them; they all matter for final examination! FinalGrade = (LectureGrade>=5 and LabGrade>=5)?

More information

Can you name one application that does not need any data? Can you name one application that does not need organized data?

Can you name one application that does not need any data? Can you name one application that does not need organized data? Introduction Why Databases? Can you name one application that does not need any data? No, a program itself is data Can you name one application that does not need organized data? No, programs = algorithms

More information

Quick Facts about the course. CS 2550 / Spring 2006 Principles of Database Systems. Administrative. What is a Database Management System?

Quick Facts about the course. CS 2550 / Spring 2006 Principles of Database Systems. Administrative. What is a Database Management System? Quick Facts about the course CS 2550 / Spring 2006 Principles of Database Systems 01 Introduction Alexandros Labrinidis University of Pittsburgh When: Tue & Thu 2:30pm 3:45pm Where: 5313 SENSQ Instructor:

More information

CS425 Fall 2016 Boris Glavic Chapter 1: Introduction

CS425 Fall 2016 Boris Glavic Chapter 1: Introduction CS425 Fall 2016 Boris Glavic Chapter 1: Introduction Modified from: Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Textbook: Chapter 1 1.2 Database Management System (DBMS)

More information

Database Management System. Fundamental Database Concepts

Database Management System. Fundamental Database Concepts Database Management System Fundamental Database Concepts CONTENTS Basics of DBMS Purpose of DBMS Applications of DBMS Views of Data Instances and Schema Data Models Database Languages Responsibility of

More information

Database Technology Introduction. Heiko Paulheim

Database Technology Introduction. Heiko Paulheim Database Technology Introduction Outline The Need for Databases Data Models Relational Databases Database Design Storage Manager Query Processing Transaction Manager Introduction to the Relational Model

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Chapter 1: Introduction Purpose of Database Systems Database Languages Relational Databases Database Design Data Models Database Internals Database Users and Administrators Overall

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

Course: Database Management Systems. Lê Thị Bảo Thu

Course: Database Management Systems. Lê Thị Bảo Thu Course: Database Management Systems Lê Thị Bảo Thu thule@hcmut.edu.vn www.cse.hcmut.edu.vn/thule 1 Contact information Lê Thị Bảo Thu Email: thule@hcmut.edu.vn Website: www.cse.hcmut.edu.vn/thule 2 References

More information

Overview of Data Management

Overview of Data Management Overview of Data Management School of Computer Science University of Waterloo Databases CS348 (University of Waterloo) Overview of Data Management 1 / 21 What is Data ANSI definition of data: 1 A representation

More information

Chapter 1: Introduction. Chapter 1: Introduction

Chapter 1: Introduction. Chapter 1: Introduction Chapter 1: Introduction Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 1: Introduction Purpose of Database Systems View of Data Database Languages Relational Databases

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Slides are slightly modified by F. Dragan Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 1: Introduction Purpose of Database Systems View

More information

Outline. Database Management Systems (DBMS) Database Management and Organization. IT420: Database Management and Organization

Outline. Database Management Systems (DBMS) Database Management and Organization. IT420: Database Management and Organization Outline IT420: Database Management and Organization Dr. Crăiniceanu Capt. Balazs www.cs.usna.edu/~adina/teaching/it420/spring2007 Class Survey Why Databases (DB)? A Problem DB Benefits In This Class? Admin

More information

Database Management Systems (CPTR 312)

Database Management Systems (CPTR 312) Database Management Systems (CPTR 312) Preliminaries Me: Raheel Ahmad Ph.D., Southern Illinois University M.S., University of Southern Mississippi B.S., Zakir Hussain College, India Contact: Science 116,

More information

Introduction to Database Systems

Introduction to Database Systems Introduction to Database Systems UVic C SC 370 Daniel M German Introduction to Database Systems (1.2.0) CSC 370 4/5/2005 14:51 p.1/27 Overview What is a DBMS? what is a relational DBMS? Why do we need

More information

ABD - Database Administration

ABD - Database Administration Coordinating unit: 270 - FIB - Barcelona School of Informatics Teaching unit: 747 - ESSI - Department of Service and Information System Engineering Academic year: Degree: 2017 BACHELOR'S DEGREE IN INFORMATICS

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

CMPSCI 645 Database Design & Implementation

CMPSCI 645 Database Design & Implementation Welcome to CMPSCI 645 Database Design & Implementation Instructor: Gerome Miklau Overview of Databases Gerome Miklau CMPSCI 645 Database Design & Implementation UMass Amherst Jan 19, 2010 Some slide content

More information

0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart

More information

Chapter 1 Introduction

Chapter 1 Introduction Chapter 1 Introduction Contents The History of Database System Overview of a Database Management System (DBMS) Three aspects of database-system studies the state of the art Introduction to Database Systems

More information

Databases and Database Management Systems

Databases and Database Management Systems Databases and Database Management Systems 1 DBMS concepts and architecture ER model Relational Databases Relational Algebra Query Languages (SQL) Storage and Indexing (optional) Database Design : Normalization

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

Chapter 1: Introduction

Chapter 1: Introduction This image cannot currently be displayed. Chapter 1: Introduction Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 1: Introduction Purpose of Database Systems View

More information

CMPT 354 Database Systems I. Spring 2012 Instructor: Hassan Khosravi

CMPT 354 Database Systems I. Spring 2012 Instructor: Hassan Khosravi CMPT 354 Database Systems I Spring 2012 Instructor: Hassan Khosravi Textbook First Course in Database Systems, 3 rd Edition. Jeffry Ullman and Jennifer Widom Other text books Ramakrishnan SILBERSCHATZ

More information

LECTURE1: PRINCIPLES OF DATABASES

LECTURE1: PRINCIPLES OF DATABASES LECTURE1: PRINCIPLES OF DATABASES Ref. Chapter1 Information Systems Department Chapter1 - Objectives 2 Problems with file-based approach. Database concepts. Database Management System (DBMS). Major components

More information

Relational Database Systems 1

Relational Database Systems 1 Relational Database Systems 1 Silke Eckstein Benjamin Köhncke Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de 2. Data Modeling Introduction Data Models Phases

More information

Meaning & Concepts of Databases

Meaning & Concepts of Databases 27 th August 2015 Unit 1 Objective Meaning & Concepts of Databases Learning outcome Students will appreciate conceptual development of Databases Section 1: What is a Database & Applications Section 2:

More information

Introduction: Databases and Database Users. Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1

Introduction: Databases and Database Users. Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1 Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1 Introduction: Databases and Database Users Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Types of Databases and Database Applications

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

The functions performed by a typical DBMS are the following:

The functions performed by a typical DBMS are the following: MODULE NAME: Database Management TOPIC: Introduction to Basic Database Concepts LECTURE 2 Functions of a DBMS The functions performed by a typical DBMS are the following: Data Definition The DBMS provides

More information

Database Principle. Zhuo Wang Spring

Database Principle. Zhuo Wang Spring Database Principle Zhuo Wang zhuowang@sjtu.edu.cn 2017 Spring Overview Data Database Database Management System Database System References Database System Concepts Abraham Silberschatz, Henry F. Korth,

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

Chapter 1. Types of Databases and Database Applications. Basic Definitions. Introduction to Databases

Chapter 1. Types of Databases and Database Applications. Basic Definitions. Introduction to Databases Chapter 1 Introduction to Databases Types of Databases and Database Applications Numeric and Textual Databases Multimedia Databases Geographic Information Systems (GIS) Data Warehouses Real-time and Active

More information

D.Hemavathi & R.Venkatalakshmi, Assistant Professor, SRM University, Kattankulathur

D.Hemavathi & R.Venkatalakshmi, Assistant Professor, SRM University, Kattankulathur DATABASE SYSTEMS IT 0303 5 TH Semester D.Hemavathi & R.Venkatalakshmi, Assistant Professor, SRM University, Kattankulathur School of Computing, Department of IT Unit 1: introduction 1 Disclaimer The contents

More information

Chapter 1. Introduction of Database (from ElMasri&Navathe and my editing)

Chapter 1. Introduction of Database (from ElMasri&Navathe and my editing) Chapter 1 Introduction of Database (from ElMasri&Navathe and my editing) Data Structured Data Strict format data like table data Semi Structured Data Certain structure but not all have identical structure

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

5.3 Parser and Translator. 5.3 Parser and Translator. 5.3 Parser and Translator. 5.3 Parser and Translator. 5.3 Parser and Translator

5.3 Parser and Translator. 5.3 Parser and Translator. 5.3 Parser and Translator. 5.3 Parser and Translator. 5.3 Parser and Translator 5 Query Processing Relational Database Systems 2 5. Query Processing Silke Eckstein Andreas Kupfer Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 5.1 Introduction:

More information

Introduction: Databases and. Database Users

Introduction: Databases and. Database Users Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality Example of a Database (UNIVERSITY) Main Characteristics of the Database Approach Database Users Advantages of Using

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 1-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 1-1 Slide 1-1 Chapter 1 Introduction: Databases and Database Users Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality Example of a Database (UNIVERSITY) Main

More information

Dr. Angelika Reiser Chair for Database Systems (I3)

Dr. Angelika Reiser Chair for Database Systems (I3) Introduction Dr. Angelika Reiser Chair for Database Systems (I3) www-db.in.tum.de de TU München / Garching reiser@in.tum.de Lecture Web page of the lecture: see TUMonline www-db.in.tum.de/teaching/ws1617/dbsandere

More information

Unit 2. Unit 3. Unit 4

Unit 2. Unit 3. Unit 4 Course Objectives At the end of the course the student will be able to: 1. Differentiate database systems from traditional file systems by enumerating the features provided by database systems.. 2. Design

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

Relational Database Systems 2 5. Query Processing

Relational Database Systems 2 5. Query Processing Relational Database Systems 2 5. Query Processing Silke Eckstein Andreas Kupfer Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 5 Query Processing 5.1 Introduction:

More information

COMP3311 Database Systems

COMP3311 Database Systems COMP3311 Database Systems Xuemin Lin School of Computer Science and Engineering Office: K17 503 E-mail: lxue@cse.unsw.edu.au Ext: 6493 http://www.cs.unsw.edu.au/~lxue WWW home address of 3311: http://www.cse.unsw.edu.au/~cs3311

More information

Introduction. Who wants to study databases?

Introduction. Who wants to study databases? Introduction Example databases Overview of concepts Why use database systems Who wants to study databases? What is the use of all the courses I have taken so far? This course shows very concrete how CS

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 1 Databases and Database Users Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Slide 1-2 OUTLINE Types of Databases and Database Applications

More information

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES 4541.564; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room 302-208) ADVANCED DATABASES Syllabus Text Books Exams (tentative dates) Database System Concepts, 5th Edition, A. Silberschatz, H. F.

More information

CS 525 Advanced Database Organization - Spring 2017 Mon + Wed 1:50-3:05 PM, Room: Stuart Building 111

CS 525 Advanced Database Organization - Spring 2017 Mon + Wed 1:50-3:05 PM, Room: Stuart Building 111 CS 525 Advanced Database Organization - Spring 2017 Mon + Wed 1:50-3:05 PM, Room: Stuart Building 111 Instructor: Boris Glavic, Stuart Building 226 C, Phone: 312 567 5205, Email: bglavic@iit.edu Office

More information

Database Management Systems MIT Introduction By S. Sabraz Nawaz

Database Management Systems MIT Introduction By S. Sabraz Nawaz Database Management Systems MIT 22033 Introduction By S. Sabraz Nawaz Recommended Reading Database Management Systems 3 rd Edition, Ramakrishnan, Gehrke Murach s SQL Server 2008 for Developers Any book

More information

Database Management System Implementation. Who am I? Who is the teaching assistant? TR, 10:00am-11:20am NTRP B 140 Instructor: Dr.

Database Management System Implementation. Who am I? Who is the teaching assistant? TR, 10:00am-11:20am NTRP B 140 Instructor: Dr. Database Management System Implementation TR, 10:00am-11:20am NTRP B 140 Instructor: Dr. Yan Huang TA: TBD Who am I? Dr. Yan Huang, graduated 2003 from University of Minnesota Research interests: database,

More information

Relational Database Systems 1

Relational Database Systems 1 Relational Database Systems 1 Wolf-Tilo Balke Jan-Christoph Kalo Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de Summary last week Databases are logical interfaces

More information

Database systems. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)

Database systems. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) Database systems Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) 2011-2016 Resources Ramez Elmasri, Shamkant B. Navathe: Fundamentals of Database Systems, Addison Wesley, 5 edition, 2006, 1168 p. ISBN

More information

Introduction: Database Concepts Slides by: Ms. Shree Jaswal

Introduction: Database Concepts Slides by: Ms. Shree Jaswal Introduction: Database Concepts Slides by: Ms. Shree Jaswal Topics: Introduction Characteristics of databases File system V/s Database system Users of a Database system Data Models, Schemas, and Instances

More information

Relational Database Systems Part 01. Karine Reis Ferreira

Relational Database Systems Part 01. Karine Reis Ferreira Relational Database Systems Part 01 Karine Reis Ferreira karine@dpi.inpe.br Aula da disciplina Computação Aplicada I (CAP 241) 2016 Database System Database: is a collection of related data. represents

More information

Introduction. Random things to do after this course. Course roadmap. CPS 116 Introduction to Database Systems

Introduction. Random things to do after this course. Course roadmap. CPS 116 Introduction to Database Systems Introduction CPS 116 Introduction to Database Systems Random things to do after this course 2 Course roadmap 3 Relational databases Relational algebra, database design, SQL, app programming XML Data model

More information

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Relational Databases Fall 2017 Lecture 1

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Relational Databases Fall 2017 Lecture 1 COURSE OVERVIEW THE RELATIONAL MODEL CS121: Relational Databases Fall 2017 Lecture 1 Course Overview 2 Introduction to relational database systems Theory and use of relational databases Focus on: The Relational

More information

Who, where, when. Database Management Systems (LIX022B05) Literature. Evaluation. Lab Sessions. About this course. After this course...

Who, where, when. Database Management Systems (LIX022B05) Literature. Evaluation. Lab Sessions. About this course. After this course... Who, where, when base Management Systems (LIX022B05) Instructor: Çağrı Çöltekin c.coltekin@rug.nl Information science/informatiekunde Fall 2012 Course bases (LIX022B05) 2012/13 Instructor Çağrı Çöltekin

More information

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Introduction to Relational Database Systems Fall 2016 Lecture 1

COURSE OVERVIEW THE RELATIONAL MODEL. CS121: Introduction to Relational Database Systems Fall 2016 Lecture 1 COURSE OVERVIEW THE RELATIONAL MODEL CS121: Introduction to Relational Database Systems Fall 2016 Lecture 1 Course Overview 2 Introduction to relational database systems Theory and use of relational databases

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

Databases and Database Systems

Databases and Database Systems Page 1 of 6 Databases and Database Systems 9.1 INTRODUCTION: A database can be summarily described as a repository for data. This makes clear that building databases is really a continuation of a human

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

Deccan Education Society s FERGUSSON COLLEGE, PUNE (AUTONOMOUS) SYLLABUS UNDER AUTONOMY. FIRST YEAR B.Sc. COMPUTER SCIENCE SEMESTER I

Deccan Education Society s FERGUSSON COLLEGE, PUNE (AUTONOMOUS) SYLLABUS UNDER AUTONOMY. FIRST YEAR B.Sc. COMPUTER SCIENCE SEMESTER I Deccan Education Society s FERGUSSON COLLEGE, PUNE (AUTONOMOUS) SYLLABUS UNDER AUTONOMY FIRST YEAR B.Sc. COMPUTER SCIENCE SEMESTER I SYLLABUS OF COMPUTER SCIENCE Academic Year 2016-2017 Deccan Education

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

Why are you here? Introduction. Course roadmap. Course goals. What do you want from a DBMS? What is a database system? Aren t databases just

Why are you here? Introduction. Course roadmap. Course goals. What do you want from a DBMS? What is a database system? Aren t databases just Why are you here? 2 Introduction CPS 216 Advanced Database Systems Aren t databases just Trivial exercises in first-order logic (says AI)? Bunch of out-of-fashion I/O-efficient indexes and algorithms (says

More information

COMP.3090/3100 Database I & II. Textbook

COMP.3090/3100 Database I & II. Textbook COMP.3090/3100 Database I & II Slides adapted from http://infolab.stanford.edu/~ullman/fcdb.html Prof. Cindy Chen cchen@cs.uml.edu September 7, 2017 Textbook Required: First Course in Database Systems,

More information

CMSC 424 Database design Lecture 2: Design, Modeling, Entity-Relationship. Book: Chap. 1 and 6. Mihai Pop

CMSC 424 Database design Lecture 2: Design, Modeling, Entity-Relationship. Book: Chap. 1 and 6. Mihai Pop CMSC 424 Database design Lecture 2: Design, Modeling, Entity-Relationship Book: Chap. 1 and 6 Mihai Pop Administrative issues TA: Sharath Srinivas TA office hours: Mon 10-11:30, Wed 3-4:30, AVW 1112 Glue

More information

COMP Instructor: Dimitris Papadias WWW page:

COMP Instructor: Dimitris Papadias WWW page: COMP 5311 Instructor: Dimitris Papadias WWW page: http://www.cse.ust.hk/~dimitris/5311/5311.html Textbook Database System Concepts, A. Silberschatz, H. Korth, and S. Sudarshan. Reference Database Management

More information

Course Outline Faculty of Computing and Information Technology

Course Outline Faculty of Computing and Information Technology Course Outline Faculty of Computing and Information Technology Title Code Instructor Name Credit Hours Prerequisite Prerequisite Skill/Knowledge/Understanding Category Course Goals Statement of Course

More information

CMPUT 391 Database Management Systems. Fall Semester 2006, Section A1, Dr. Jörg Sander. Introduction

CMPUT 391 Database Management Systems. Fall Semester 2006, Section A1, Dr. Jörg Sander. Introduction CMPUT 391 Database Management Systems Fall Semester 2006, Section A1, Dr. Jörg Sander Introduction University of Alberta 1 Objectives of Lecture 1 Get a rough initial idea about the content of the course:

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

Relational Database Systems 1

Relational Database Systems 1 Relational Database Systems 1 Wolf-Tilo Balke Benjamin Köhncke Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de Overview Motivation Relational Algebra Query Optimization

More information

CSE 544 Principles of Database Management Systems

CSE 544 Principles of Database Management Systems CSE 544 Principles of Database Management Systems Lecture 1 - Introduction and the Relational Model 1 Outline Introduction Class overview Why database management systems (DBMS)? The relational model 2

More information

DATABASE CONCEPTS. Dr. Awad Khalil Computer Science & Engineering Department AUC

DATABASE CONCEPTS. Dr. Awad Khalil Computer Science & Engineering Department AUC DATABASE CONCEPTS Dr. Awad Khalil Computer Science & Engineering Department AUC s are considered as major components in almost all recent computer application systems, including business, management, engineering,

More information

BD - Databases

BD - Databases Coordinating unit: Teaching unit: Academic year: Degree: ECTS credits: 2018 270 - FIB - Barcelona School of Informatics 747 - ESSI - Department of Service and Information System Engineering BACHELOR'S

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Chapter 2: Intro. To the Relational Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS is Collection of

More information

Upon completion of this Unit, the students will be introduced to the following

Upon completion of this Unit, the students will be introduced to the following Instructional Objectives Upon completion of this Unit, the students will be introduced to the following The meaning of the term database. Meaning of the term Database Management System (DBMS). The typical

More information

CAS CS 460/660 Introduction to Database Systems. Fall

CAS CS 460/660 Introduction to Database Systems. Fall CAS CS 460/660 Introduction to Database Systems Fall 2017 1.1 About the course Administrivia Instructor: George Kollios, gkollios@cs.bu.edu MCS 283, Mon 2:30-4:00 PM and Tue 1:00-2:30 PM Teaching Fellows:

More information

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #1: Introduction

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #1: Introduction CS 4604: Introduction to Database Management Systems B. Aditya Prakash Lecture #1: Introduction Course Information Instructor B. Aditya Prakash, Torg 3160 F, badityap@cs.vt.edu Office Hours: 12noon-1pm

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

Department of Accounting & Law, School of Business. State University of New York at Albany. Acc 682 Analysis & Design of Accounting Databases

Department of Accounting & Law, School of Business. State University of New York at Albany. Acc 682 Analysis & Design of Accounting Databases Department of Accounting & Law, School of Business State University of New York at Albany Acc 682 Analysis & Design of Accounting Databases Welcome Welcome Administrivia Course Objectives Catalog Description

More information

Data Warehousing & Mining Techniques

Data Warehousing & Mining Techniques 2. Summary Data Warehousing & Mining Techniques Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de Last week: What is a Data

More information

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline B.C.A 2017-18 DATA BASE MANAGEMENT SYSTEM Course Outline MODULE SPECIFICATION SHEET This course introduces the fundamental concepts necessary for designing, using and implementing database systems and

More information

CS143: Relational Model

CS143: Relational Model CS143: Relational Model Book Chapters (4th) Chapters 1.3-5, 3.1, 4.11 (5th) Chapters 1.3-7, 2.1, 3.1-2, 4.1 (6th) Chapters 1.3-6, 2.105, 3.1-2, 4.5 Things to Learn Data model Relational model Database

More information

CS34800 Information Systems. Course Overview Prof. Walid Aref January 8, 2018

CS34800 Information Systems. Course Overview Prof. Walid Aref January 8, 2018 CS34800 Information Systems Course Overview Prof. Walid Aref January 8, 2018 1 Why this Course? Managing Data is one of the primary uses of computers This course covers the foundations of organized data

More information

EECS 647: Introduction to Database Systems

EECS 647: Introduction to Database Systems EECS 647: Introduction to Database Systems Instructor: Luke Huan Spring 2009 Queries for Today What is a database? What is a database management system? Why take a database course? Who will teach? How

More information

DATABASE MANAGEMENT SYSTEMS

DATABASE MANAGEMENT SYSTEMS DATABASE MANAGEMENT SYSTEMS E0 261 Prasad Deshpande, Jayant Haritsa Computer Science and Automation Indian Institute of Science AUG 2010 Slide 1 db@iisc AUG 2010 Slide 2 COURSES E0 261 (AUG) Database Management

More information

What s a database anyway?

What s a database anyway? Lecture 1 Databases TDA357/DIT620 Pablo Picazo pablop@chalmers.se What s a database anyway? Structured Persistant Changable Digital A database is True to integrity constraints DBMS Database == Data collection

More information

15CS53: DATABASE MANAGEMENT SYSTEM

15CS53: DATABASE MANAGEMENT SYSTEM 15CS53: DATABASE MANAGEMENT SYSTEM Subject Code: 15CS53 I.A. Marks: 20 Hours/Week: 04 Exam Hours: 03 Total Hours: 56 Exam Marks: 80 Objectives of the Course: This course will enable students to Provide

More information