Introduction to Database Development CH2. CH2. Introduction to DB Development Database n Components of Database Systems (Figure 2-1) –User data –Metadata.

Slides:



Advertisements
Similar presentations
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Advertisements

Relational Database and Data Modeling
Chapter 10: Designing Databases
Stephen C. Hayne 1 Database System Components The Database and the DBMS.
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
ETEC 100 Information Technology
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 2 Introduction to Database Development.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 2 Introduction to Database Development.
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 1: The Database Environment
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
An Introduction to Database Management Systems R. Nakatsu.
Chapter 2 Introduction to Database Development Database Processing David M. Kroenke © 2000 Prentice Hall.
APPENDIX C DESIGNING DATABASES
Introduction to Database Development zThe Database zThe Data Base Management System (DBMS) zCreating a Database zComponents of Applications zDeveloping.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Data bases concepts
2.3 Organising Data for Effective Retrieval
1 Introduction to databases concepts CCIS – IS department Level 4.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Database Technical Session By: Prof. Adarsh Patel.
2440: 141 Web Site Administration Database Management Using SQL Professor: Enoch E. Damson.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical.
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
HSCI 709 SQL Data Definition Language. SQL Standard SQL-92 was developed by the INCITS Technical Committee H2 on Databases. SQL-92 was designed to be.
Relational Databases (MS Access)
Database Management Systems Introduction. In the Beginning… Customer Program 1.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
8 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
+ Information Systems and Databases 2.2 Organisation.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
(C) 2000, The University of Michigan 1 Database Application Design Handout #2 January 14, 2000.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
1 Chapter 2 Database Environment Pearson Education © 2009.
1 6 Concepts of Database Management, 5 th Edition, Pratt & Adamski Chapter 6 Database Design 2: Design Methodology Spring 2006.
Chapter 3: Relational Databases
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Database Concepts and Applications in HRIS
CH 10 DB Application Design n 10.1 Functions n 10.2 Case Application n 10.3 Creating, Reading, Updating, Deleting View n 10.4 Form Design n 10.5 Report.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
RELATIONAL DATABASE MODEL
G061 - Data Dictionary.
Presentation transcript:

Introduction to Database Development CH2

CH2. Introduction to DB Development Database n Components of Database Systems (Figure 2-1) –User data –Metadata –Index –Application Metadata

CH2. Introduction to DB Development

1. User Data n User data is represented in relation n Relation: Table containing data n Columns: field or attribute –Rows: record for particular entities –Normalization Problem R1(StudentName, StudentPhone, AdviserName, AdviserPhone) : Problem Therefore, separate R1 into R2 and R3 R2(StudentName, StudentPhone, AdviserName) R3(AdviserName, AdviserPhone) R1 R2 R3

CH2. Introduction to DB Development

2. Metadata n Description of DB structure (System table) n Efficient for DBMS, convenient for users –user can use the same query tools for metadata as they do for user data n Ex. (Figure 2-2) –SysTables Table(Table Name, Number of Columns, Primary Key) –SysColumns Table(Column Name, Table Name, DataType, Length)

CH2. Introduction to DB Development

3. Index n Overhead data n Improves the performance and accessibility of DB n Helpful for sorting and searching, but at a cost n Ex.(Figure2-3): LastName Index, Major Index 4. Application Metadata n Used to store the structure and format of user forms, reports, queries, and other application components

CH2. Introduction to DB Development

DBMS n 3 sub-systems –The Design Tools Subsystem includes tools for creating tables, forms, queries, and reports DBMS products provide programming languages and interfaces to programming languages –Run-Time Subsystem processes the application components that are developed using the design tools Ex.: Access 2000 has a run-time facility that materialize forms and connects form elements with table data

CH2. Introduction to DB Development DBMS n 3 sub-systems –DBMS Engine Intermediary between the design tools and run-time subsystems and the data Involved with transaction management, locking, and backup and recovery

CH2. Introduction to DB Development Creating the DB n DB Schema : defines a DB’s structure, its tables, relationships, domains, and business rules n An Example of a Schema: Highline College –Table CAPTAIN(CAPTAIN_ID, CaptainName, Phone, Street, City, State, Zip) ITEM(ITEM_ID, Quantity, Description, Date-Out, Date-In) –Relationship CAPTAIN (CAPTAIN_ID, CaptainName, Phone, Street, City, State, Zip) ITEM(ITEM_ID, Quantity, Description, Date-Out, Date-In, CAPTAIN_ID)

CH2. Introduction to DB Development –Domain: set of values that a column may have ITEM_ID, Quantity & CAPTAIN_ID → Integer, Description → Text, Data-Out & Date-In → Date –Business Rule: restrictions on the business’s activities that need to be reflected in the database and database applications Ex.: No captain may have more than seven soccer balls checked out at any one time n Creating Tables: after the schema has been designed, tables are created using the DBMS table creation tools –ITEM Table (Figure 2-4, pp.33)

CH2. Introduction to DB Development

n Defining Relationships: Foreign Key is used –CAPTAIN Table & ITEM Table(Figure 2-5, pp. 33) –Foreign Key: CAPTAIN_ID in ITEM table

CH2. Introduction to DB Development n Forms n Queries n Reports n Menus n Application Programs Components of Applications

CH2. Introduction to DB Development n Forms –Ex.: presentations of CAPTAIN and ITEM data (Figure 2-6) –Ex.: Creating a Form (Figure 2-7) n Queries –From more than one relations, generate one relation that satisfies given conditions 1. SQL(Structured Query Language): Data access language (CH 9) 2. QBE(Query By Example): (Figure 2-8) 3. QBF(Query By Form): user types query constraints on a data entry form and press search button

CH2. Introduction to DB Development n Reports –Formatted display of database data (Figure 2-10) –MS Access report definition (Figure 2-11) n Menus –used to organize the application components so as to make them more accessible to the end user and to provide control over the user’s activities –create menu suitable for the purposes of users n Application Programs –written in a language that is specific to the DBMS or in a standard language that interfaces with the DBMS –Ex.: Access Basic (Figure 2-14)

CH2. Introduction to DB Development DB Development Processes n General Strategies –Top-down: Entity-Relation Approach proceeds from the general to the specific Study strategic goal, means, information requirements, systems → construct abstract data model High-level Data Model → Lower-Level Data Model → Databases and Applications –Bottom-up: Semantic-Object Approach proceeds from the specific to the general a particular system is selected → obtain statements of requirements → build data model → design and implement database

CH2. Introduction to DB Development n Data Modeling –Interviewing users → Documenting requirements → Building the data model and prototypes –Data Modeling as Inferencing User may not be able to describe exactly what model is reverse-engineer: shadows → original shapes (Art) –Modeling in Multi-User Systems many users may envision many different data models DB becomes the logical union of the pieces of the work- group’s or organization’s model → developer must document that logical union –Confusion about the Term Model Requirement data model or User’s data model Entity-Relationship model and Semantic Object data model (Tools)