Databases and modelling 1. day. 2 Agenda Goals Plan What is database? How is database developed and designed? Database design.

Slides:



Advertisements
Similar presentations
CG152 Introduction: slide 1 CS223 The Project: slide 1 Today's Lecture is in 3 Parts Part – 1: The Project Doron Part – 2: Going through the skipped over.
Advertisements

Database Basics Alan B. Marr, M.D., F.A.C.S. Associate Professor of Clinical Surgery.
Chapter Information Systems Database Management.
Chapter Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables.
Database Management An Introduction.
LIS 557 Database Design and Management William Voon Michael Cole Spring '04.
Lecture Fourteen Methodology - Conceptual Database Design
1004INT Information Systems Week 11 Databases as Business Tools.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 3.
Methodology Conceptual Database Design
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Entity/Relationship Modelling
MS Access 2007 IT User Services - University of Delaware.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
SYSTEM DEVELOPMENT, TOOLS, TECHNIQUES AND METHODS CE
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
CHAPTER 2. FUNDAMENTAL OF ENTITY RELATIONSHIP (ER)
Software Engineering 2003 Jyrki Nummenmaa 1 CASE Tools CASE = Computer-Aided Software Engineering A set of tools to (optimally) assist in each.
Section 11 : Normalisation
Methodology - Conceptual Database Design Transparencies
Methodology Conceptual Databases Design
Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical.
CS-1Q IM Revision 21 January Revision CS-1Q IM Lecture 10 Phil Gray Simon Gay.
CS 474 Database Design and Application Terminology Jan 11, 2000.
Bruno Oluka Tel: Technical Director, Ubunifu Systems Microsoft Access Database Lecture 1 – Introduction To Microsoft.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Object Oriented Design Jerry KotubaSYST Object Oriented Methodologies1.
PHP and MySQL CS How Web Site Architectures Work  User’s browser sends HTTP request.  The request may be a form where the action is to call PHP.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
MGS 351 Introduction to Management Information Systems RECITATION 8.
Methodology - Conceptual Database Design
L8 - March 28, 2006copyright Thomas Pole , all rights reserved 1 Lecture 8: Software Asset Management and Text Ch. 5: Software Factories, (Review)
COMU114: Introduction to Database Development 1. Databases and Database Design.
Chapter 4 Data and Databases. Learning Objectives Upon successful completion of this chapter, you will be able to: Describe the differences between data,
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
1 The Information School of the University of Washington Dec 1fit advdatabases © 2006 University of Washington Advanced Database Concepts INFO/CSE.
Course Conclusion. Agenda Summing up by Tom Handing over to Ellen Your presentations Typo3 // css stuff Information about exam.
IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.
Database Design Normalisation. Last Session Looked at: –What databases were –Where they are used –How they are used.
Unit 18 Advanced Database Design
Database Design – Lecture 4 Conceptual Data Modeling.
INFO275 Database Management Term Project. Overview Your project will be to define, design and build a functioning database, to support an application.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Entity-Relationship Diagram Presentation Gianna-lee Williams 6AQ Ms. Anderson.
Chapter 4 Relational Database, Pivot Charts, and Switchboard.
Microsoft Access 2010 Chapter 11 Database Design.
1 Sobah Abbas Petersen Adjunct Associate Professor, NTNU Researcher, Sintef TDT4252 Modelling of Information Systems Advanced Course TDT4252,
Information Systems in Organisations Module Introduction.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
Lecture 5 Data Model Design Jeffery S. Horsburgh Hydroinformatics Fall 2012 This work was funded by National Science Foundation Grant EPS
OBJECT ORIENTED VS STRUCTURED WHICH ONE IS YOUR CHOICE.
Introduction to Database Development CH2. CH2. Introduction to DB Development Database n Components of Database Systems (Figure 2-1) –User data –Metadata.
Systems Analysis and Design
Chapter 12 Information Systems.
Information Systems Database Management
Translation of ER-diagram into Relational Schema
MANAGING DATA RESOURCES
Review of Week 1 Database DBMS File systems vs. database systems
Summary Data Modeling SDLC What is Data Modeling
Information system analysis and design
Presentation transcript:

Databases and modelling 1. day

2 Agenda Goals Plan What is database? How is database developed and designed? Database design

3 Databases and modelling Goal: That you can model and implement a small database Form: Mix of lectures and exercises Design task:Construction of a litterature database

4 Formalities The module is concluded by an internal written individual test in: IT technology: Databases. The test takes the form of a set take-home assignment to be handed in after 3 days, in which the student completes a designated task on data modelling, SQL, and modelling and search tools, thus documenting his/her command of the techniques covered in the course. A grade according to the 7-point grading scale is given. In relation to the competence goals stipulated in section 8 of the study regulation the test documents the student’s ability to: choose the form of and execute data modelling on a limited set of data define suitable search functions for the above reflect on own practice and document the reflection.

5 Course plan – this week Monday: : Introduction to databases – data analysis and modelling Tuesday 9-12: Design of database tables and relations Wednesday 9-12: Design of database user interface, design of queries and forms, introduction to SQL Thursday: Database implementation (without teacher) Friday: Database implementation (without teacher)

6 Course plan – next week Monday: 9-12 Introduction to CMS and portfolio, Typo3 basics Tuesday: 9-12 Typo3 basics Wednesday: Portfolio implementation continued and reflection (without teacher). Thursday: Portfolio implementation continued and reflection (without teacher). Friday: 9-11 Presentation of portfolio, database and reflections week 36-37

7 What is a database? A database is a collection of logically related data designed to meet the information needs of one or more users. Wikipedia

8 What is a database? Hierarchical databases – e.g. windows file system Relational databases – e.g. MS Access, the focus of this course

9 Relational databases User Interface – data in & out (Reports) (Forms and queries) Data: Tables and relations

10 Methodology Start with the goal – what do you want? What do you want to be able to find in the database? What must the database as a consequense of the above contain?

11 Step 1-2

12 For now… Just be creative – there is so many ways to find and express the goal of a database and some of them are covered by the other courses. Use 5-10 minutes to decide what you want to be your goal in designing a database for data about the stuff you read and learn. On to data analysis and design…

13 Step 3

14 Example

15 Data design Use minutes to start designing your data BTo begin with, list the data you want to find in the database BDistinguish between entities (usually nouns in a narrative about the system), their attributes and relations (look for verbs in the narrative)

16 Step 4

17 Table design From data to formal description of tables and relations The database stores data in tables with relations to each other 3 normal forms The principles for normal forms and normalization explains the need for relations – but said in a simpler way the database is split in more tables to: BMake the database smaller BMake data input easier BMake search easier

18 1. Normal form All table entries must be of equal length. The table must not contain repeating entries or groups Example: In a litterature database the author must be placed in an individual table – otherwise entries would be of different length depending on number of authors.

19 2. Normal form Give all tables a primary key (tables created to handle relations can have a primary key). Make separate tables for each attribute shared between many entities.

20 3. normalform Entries in a table must not be functionally dependent of each other – only of the primary key. Example: A database does not have employe ID and name in the same table – unless one of them is primary key.

21 Entity-relation diagram Attribute Relationship Entity Cardinality – what kind of relation? One to one One to many Many to many Many to one

22 Design database Use an entity-relation diagram to document the table design you want to implement Browse chapter one Browse the next chapters about Access.