An Overview of Database Management

Slides:



Advertisements
Similar presentations
Database Concepts Lec. 5. What Is a Database? Data are unprocessed raw facts that include text, number, images, audio, and video. Information is processed.
Advertisements

Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Ch1: File Systems and Databases Hachim Haddouti
1 Database Systems (Part I) Introduction to Databases I Overview  Objectives of this lecture.  History and Evolution of Databases.  Basic Terms in Database.
Introduction to Databases
1 Lecture 31 Introduction to Databases I Overview  Objectives of this lecture  History and Evolution of Databases  Basic Terms in Database and definitions.
Introduction to Database Management System
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 1 An Overview of Database Management. 1-2 Topics in this Chapter What is a Database System? What is a Database? Why Database? Data Independence.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Lecture Two Database Environment Based on Chapter Two of this book:
Chapter 4 Database Management Systems. Chapter 4Slide 2 What is a Database Management System (DBMS)?  Database An organized collection of related data.
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Management COP4540, SCS, FIU An Introduction to database system.
Chapter One Overview of Database Objectives: -Introduction -DBMS architecture -Definitions -Data models -DB lifecycle.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Page 1 Topic1 An overview of database and DBMS CPS510 Database Systems Abdolreza Abhari School of Computer Science Ryerson University.
CS462: Introduction to Database Systems. ©Silberschatz, Korth and Sudarshan1.2Database System Concepts Course Information Instructor  Kyoung-Don (KD)
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
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.
CS 435 Database Systems. Chapter 1 An Overview of Database Management.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
CS 474 Database Design and Application Terminology Jan 11, 2000.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Ch. 1 데이터베이스시스템 (2). Ch.1 Database System 데이터베이스시스템 2 What to Learn Database System Overview Entity-Relationship diagram Relational Data Model  Structure.
Database Design Chapter-1- Basic Concepts Reference:
- Ahmad Al-Ghoul Data design. 2 learning Objectives Explain data design concepts and data structures Explain data design concepts and data structures.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
Introduction to database system What is a Database system? What is a Database system? Data System Components Data System ComponentsDataHardwareSoftwareUser.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Chapter 2 Database Environment.
Data The fact and figures that can be recorded in system and that have some special meaning assigned to it. Eg- Data of a customer like name, telephone.
Database System Concepts Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction.
CHAPTER 1: INTRODUCTION Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Storage Management Database.
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Databases
Database Management.
Chapter 2 Database Environment.
An Introduction to database system
Chapter 1: Introduction
Chapter 2 Database System Concepts and Architecture
Fundamentals & Ethics of Information Systems IS 201
Chapter 4 Relational Databases
Introduction to Database System Prof. Dr. Amany Sarhan Computer and Control Engineering Faculty of Engineering Tanta University.
Translation of ER-diagram into Relational Schema
Introduction to Databases
Introduction to Databases
Chapter 2 Database Environment.
Introduction to Database Management System
Introduction to Database Systems
Chapter 2 Database Environment Pearson Education © 2009.
Basic Concepts in Data Management
Chapter 2 Database Environment.
Dr. Awad Khalil Computer Science Department AUC
Database Environment Transparencies
Introduction to Databases
Database Design Hacettepe University
Dr. Awad Khalil Computer Science Department AUC
Advanced Database System
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

An Overview of Database Management

An Example A database system Database Tables, records, SQL Operations A computerized record-keeping system Database A repository for a collection of computerized data files A kind of electronic filing cabinet Tables, records, SQL Operations Add, insert, retrieve, update, delete, remove ※Repository: 저장소, operation: 연산

The wine cellar database

Retrieval 검색 SELECT WINE, BIN#, PRODUCER FROM CELLAR WHERE READY=2000; Cab.Sanvignon 43 Windsor Pinot Noir 51 Stemmler Merlot 58 Clos Du Bois

Insert, update, delete 삽입, 갱신, 삭제 INTO CELLAR(BIN#, WINE, PRODUCER, YEAR, BOTTLES, READY) VALUES(53, ‘Pinot Noir’, ‘Saintsbury’, 1997, 6, 2001) UPDATE CELLAR SET BOTTLES =4 WHERE BIN# = 3; DELETE FROM CELLAR WHERE BIN# = 2;

What is a database system? A computerized record-keeping system Components Data H/W S/W Users ※Record-keeping: 기록유지관리

Data in database system Integrated Unification of several distinct files Ex) student files, book files Shared Being shared among different users with different purposes Ex) book tables among students and librarians ※Integrated: 통합된, Shared: 공유된

H/W in database system Secondary storage devices – disk Processor(s) and main memory to support the execution of the database system S/W ※secondary storage device: 이차저장장치

S/W in database system DBMS(database management system) Also known as database manager Database server The shielding of database users from hardware-level details Ex) Microsoft ACCESS, Microsoft SQL Server, MySQL, ORACLE, DB2, SQLite… ※shield: 방패

Users in database system Application programmers Write database application programs in some programming language such as C, C++, Java, Visual Basic, COBOL, … End users Use the system online thru interface Interface Built-in query language processor Command-driven interfaces Menu- or forms-driven interfaces DBA (database administrator) Creates and maintains database

What is a database? Database A collection of shared persistent data used by the application systems of some particular enterprise Persistent data Data that live long time Differ from short-lived data like input data, output data, intermediate results---transient in nature ※intermediate: 중간의

Example A manufacturing company – product data A bank – account data A hospital – patient data A university – student data A government department – planning data

Entities and relationships 개체, 관계성 A medium to represent database for an enterprise conceptually. Entities Independent, distinguishable objects Relationship Unary Binary Ternary ※unary:일진, Binary:이진, ternary:삼진

Example of E/R A manufacturing company: KnowWare Inc. Wants to record data about The projects on hand The parts used in the projects The suppliers who supply the parts The warehouses in which those parts are stored The employees who work on the projects  entities

Example of E/R There are relationships linking entities - bidirectional SP (suppliers and parts) Each supplier supplies certain parts Each part is supplied by certain suppliers PJ (projects and parts) Parts are used in projects Projects use parts WP (warehouse and parts) Parts are stored in warehouses Warehouses store parts ※Bidirectional: 양방향의

Ex) SP relationship *given a supplier, get the parts supplied by that supplier *given a part, get the suppliers who supply that part Entity/relationship diagram (E/R diagram for short)

Properties Entities and relationships can be regarded as having properties corresponding to the data we wish to record about them Ex) suppliers: name, city, … ※property: 특성

Why database? Advantages over paper-based method of record keeping Compactness No need for voluminous paper files Speed Less drudgery Elimination of maintaining files by hand Currency Accurate, up-to-date information Centralized control in multi-user environment ※drudgery: 힘들고 반복적인 일, currency: 최신

Benefits of database Data sharing Reduction of redundancy Not only existing applications but also new applications Reduction of redundancy Integration by DBA Controlled redundancy Avoidance of inconsistency Corollary of reduction of redundancy ※Redundancy: 중복성, corollary: 계, 당연한 결론

Benefits of database Transaction support Transaction: a logical unit of work Ex) transfer of money from account A to B Account A and B have to be updated What if crash occurs before update of account B? ※crash: 시스템 고장

Benefits of database Integrity Security Data in the database is accurate Security Having the complete jurisdiction over the data by DBA Ensure proper channels to access DB Define security rules for sensitive data (read, write, modify) ※integrity: 무결성, jurisdiction: 관할권

Benefits of database Balancing conflicting requirements Standards Ex) Internal storage method of data For fast access for the most important applications : eg. Index structure slower access for certain other applications : eg. sequential file structure Standards Representation of data Aid to data interchange or migration between systems ※sequential file: 순차파일

Benefits of database Data independence Separation of physical and logical aspect of database DBA can change physical storage structure and access strategy without having to modify existing applications ※access-strategy: 액세스방법