ECE 8443 – Pattern Recognition ECE 3822 – Software Tools For Engineers Topics: Definitions and Terminology Abstraction Schema Tables Types of Databases.

Slides:



Advertisements
Similar presentations
Database Fundamentals
Advertisements

Chapter 10: Designing Databases
Database Systems: Design, Implementation, and Management Tenth Edition
UNIVERSITY OF PALESTINE business computer application College of Business Instructor: Mr. Ahmed Abumosameh.
Introduction to Databases
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Chapter 3 Database Management
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
12 CHAPTER DATABASES Databases are the key to accessing information throughout our lives. Used in hospitals, grocery stores, schools, department stores,
File Systems and Databases
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Teleprocessing.
3-1 Chapter 3 Data and Knowledge Management
Ch1: File Systems and Databases Hachim Haddouti
Introduction to Databases Transparencies
File Systems and Databases Hachim Haddouti
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Databases Chapter 11.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Design and Introduction to SQL
IST Databases and DBMSs Todd S. Bacastow January 2005.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Al-Bahra bin Ladjamuddin.B POSTGRADUATE PROGRAM (MTI) - STMIK RAHARJA Chapter-1.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Chapter 2 Database Environment
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Database Systems: Design, Implementation, and Management Ninth Edition
Introduction to Database Systems
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
Database revision.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Relational Theory and Design
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Database Concepts Track 3: Managing Information using Database.
Lection №4 Development of the Relational Databases.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
Introduction to Databases
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
Object storage and object interoperability
Chapter 3: Relational Databases
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
Chapter 4 Relational Databases
LECTURE 34: Database Introduction
LECTURE 33: Database Introduction
Presentation transcript:

ECE 8443 – Pattern Recognition ECE 3822 – Software Tools For Engineers Topics: Definitions and Terminology Abstraction Schema Tables Types of Databases LECTURE 36: Database Introduction Resources: YouTube: Introduction LM: Database Concepts Dsoergel: Fundamentals

ECE 3822: Lecture 36, Slide 1 Introduction to Databases

ECE 3822: Lecture 36, Slide 2 The word database is commonly used to refer to any of the following: your personal address book in a Word document a collection of Word documents a collection of Excel Spreadsheets a very large flat file on which you run some statistical analysis functions data collected, maintained, and used in airline reservation data used to support the launch of a space shuttle your personal address book in a Word document What Is A Database?

ECE 3822: Lecture 36, Slide 3 REALITY structures processes DATABASE SYSTEM DATABASE DML DDL A database is a model of structures of reality The use of a database reflect processes of reality A database system is a software system which supports the definition and use of a database DDL: Data Definition Language DML: Data Manipulation Language Models of Reality

ECE 3822: Lecture 36, Slide 4 Use a DBMS when this is important: persistent storage of data centralized control of data control of redundancy control of consistency and integrity multiple user support sharing of data data documentation data independence control of access and security backup and recovery Do not use a DBMS when: the initial investment in hardware, software, and training is too high the generality a DBMS provides is not needed the overhead for security, concurrency control, and recovery is too high data and applications are simple and stable real-time requirements cannot be met by it multiple user access is not needed When To Use A Database?

ECE 3822: Lecture 36, Slide 5 Abstraction It is very important tht the language used for dta representation supports abstraction. Three kinds of abstraction:  Classification  Aggregation  Generalization

ECE 3822: Lecture 36, Slide 6 In a classification we form a concept in a way which allows us to decide whether or not a given phenomena is a member of the extension of the concept. CUSTOMER Tom Ed Nick... Liz Joe Louise Classification

ECE 3822: Lecture 36, Slide 7 In an aggregation we form a concept from existing concepts. The phenomena that are members of the new concept’s extension are composed of phenomena from the extensions of the existing concepts AIRPLANE COCKPIT ENGINE WING Aggregation

ECE 3822: Lecture 36, Slide 8 In a generalization we form a new concept by emphasizing common aspects of existing concepts, leaving out special aspects CUSTOMER ECONOMY CLASS BUSINESS CLASS 1 ST CLASS Generalization

ECE 3822: Lecture 36, Slide 9 CUSTOMER BUSINESS CLASS 1STCLASS Subclasses may overlap: Subclasses may have multiple superclasses: MOTORIZED VEHICLES AIRBORNE VEHICLES TRUCKS HELICOPTERS GLIDERS Subclasses May Overlap

ECE 3822: Lecture 36, Slide 10 TablesIndexesProcedures ViewsConstraints Schema Owner schema objects Database Schema

ECE 3822: Lecture 36, Slide 11 A table is the primary unit of physical storage for data in a database. Usually a database contains more than one table. A database can have multiple tables: Tables PublishersBooksCustomers AuthorsInventoryOrders

ECE 3822: Lecture 36, Slide 12 Customers Tables

ECE 3822: Lecture 36, Slide 13 Field (Column) a field Customers Tables

ECE 3822: Lecture 36, Slide 14 Record (Row) a record Customers Database Schema

ECE 3822: Lecture 36, Slide 15 Primary Key primary key field Customers Primary key is a unique identifier of records in a table. Primary key values may be generated manually or automatically. Tables

ECE 3822: Lecture 36, Slide 16 Primary Key primary key fields Roles (Performances) A primary key can consist of more than one field. Tables

ECE 3822: Lecture 36, Slide 17 Foreign Key foreign key field primary key field parent table Directors Movies child tablerelationship Tables

ECE 3822: Lecture 36, Slide 18 Types of Relationships: one-to-one, one-to-many, many-to-many Data Types: Alphanumeric (Text, Memo), Numeric (Number, Currency, etc.), Date/Time, Boolean (Yes/No) Entity: An entity is a business object that represents a group, or category of data. Instance: A single, specific occurrence of an entity is an instance. Other terms for an instance are record and tuple. Attribute: An attribute is a sub-group of information within an entity. Relationship: A relationship is a link that relates two entities that share one or more attributes. More Terminology

ECE 3822: Lecture 36, Slide 19 Object-Oriented Design:Database Design: Class  Entity (Table) Object  Record Attribute  Attribute (Field) Association  Relationship … OO Design vs. Database Design

ECE 3822: Lecture 36, Slide 20 Database Environments: Mainframe Client/Server Internet-based Database Types: Flat-file Hierarchical Network Relational Object-oriented Object-relational Database Environments and Types

ECE 3822: Lecture 36, Slide 21 TBD… Flat-file Hierarchical Network Relational Object-oriented Object-relational Summary