Introduction1 Principles of Database Systems With Internet and Java Applications Today’s Topic Course Introduction Instructors name and contact info goes.

Slides:



Advertisements
Similar presentations
CIT 381 What are databases? What are (R)DBMSs? How do we use/access databases? WWW and databases (client server) Who works with databases? History of databases.
Advertisements

--What is a Database--1 What is a database What is a Database.
Chapter 2 Database Environment.
Copyright © 2003 Addison-Wesley Your name here. Copyright © 2003 Addison-Wesley Overview of Information Systems What is the Internet? Why are databases.
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Introduction to Databases Transparencies
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Databases and Database Users
Chapter 2 Database Environment Pearson Education © 2014.
INTRODUCTION TO DATABASES
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Lecture Two Database Environment Based on Chapter Two of this book:
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
DBMS1 Database Management System (DBMS) Introductory Concepts Week-1.
Database System Concepts and Architecture Dr. Ali Obaidi.
Introduction and Conceptual Modeling
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.
Overview Thanks to Dr. Raj and Dr. Liu for sharing course materials; also S. Miner from Gordon College Database Concepts.
Introduction to Database Systems 1.  Assignments – 3 – 9%  Marked Lab – 5 – 10% + 2% (Bonus)  Marked Quiz – 3 – 6%  Mid term exams – 2 – (30%) 15%
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality.
Introduction to Data bases concepts
Introduction to Database
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
1 Introduction to databases concepts CCIS – IS department Level 4.
Module Title? DBMS Introduction to Database Management System.
Course Introduction Introduction to Databases Instructor: Joe Bockhorst University of Wisconsin - Milwaukee.
Chapter 2 CIS Sungchul Hong
Database and Database Users. Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS.
Web-Enabled Decision Support Systems
CSC271 Database Systems Lecture # 4.
Database System Concepts and Architecture Lecture # 2 21 June 2012 National University of Computer and Emerging Sciences.
Database System Concepts and Architecture
Introduction: Databases and Database Users
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
2. Database System Concepts and Architecture
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Database Environment Session 2 Course Name: Database System Year : 2013.
1-1 Chapter 1 Databases and Database Users 1.1 Introduction 1.2 An Example 1.3 Characteristics of the Database Approach 1.4 Actors on the Scene 1.5 Workers.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
1 Chapter 1 Introduction to Databases Transparencies.
Copyright © 2003 Addison-Wesley Timeline for Database Systems Developments before 1960 transition from punched card and tape 1960s, from file management.
Introduction HNDIT DBMS 1. Database Management Systems Module code HNDIT Module title Database Management Systems Credits2HoursLectures15.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
DataBase System Concepts and Architecture
Introduction to Databases
Chapter 2 Database Environment.
1 Chapter 2 Database Environment Pearson Education © 2009.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Computer Science Centre University of Indonesia Chapter 1 Database & Database Users.
Chapter 1: Introduction. 1.2 Database Management System (DBMS) DBMS contains information about a particular enterprise Collection of interrelated data.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
CS4222 Principles of Database System
Database Management:.
Database Management System
9/22/2018.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Introduction to Database Management System
MANAGING DATA RESOURCES
Presentation transcript:

Introduction1 Principles of Database Systems With Internet and Java Applications Today’s Topic Course Introduction Instructors name and contact info goes here. Please see the notes pages for additional comments.

2 Outline of Course  Study of principals and techniques of databases  Grades assigned as in information sheetinformation sheet  Examples of use of databases  Programming projects in database design and implementation –Programming in Microsoft Access –Programming in Java with Oracle –Development of a web site with database support  Course notes in  Homework 1 due Homework 1

3 Textbook and class meetings  Principles of Database Systems With Internet and Java Applications –by Greg Riccardi –copyright 2001, Addison-Wesley  Lectures and recitations

4 Students’ Role in Class  Attend class, please. –The class notes are available, but they are not the full classroom experience –Recitation sections are provided to personalize and enhance your learning environment –You are paying for this, take advantage of it  Read the book. –There are many topics covered in the text, but not the lectures –There are many details and examples in the text  Get copies of lecture notes –Available the night before class  Seek help during office hours

5 Current Events  Each lecture will cover current events that affect the database industry  Please bring info to lectures and recitations  Today –Las Vegas Consumer Electronics Show –Tallahassee Democrat Online –New York Times technology

6 Why Study Files and Databases?  Next few slides address the following –Importance of Databases to Economy Can you get a job in the database field? –Representation of Information Add meaning to data –Management of Complexity Divide system into layers, focus on data –Management of Access and Security –Efficiency of Access and Storage Separate data, allow optimizations

7 Importance of Databases to Economy  Expanding use of databases in retail sales –Walmart, retail sales information tracking –LL Bean, catalog sales information tracking  Examples of analyses –Sales of items Comparisons between daily totals of items sold and items in inventory Seasonal variations in sales of specific and similar items Relative sales of similar items with different features –Market-basket collections (all items in a single purchase) Average and variation in total purchase amount Average and variation in number and price of items Correlation between sales of items in a single purchase –Customer analysis Behavior of average customer Preferences of individual customers

8 Importance of Database Companies  Oracle is the 2 nd largest software company –It’s stock has outperformed S&P 500 and Microsoft –This picture is the stock performance, as shown on the BigCharts Web site from July, 1999 to July, 2000

9 E commerce  Companies are fighting for the market –See Oracle Web site –See IBM Web site  XML and XSL at Microsoft – – – RL=/library/techart/fm2koffice.htmhttp://msdn.microsoft.com/isapi/msdnlib.idc?theU RL=/library/techart/fm2koffice.htm

10 Representation of Information  Data is collections of bits –physical database  Information is data with meaning –logical database  Representation of meta-data –database system is self-describing  Database Management System (DBMS) –define information content –construct database –manipulate by queries, reports and updates –data plus software

11 Management of Complexity  Insulation between programs and data –Program-data independence –Program-operation independence –Data abstraction conceptual model for users physical model for administrators –Sharing data and multi-user transactions  People –Database administrators –Database designers –Applications programmers –End users

12 Management of Access and Security  Controlling redundancy –inconsistency and duplication  Restricting unauthorized access  Enforcing integrity constraints  Providing backup and recovery  Persistent storage for program objects

13 Efficiency of Access and Storage Cost of Access for Seagate Cheetah Disk  Seek time –Move access arm to the cylinder –Avg 6 msec, min 0.6 msec  Rotational delay –1000 rpm, one revolution per 6 millisecond –Average 3 msec  Total latency max 12 msec, avg 9 msec  Transfer rate –24 Mbytes/sec  Speed of memory access, Athlon 750 mhz –Latency <100 nanosecond, 10,000 times faster than disk –Transfer rate 1.6 GBytes/sec, 7 times faster than disk

14 Hierarchical Cost of Storage  Registers and Cache are fixed size  Primary storage, memory (RAM) limited by hardware –1000 Mbytes per CPU  Secondary storage, disk, also limited by hardware –100 Gbytes per CPU  Tertiary storage, tape, etc. limited by storage volume

15 Vocabulary  Glossary of terms  Define the terms as used in this subject –Database literature is filled with terms  Example of terms –Data, bits –Information, bits with meaning (type) –Entity –Schema

16 Client-server computing  Examples from web sites –New York TimesNew York Times –PricewatchPricewatch  Industry movement

17 What is a Database?  Database is a collection of data –data is known facts with implicit meaning –database is logically coherent, organized. –database is designed, built and populated for a specific purpose.  Database management system –collection of programs which support creation and maintenance of databases.

18 Time Line for Database Systems  before 1960 transition from punched card and tape  1960s, from file management to databases –Bachman (GE) IDS and data structure diagrams –IMS from IBM, Hierarchical Data Model –IMS DB/DC, Network Model and communication –SABRE, multi-user access with network  1970s, CODASYL and Relational Model –Codd (IBM) Relational Model –Chen introduced Entity Relationship Model –Query languages developed (SQL)  1980s, Client/Server DBs, Oracle, DB2 –PC databases, DBase, Paradox, etc. –SQL standard for definition and manipulation  1990s, web-based information delivery –Trends: expert DBs, object DBs, distributed DBs

19 Concepts and Architecture  Data Model is a set of concepts that can be used to describe the structure of a database –data types, relationships, and constraints –basic operations, for retrieval and updates –user-defined operations, behavior  3 types of data models –High level or conceptual model entities,attributes, and relationships –low-level or physical model record formats, indexes and access paths –representational or implementation model record structures or object models

20 Data Modeling  A data model is a specification of the information content of a system –conceptual data model describes information in terms the users will understand –logical data model describes information in a way that can be used to build a database –physical data model describes information in terms of its representation in physical storage

21 Schemas and Instances  Schema is the structure of a database –intention or meaning of the data –data models are schemas –table definitions are schemas –class definitions are schemas  Instances are the contents of a database –extension or values of the data –objects are instances –objects in a database are typically rows in a table

22 Levels of database schemas  Different schemas are presented to different users

23 Data Independence  Logical data independence –Change in conceptual schema does not require change in external schemas –Expand or contract database with no change to external applications –View mappings must be changed  Physical data independence –Change in internal schema does require change in conceptual schema –Reorganize the file and index structure, especially for improved performance –Conceptual mapping must be changed

24 Database Languages  DDL, data definition language, conceptual schema –describe conceptual schemas  SDL, storage definition language, internal schema –describe file structures, indexes  VDL, view definition language, external schema  DML, data manipulation language –High-level or non-procedural (e.g. SQL) Select Last Name from Roster where Section = 2 –Low-level or procedural For r in Roster loop if r.section = 2 then result.Add ( r.lastname );

25 Examples of Use of Microsoft Access  In class, –Sample from Homework 1 –Sample of class roster –Queries –Reports –Use of Access to create interfaces