Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical.

Slides:



Advertisements
Similar presentations
Databases and Database Users
Advertisements

Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
--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.
Chapter 3 Database Management
Data Definition Language (DDL) Specification notation for defining the database schema –E.g. create table account ( account-number char(10), balance integer)
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Introduction to Databases Transparencies
“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.
Attribute databases. GIS Definition Diagram Output Query Results.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Chapter 1 Introduction to Databases
Database Management Systems (DBMS)
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Chapter 1 Database and Database Users Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality.
Database Actors Database Administrators Database Designers
IT 244 Database Management System Data Modeling 1 Ref: A First Course in Database System Jeffrey D Ullman & Jennifer Widom.
The Role of DBMS in Computing
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Announcements Homework 1 Due 9/15 Project: Step 1 Due 9/17 Reading for Wednesday –2.6 – 2.8.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
ASP.NET Programming with C# and SQL Server First Edition
Chapter 1 Introduction to Databases Pearson Education ©
Database and Database Users. Outline Database Introduction An Example Characteristics of the Database Actors on the Scene Advantages of using the DBMS.
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.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Introduction to Database Systems
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
© 2001 Business & Information Systems 2/e1 Chapter 8 Personal Productivity and Problem Solving.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 8 Personal Productivity and Problem Solving.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Introduction to Databases. 1-2 Chapter Outline   Common uses of database systems   Meaning of basic terms   Database Applications  
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
DATABASE MANAGEMENT SYSTEMS CMAM301. Introduction to database management systems  What is Database?  What is Database Systems?  Types of Database.
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.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
Characteristics of the Database Approach (Difference between traditional file processing and database approach) Redundancy Self-Describing nature of a.
1 Welcome : To the third learning sequence “ DB ACTORS “ Present learning: We shall explore the following topics: - DB limitations. - DB actors. - DB Administrator.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 1 Introduction: Databases and Database Users.
ACCESS LESSON 1 DATABASE BASICS VOCABULARY. BACKSTAGE VIEW A menu of options and commands that allows you to access various screens to perform common.
Databases Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
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.
Introduction to Database Management
Databases and Database Users
Outline Types of Databases and Database Applications Basic Definitions
Database and Database Users
Database Actors Welcome : To the third learning sequence “ DB ACTORS “
Data base management system dbms
Data Model.
Database Actors.
Database System Concepts and Architecture
Summary Data Modeling SDLC What is Data Modeling
Terms: Data: Database: Database Management System: INTRODUCTION
Presentation transcript:

Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical and Physical Design

Example - HW Let us design a database for a Student Record System, including information about these Entities - Students, Fees, Course, Textbooks,and Department; Conceptual Design: –Draw the E/R diagram for this database. –Work out the type of relationships among the entities Logical Design –Work out what are the attributes of each entity and name key for each table Physical Design –How each data element will be defined in the DDL – names, data types and length with any constraints

Conceptual Design : E- R model Students pay FeeshasTextbksDept hasoffers CourseEnroll in

1. Conceptual Design 1.Draw the E/R diagram for this database. 2.Work out the type of relationships among the entities Student……..Course(many to many) Students……Fees (one to one) Textbooks….Fees (one to one) Department…Courses (one to many) Course………Textbooks (one to many)

2. Logical Design We now need to work what the attributes of each entity will be and how the entities will be linked together: Students (Idnumber, Surname, First name, Gender, Sponsor) Department (DepartmentID, Department name) Courses (CourseNumber Course Title, Coordinator) Textbooks (ISBN, Title, Author, Edition) Fees (FeeCode, Fee Amount)

3. Physical Design Student –Idnumber : text(10) not null –Surname: text(30) –First name: text(30) –Gender: text - Alpha(1) –Sponsor: text(30) Continue with the rest of the tables. Refer to the Practical Exercise for Defining a table with its fields using the Design Form Also show the how table linked thru their primary key fields.

Using the Database The process if populating the database by entering data and then querying it to obtain information is known as DML. Populating: inserting information File maintenance: saving, retrieving, importing and exporting Information Retrieval: selecting data Reporting: creating reports Sorting: choosing the order the data should be in. Calculations: putting values from different fields together to create new information.

Inserting and updating Database Using Special Data Entry Forms Must have tables Self promoting integrity Standard and much more presentable Refer to the practical exercise.

Querying the Database SQL is also used for querying the database which selects information according to specified criteria and can either display the information on screen or output as report. Basic form of SELECT command is: SELECT column1, column2, column N FROM table WHERE condition is satisfied;

Creating reports from database Results of the query can be saved as a file which can be formatted and then presented as a report. Report Generators: special tools for creating reports in most DBMS.

Types of Reports 1.Detail Reports: List detail fields 2.Summary Reports: provide information in summary form mainly for executives 3.Controlled-break reports: Data are grouped into categories 4.Exception reports: report which match some condition outside the normal limits 5.Graphs: Graphs and text

Who works with Database Database administrators: oversee and manage the database resources – database, DBMS, and other software etc. Database Designers:identify data to be stored in the database and for choosing the appropriate structures to represent and store this data. Communicate with all prospective users in order to understand their requirements and to come up with a design that meets these requirements. End Users: people whose jobs require access to the database querying, updating and generating reports. The database primarily exists for their use.

Casual end users: they access the database occasionally, requesting different information each time typically managers. Naive end-users: Data entry, bank tellers, clerical staff who with main job function revolved constantly querying and updating the database using standard types of query and updates that have been programmed and tested. Sophisticated end users: include engineers, scientists, business analysts, who thoroughly familiarize themselves with the facilities of the DBMS so as to meet their complex requirements

Stand-alone users: they maintain personnel database by using ready-made program packages that provide easy-to-use menu or graphics based interfaces. Ie. Small business people looking after their accounting.

System Analysts and Application Programmers : SA Determines the requirements of end-users especially naive end-users and develop specifications for canned transactions to meet those requirements. AP implement these specifications as programs, then they test, debug, document and maintain these canned transactions. DBMS Designers and Developers: are the people who design and implement the DBMS modules and interfaces as a software package. A DBMS is a complex software system consists of many modules ie. Queries, DDL, DML, Data Access etc. DBMS must interface with OS and other compilers for various programming languages. These personnel typically work with DBMS as ORACLE, FOXBASE, MS ACEESS, RBASE ETC.

Tool Developers: Tools are software package that facilitate database system design and use and help improve performance. Tools are optional package that are often purchase separately. Include packages for database design, performance monitoring, prototyping, graphical interfaces etc. Operators and Maintenance Personnel: These are the system administration personnel who are responsible for the actual running and maintenance of the hardware and software environment for the database system.

List the database personnel involved in each of the following tasks: 1.Design of the initial database: working out what is required. 2.Implementing the database design 3.Testing data into the database and generating reports 4.Entering data into the database and generating reports 5.Maintaining the database, looking after the host computer and carrying out regular backups.

Answers 1.DBA, USERS, May need system analysts 2.DBA, Database designers, may need application programmers 3.DBA, database designers, selected users 4.Users 5.Operators