Beruflich Dokumente
Kultur Dokumente
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition
Copyright 2009 John Wiley & Sons, Inc. All rights reserved.
Objectives
Become familiar with several object-persistence formats. Be able to map problem domain objects to different objectpersistence formats. Be able to apply the steps of normalisation to a relational database. Be able to optimise a relational database for object storage and access. Become familiar with indexes for relational databases. Be able to estimate the size of a relational database. Be able to design the data access and manipulation classes.
17 March, 2011 ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material. 2
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition
Copyright 2009 John Wiley & Sons, Inc. All rights reserved.
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
Sample File
Sequential access files allow sequential operations (assumes disc storage) Efficient for report writing Searches are not efficient because on average 50% of records have to be accessed Two versions
Ordered (linked list) Unordered (chronological placement)
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
Relational Databases
Collection of tables
A table is comprised of rows of attributes that define an entity Each row in the table is a unique record The same attribute in each record is the primary key of the table. Each key value must be unique
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
11
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
14
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition
Copyright 2009 John Wiley & Sons, Inc. All rights reserved.
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
17
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition
Copyright 2009 John Wiley & Sons, Inc. All rights reserved.
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
19
Normalisation
Tells us how well-formed the data is in an RDBMS Reduces data redundancies First four levels of normalisation are
1 Normal Form: removes multi-valued fields 2 Normal Form: removes partial-key dependencies 3 Normal Form: removes transitive dependencies (dependence on non-primary key fields) Boyce-Codd Normal Form: every determinant is a candidate key Analysis & Design. Semester 2, 2010. 17 March, 2011 ICT117 Systems 20
Includes John Wiley & Sons material.
Steps of Normalisation
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
21
Next lecture
HCI Human Computer Interface design
17 March, 2011
ICT117 Systems Analysis & Design. Semester 2, 2010. Includes John Wiley & Sons material.
22