Tools for Memory: Database Management Systems

Slides:



Advertisements
Similar presentations
Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Advertisements

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.
Database Management COP4540, SCS, FIU An Introduction to database system.
Introduction to Data bases concepts
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
CSC2012 Database Technology & CSC2513 Database Systems.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
1 Introduction to databases concepts CCIS – IS department Level 4.
Module Title? DBMS Introduction to Database Management System.
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Database System Concepts and Architecture
Introduction to Database Systems
Introduction to Database Systems Fundamental Concepts Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
FEN Introduction to the database field:  Applications, concepts and terminology Seminar: Introduction to relational databases.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
Chapter-1- Basic Concepts Reference: Prof. Mona Mursi Lecture notes
ASET 1 Amity School of Engineering & Technology B. Tech. (CSE/IT), III Semester Database Management Systems Jitendra Rajpurohit.
Chapter 1: Introduction. 1.2 Database Management System (DBMS) DBMS contains information about a particular enterprise Collection of interrelated data.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
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:
Fundamental of Database Systems
Introduction to DBMS Purpose of Database Systems View of Data
- The most common types of data models.
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Databases and Database Users
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
“Introduction To Database and SQL”
Database Management.
COP Introduction to Database Structures
Chapter 2 Database Environment.
An Introduction to database system
Chapter 1: Introduction
Chapter 1: Introduction
Unit 1: INTRODUCTION Database system, Characteristics Database Users
Database Management:.
Chapter 1: Introduction
Fundamentals & Ethics of Information Systems IS 201
Lecture 1 Introduction to Database
Introduction to Database Systems
9/22/2018.
Principles of GIS Fundamental database concepts Shaowen Wang
Chapter 2 Database Environment.
Introduction lecture1.
“Introduction To Database and SQL”
Chapter 2 Database Environment Pearson Education © 2009.
Basic Concepts in Data Management
Chapter 2 Database Environment.
Data Base System Lecture : Database Environment
MANAGING DATA RESOURCES
Database.
Data Model.
Introduction to DBMS Purpose of Database Systems View of Data
Database and Database Management System (DBMS)
Database Management Systems
UNIT-I Introduction to Database Management Systems
Chapter 1: Introduction
Chapter 2 Database Environment Pearson Education © 2014.
DATABASE TECHNOLOGIES
Chapter 1: Introduction
Database System Concepts and Architecture
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

Tools for Memory: Database Management Systems Susan D. Urban School of Computing and Informatics Department of Computer Science and Engineering Arizona State University 9/22/2018 CPI 101

What is a Database? A database is a structured collection items that is used for the operation of an enterprise Financial data Customer information Sales records Maps and directions Medical records Scientific and biological data Historical data A database supports Correctness and integrity of data Integrated retrieval of related data Concurrent user access to shared data Analysis and decision making Data mining and discovery Security of data 9/22/2018 CPI 101

Types of Data Textual Numeric Image Audio Video Geographic 9/22/2018 CPI 101

What is a Database Management System? A database management system (DBMS) is the software that assists in the creation and maintenance of a database as well as the retrieval of data. A DBMS includes A data model and data definition language (DDL) for specifying a database schema (i.e., the types, structures, and constraints on the data to be stored) A database catalog for storing the database schema. A data manipulation language (DML) for creating and maintaining the database (i.e., inserting, modifying, and deleting data) A query language for retrieving data. A transaction processing system for running application programs Other features to ensure security and integrity of the data 9/22/2018 CPI 101

Implementation Schema DBMS Architectures User View 1 User View 2 User View N Conceptual Schema Data Abstraction Logical Data Independence Implementation Schema Physical Data Independence DBMS 9/22/2018 CPI 101

Different Types of Database Systems Legacy Systems (originated in the 1960’s) Hierarchical Network Relational Database Systems Models data in the form of tables Accounts for the majority of new database projects A $14 billion industry Object-Oriented Database Systems Models data using object-oriented concepts Object-Relational Database Systems Extends relational database systems with object-oriented features Geographic Database Systems Databases specifically for modeling 3D, geographic data Multimedia Database Systems Databases for modeling data in different forms (audio, video, image) 9/22/2018 CPI 101

Relational Database Products Commercial Oracle 10g IBM DB2 Microsoft Access Microsoft SQL Server Informix Sybase Open Source MySQL Ingres PostgreSQL Berkeley DB Cloudscape/Derby 9/22/2018 CPI 101

Data Models and the Database Design Process A database is initially designed by using a conceptual data model. A conceptual data model is DBMS-independent Provides a more logical way of viewing data A conceptual design can then be mapped to DBMS-dependent models. The DBMS handles the internal implementation details of the representation. 9/22/2018 CPI 101

Relationship Between Data Modeling Concepts Database Models Implementation Models Functional Model Conceptual Data Models Legacy Relational Object-Oriented Binary Entity-Relationship Semantic Network Hierarchical Object-Relational Enhanced Entity- Relationship Model Unified Modeling Language Class Diagrams 9/22/2018 CPI 101

Conceptual Modeling with the Entity-Relationship Model 9/22/2018 CPI 101

The Relational Data Model Develop by Ted Codd at IBM in 1970 Models data in the form of tables. Tables are based on the theoretical concept of mathematical relations set theory first-order predicate logic Uses SQL as a declarative query language for data retrieval Describes what you want to retrieve and not how to retrieve it (the DBMS figures out the “how to” part for you) 9/22/2018 CPI 101

Relational Database Concepts Column/Attribute Table/Relation ID Name Addr Phone Age Row/Tuple 123 Joe Phx 9991 30 124 Sue Phx 8888 29 125 Ann Mesa 7772 25 Each column has a specific domain (integer, string, real, etc.) 9/22/2018 CPI 101

Relational Database Example Course: crsid, cname, inst, length Takes: id, crsid, date Dept: dnum, dname, mgrid Emp: id, name, sal, dnum Names in bold are primary keys. Names in italics are foreign keys used to define relationships between tables. These relationships help to support meaningful queries over the data. 9/22/2018 CPI 101

SQL (Structured Query Language) Find the name of the department that each employee works in. select name, dname from emp, dept where emp.dnum = dept.dnum Find the average salary of employees in each department Select dnum, avg(sal) from emp group by dnum order by dnum 9/22/2018 CPI 101

Data Import and Export Data Import – Getting large amounts of data into the database Data export – Getting large amounts of data out of the database Import and export is often needed to transport data from one database to another XML (Extensible Markup Language) has become a standard for data transport. Most current database systems are XML-enabled, providing a way to import and export data using XML and to query XML data types. 9/22/2018 CPI 101

XML Example <employees> <emp> <id>123</id> <name>Joe</name> <sal>30K</sal> <dnum>D1<dnum> </emp> …. </employees> More about this next week….. 9/22/2018 CPI 101

Distributed and Internet-Scale Database Systems Semistructured Data Structured Data DB XML … Query? DB Querying data from different data sources in an integrated manner is a challenging task for the area of information science! Unstructured Data 9/22/2018 CPI 101