CS457/557 Introduction – Chapters 1-2. Relevance of Databases DBs are a part of most decisions in an enterprise – Traditional DBs – Operational – Data.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Chapter 2 Database System Concepts and Architecture
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
ICS (072)Database Systems: A Review1 Database Systems: A Review Dr. Muhammad Shafique.
Introduction to Databases
--What is a Database--1 What is a database What is a Database.
CS1001 Lecture 26. Overview Artificial Intelligence Artificial Intelligence Database Systems Database Systems.
Introduction to Databases Transparencies
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Databases and Database Users
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Database System Concepts and Architecture Dr. Ali Obaidi.
Introduction and Conceptual Modeling
Chapter 1: The Database Environment
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.
Introduction to Databases
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 Database
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 1 - Introduction: Databases and Database Users - Outline Types of Databases and.
Metadata – Threats, PII at RISK ? Sudesh Gadewar.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Module Title? DBMS Introduction to Database Management System.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 2: Database System Concepts and Architecture - Outline Data Models and Their.
Chapter 2 CIS Sungchul Hong
Chapter 1 Introduction to Databases Pearson Education ©
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
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
Ihr Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Chapter 2 Database System Concepts and Architecture.
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
ICS (072)Database Systems: An Introduction & Review 1 ICS 424 Advanced Database Systems Dr. Muhammad Shafique.
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.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Databases and Database Users.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
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.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
DatabaseCSIE NUK1 Fundamentals of Database Systems Chapter 1 Database and Database Users.
1 Chapter 1 Introduction to Databases Transparencies.
DBMS_Week 3-4 DBMS. Three-Schema Architecture – Internal schema (one view) describes physical storage structures access paths, indexes used Typically.
DataBase System Concepts and Architecture
INFO 340 Lecture 2 Intro to Databases. Book –Need it –Order individually through UW Bookstore –Or Amazon.
Chapter 2 Database Environment.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Chapter 1 Databases and Database Users. Overview Traditional database applications Store textual or numeric information Multimedia databases Store images,
What is a database? (a supplement, not a substitute for Chapter 1…) some slides copied/modified from text Collection of Data? Data vs. information Example:
Databases (CS507) CHAPTER 2.
Databases and DBMSs Todd S. Bacastow January 2005.
Database Management.
Chapter 2: Database System Concepts and Architecture - Outline
Outline Types of Databases and Database Applications Basic Definitions
Database and Database Users
Database System Concepts and Architecture
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2 Database Environment Pearson Education © 2009.
Data, Databases, and DBMSs
Database System Concepts and Architecture
Terms: Data: Database: Database Management System: INTRODUCTION
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

CS457/557 Introduction – Chapters 1-2

Relevance of Databases DBs are a part of most decisions in an enterprise – Traditional DBs – Operational – Data Warehouses – Decision Support – NoSQL DBs – Information

Databases Databases play a critical role in? – Business, medicine, industry, etc., – everything? Databases can be? – Traditional, XML, Object-relational, multimedia, real-time, Web, VERY large What databases have you used recently?

Data vs. Databases Data – Recorded known facts, implicit meaning Database (DB) – Collection of related data – Logically coherent – Represents mini-world – Designed, built for specific purpose – Intended user group – Preconceived applications

DBMS Database Management System (DBMS) – Software – Create and maintain a DB – Define types of data – Store on disk controlled by DBMS – Manipulate data

DBMS cont’d Why a DBMS? – Program-data independence – Data abstraction – Conceptual representation – Meta data – Share data – Multiple views – Transaction processing – Higher overhead Fig. 2.3 and increased complexity So why use a DBMS?Fig. 2.3 – OPTIMIZATION

Definitions Database System DBS – Data + DBMS DBS – Schema (meta-data) - DB description, schema diagram Fig 2.1Fig 2.1 – Instance (actual data) Fig initially emptyFig schema architecture Fig 2.2 Fig 2.2 – External view – Conceptual – structure of DB, hides physical – Internal – physical storage access paths

Data Model D escribes the structure records, types, relationships, constraints, basic operations DBMS based on data model Types: – High-level (conceptual) - ER, UML, OO – Low level (physical) - XML – Implementation (representational) combines conceptual and physical – Relational – NoSQL data models – Column, key-value, document stores

DBMS Languages DDL - data definition language DML - data manipulations language – High-level, nonprocedural – Set at a time – Interactive or embedded (host language) SQL most common/popular DB Language

DBMS Software to create, query, manipulate data in the database Based on a particular data model Allows for program-data independence Provides language to define, manipulate data Contains meta data

Meta Data Data about the data “Metadata is structured information that describes, explains, locates, or otherwise makes it easier to retrieve, use, or manage an information resource.” NISO

Meta Data Three categories of meta data (books as example): – Structural metadata: A way to define how objects are put together, for example, how pages are ordered to form chapters. – Administrative metadata: Information to help manage a resource, such as when and how it was created, types, and who has access – Descriptive metadata: A resource for discovery and identification, including elements such as title, abstract, author, and keywords.

Meta Data Structural – Student (Name, CWID, address, GPA, major) Administrative – Owner of data? Account#, when created, modified Descriptive: – Everything but the content – constraints, max/min values?

Meta Data Metadata associated with mobile phones: – Phone number of every caller – Time of call – Duration of call – Serial numbers of phones involved – Location of each participant – Telephone calling card numbers

Meta Data – According to the Guardian Metadata associated with s: – Sender's name, , and IP address – Recipient's name and address – Date, time, and time zone – Mail client header formats – Unique identifier of and related s – Mail client login records with IP address – Subject of

Meta Data Metadata associated with Facebook: – Username and unique identifier – User subscriptions – User device – Activity date, time, and time zone – User location – Username and profile bio information including: Birthday Hometown work history interests

Meta Data Metadata associated with web browsers: – Activity including pages the user visits and when visited – User data and possibly user login details with auto-fill features – User IP address, internet service provider, device hardware details, operating system, and browser version – Cookies and cached data from websites

Meta Data What about medical records?

Additional Characteristics Interfaces Actors – DBA – Designers – Users Naïve or parametric - same info each time Casual - different info each time Sophisticated - implement own applications using databases Standalone – personal DBs using ready-made packages that store personal data

DB classifications Single-user vs. multi-user Centralized vs. distributed Homogeneous vs. heterogeneous Federated DBMS, multidatabase system

DBS Utilities Loading – into DB, conversion tools Backup – copy on durable mass storage DB storage reorganization – of files to better performance Performance Monitoring – to reorganize, etc.

Extending traditional (relational) databases Need for more complex databases Images, videos, scientific Object-oriented databases Data mining (decision support systems), spatial Data on the web for e-commerce – XML Non or semi-structured data Databases for cloud computing

Application packages Software packages work with database backends (>1 database) Web enabled Examples – Enterprise Resource Planning (ERP) Integrate data and processes of organization Production, sales, distribution, marketing, finance, human resources, etc. – Customer Relationship Management (CRM) Integrate customer information Marketing and customer support

Information Retrieval IR Databases traditionally used for – Banking, insurance, retail, finance, manufacturing, payroll Information retrieval used for – Books, manuscripts, library Searching based on key-words document processing – keywords, categorization, ranking documents

Information Retrieval IR Advent of web, IR is exciting again! – Web pages have active objects, change dynamically – New strategies needed Big Data NoSQL

DB Management Issues This course 457/557 – Design/Model DBs Weird course – theory + applications – Relational: Query DBs, Algebra, Normalization We will use Oracle, MySQL – Intro to: Security, performance, transactions, NoSQL Grad course 609 – Redundancy – Integrity constraints and concurrency control (transactions) – Backup and recovery – In depth: performance, NoSQL