Christoph F. Eick Introduction Data Management Today 1. Introduction to Databases 2. Questionnaire 3. Course Information 4. Grading and Other Things.

Slides:



Advertisements
Similar presentations
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Advertisements

Relational Database. Relational database: a set of relations Relation: made up of 2 parts: − Schema : specifies the name of relations, plus name and type.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
Introduction to Database Systems Ch. 1, Ch. 2 Mr. John Ortiz Dept. of Computer Science University of Texas at San Antonio.
Fundamentals, Design, and Implementation, 9/e SI654 Database Application Design Instructor: Dragomir R. Radev Winter 2005.
SPRING 2004CENG 3521 The Relational Model Chapter 3.
1 IS380 Class Agenda 01/11/05 Sock H. Chung 1.Syllabus 2.Chapter 1 3.Introduction 4. Request.
1 541: Database Systems S. Muthu Muthukrishnan. 2 Preliminaries  CS541. Thursdays 5 – 8 PM, CORE A. Course webpage:
1 Relational Model. 2 Relational Database: Definitions  Relational database: a set of relations  Relation: made up of 2 parts: – Instance : a table,
1 CENG 302 Introduction to Database Management Systems Nihan Kesim Çiçekli URL:
Databases and Database Management System. 2 Goals comprehensive introduction to –the design of databases –database transaction processing –the use of.
Department of Computer Sciences Bahria University (Karachi Campus)
Christoph F. Eick Introduction File and Database Systems First 4 Weeks 1. Introduction to Databases 2. Course Information 3. Grading and Other Things 4.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
The Relational Model These slides are based on the slides of your text book.
CSC2012 Database Technology & CSC2513 Database Systems.
Slide Dr. Almetwally Mohamad Mostafa spx is335.
Relational Data Model, R. Ramakrishnan and J. Gehrke with Dr. Eick’s additions 1 The Relational Model Chapter 3.
Chapters 17 & 18 Physical Database Design Methodology.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Course Title Database Technologies Instructor: Dr ALI DAUD Course Credits: 3 with Lab Total Hours: 45 approximately.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) Introduction James Wang.
Database Organization and Design
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Jan /3 Yangjun Chen1 Welcome to Database Course.
CS525 DATA MINING COURSE INTRODUCTION YÜCEL SAYGIN SABANCI UNIVERSITY.
SQL Structured Query Language Programming Course.
INFS614, Dr. Brodsky, GMU1 Database Management Systems INFS 614 Instructor: Professor Alex Brodsky
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
1 The Relational Model. 2 Why Study the Relational Model? v Most widely used model. – Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc. v “Legacy.
FALL 2004CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
Data Warehousing/Mining 1 Data Warehousing/Mining Comp 150DW Course Overview Instructor: Dan Hebert.
Christoph F. Eick Introduction Data Management This Week 1. Introduction to Databases 2. Course Information 3. Grading and Other Things 4. Questionnaire.
DatabaseCSIE NUK1 Fundamentals of Database Systems Wen-Yang Lin Dept. of Computer Science and Information Engineering National University of Kaohsiung.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
COSC 3480 News and Activities Spring COSC 3480 Lab, Christoph F. Eick 2 COSC 3480 Tentative Schedule  Exam1: Tu., Feb. 28, 2006  Exam2: Th., April.
The Relational Model Content based on Chapter 3 Database Management Systems, (Third Edition), by Raghu Ramakrishnan and Johannes Gehrke. McGraw Hill, 2003.
1 TOPIC 6 DATABASE 6.1 Introduction to Database 6.2 Basic Concept of Database 6.3 Database Object DATABASE.
COSC 6340 Projects & Homeworks Spring Learn how to define tables Learn how to load and create an Oracle database Learn how to define user views.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Database Management Systems.  Instructor: Yrd. Doç. Dr. Cengiz Örencik   Course material.
Advanced Databases COMP3017 Dr Nicholas Gibbins
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
Advanced Database Course Syllabus 1 Advanced Database System Lecturer : H.Ben Othmen.
1 CS122A: Introduction to Data Management Lecture #4 (E-R  Relational Translation) Instructor: Chen Li.
CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
Christoph F. Eick: Final Words COSC Topics Covered in COSC 3480  Data models (ER, Relational, XML)  Using data models; learning how to store real.
Database Systems – (
Yonsei University 2nd Semester, 2017 Sanghyun Park
CSE202 Database Management Systems
Information Modeling and Database System
CF 1334 Sistem Basis Data (3 SKS)
Diskusi-08 Jelaskan dan berikan contoh penggunaan theta join, equijoin, natural join, outer join, dan semijoin The slides for this text are organized into.
Database Management Systems
Course Introduction 공학대학원 데이타베이스
Introduction Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe.
Instructors: Churee Techawut
Latihan Answer the following questions using the relational schema from the Exercises at the end of Chapter 3: Create the Hotel table using the integrity.
Latihan Create a separate table with the same structure as the Booking table to hold archive records. Using the INSERT statement, copy the records from.
Translation of ER-diagram into Relational Schema
COSC 6340 Projects & Homeworks Spring 2002
From ER to Relational Model
Topics Covered in COSC 6340 Data models (ER, Relational, XML (short))
The Relational Model Relational Data Model
Topics Covered in COSC 6340 Data models (ER, Relational, XML)
The Relational Model The slides for this text are organized into chapters. This lecture covers Chapter 3. Chapter 1: Introduction to Database Systems Chapter.
Introduction to Database Systems
COSC 3480 Projects & Homeworks Fall 2003
Presentation transcript:

Christoph F. Eick Introduction Data Management Today 1. Introduction to Databases 2. Questionnaire 3. Course Information 4. Grading and Other Things

Christoph F. Eick Introduction Data Management Spring 2003 Schedule COSC 6340  Exams:  Undergraduate Material Review Exam: Th., Feb. 13 (in class)  Midterm Exam: Tu., March 25 (in class)  Final Exam: Tu., May 6, 11a  Qualifying Exam Part2: Fr.,. May 9, 10:30-noon  Project and Graded Home Works  Project1(Feb. 15-March 15), Project2 (March 30-April 20), Homework1 (deadline: Feb. 27; March 11), Homework2 (deadline: April 17)  Last day of lecture: Th., April 24, 2003  Spring Break: March 4+6

Christoph F. Eick Introduction Data Management Elements of COSC 6340  I: Basic Database Management Concepts --- Review of basic database concepts, techniques, and languages (4 weeks, Chapters 1-5, 7-11, and 18 of the textbook).  II: Implementation of Relational Operators and Query Optimization (Chapters 12+13, 1.5 weeks)  III: Relational Database Design (1.5 weeks, chapters 15+16,)  IV: Introduction to KDD and Making Sense of Data (Chapters 1, 2, 6, and 7 of the Han/Kamber book centering on data warehouses, OLAP, and data mining). 3 weeks  V: Object-oriented Databases, PL/SQL, Object-relational Database Systems, and SQL3 (1.5 weeks; other material)  VI: Internet Databases and XML (1 week, chapter 22 of the textbook and other teaching material)

Christoph F. Eick Introduction Data Management Textbooks for COSC 6340  Required Text: Raghu Ramakrishnan and Johannes Gehrke, Data Management Systems, McGraw Hill, Third Edition, 2002 (complication: the chapter numbers in the new edition are different!!)  Recommended: Jiawei Han and Micheline Kamber, Data Mining: Concepts and Techniques, Morgan Kaufman Publishers, 2001, ISBN (4 chapters will be covered)  Other books with relevant material: Ramez Elmasri and Shamkant Navathe, Fundamentals of Database Systems, Third Edition Addison Wesley ISBN:

Christoph F. Eick Introduction Data Management Schedule for Part1 of COSC 6340  Jan. 14: Introduction to COSC 6340  Fast Review of Undergraduate Material (Jan. 16-Feb. 13)  Jan. 16: Entity-Relationship Data Model  Jan. 21: Entity-Relationship Data Model  Jan. 23: Relational Data Model  Jan. 28: Mapping E/R to Relations  Jan. 30: Files, B+-trees, and hashing (chapter 8, 9, 10)  Feb. 4: Files, B+-trees, and hashing (chapter 8, 9, 10)  Feb. 6: Relational Algebra and SQL (very brief!!)  Feb. 11: Transaction Management (chapter 18)  Feb. 13: Exam0 (Undergraduate Review Exam)

Christoph F. Eick Introduction Data Management Why are integrated databases popular?  Avoidance of uncontrolled redundancy  Making knowledge accessible that would otherwise not be accessible  Standardization --- uniform representation of data facilitating import and export  Reduction of software development (though the availability of data management systems) Integrated Database Bookkeeping Device Car Salesman

Christoph F. Eick Introduction Data Management Popular Topics in Databases  Efficient algorithms for data collections that reside on disks (or which are distributed over multiple disk drives, multiple computers or over the internet).  Study of data models (knowledge representation, mappings, theoretical properties)  Algorithms to run a large number of transactions on a database in parallel; finding efficient implementation for queries that access large databases; database backup and recovery,…  Database design  How to use database management systems as an application programmer / end user.  How to use database management systems as database administrator  How to implement database management systems  Data summarization, knowledge discovery, and data mining  Special purpose databases (genomic, geographical, internet,…)

Christoph F. Eick Introduction Data Management Data Model Schema (defines a set of database states) Current Database State is used to define

Christoph F. Eick Introduction Data Management Schema for the Library Example using the E/R Data Model Many-to-Many1-to-11-to ManyMany-to-1 title author B# when phone name ssn Check_out Person Book (0,35)(0,1)

Christoph F. Eick Introduction Data Management Relational Schema for Library Example in SQL/92 CREATE TABLE Book (B# INTEGER, title CHAR(30), author CHAR(20), PRIMARY KEY (B#)); CREATE TABLE Person (ssn CHAR(9), name CHAR(30), phone INTEGER, PRIMARY KEY (ssn)); CREATE TABLE Checkout( book INTEGER, person CHAR(9), since DATE, PRIMARY KEY (B#), FOREIGN KEY (book) REFERENCES Book, FOREIGN KEY (person) REFERENCES Person));

Christoph F. Eick Introduction Data Management Referential Integrity in SQL/92  SQL/92 supports all 4 options on deletes and updates.  Default is NO ACTION (delete/update is rejected)  CASCADE (also delete all tuples that refer to deleted tuple)  SET NULL / SET DEFAULT (sets foreign key value of referencing tuple) CREATE TABLE Enrolled (sid CHAR (20), cid CHAR(20), grade CHAR (2), PRIMARY KEY (sid,cid), FOREIGN KEY (sid) REFERENCES Students ON DELETE CASCADE ON UPDATE SET DEFAULT )

Christoph F. Eick Introduction Data Management Example of an Internal Schema for the Library Example INTERNAL Schema Library12 references Library. Book is stored sequentially, index on B# using hashing, index on Author using hashing. Person is stored using hashing on ssn. Check_out is stored sequentially, index on since using B+-tree.

Modern Relational DBMS Modern DBMS Modern DBMS Support for Web-Interfaces, XML, and Data Exchange Efficient Implementation of Queries (Query Optimization, Join & Selection & Indexing techniques) Transaction Concepts; capability of running many transactions in parallel; support for backup and recovery. Support for special Data-types: long fields, images, html-links, DNA-sequences, spatial information,… Support for higher level user interfaces: graphical, natural language, form-based,… Support for OLAP and Data Warehousing Support for Data Mining operations Support for OO; capability to store operations Support for data- driven computing