Download presentation
Presentation is loading. Please wait.
Published byLeo Harrison Modified over 8 years ago
1
Database Design Methodology
2
Lesson 1: Introduction to Databases
3
Objectives List database types (e.g., flat file, relational), and identify their uses and architectures Describe the types of database management system (DBMS), and explain the benefits and limitations of each DBMS type Analyze and select appropriate database designs, and identify the solution that addresses the application needs
4
What Is a Database? File-based databases –Flat-file databases The evolution of databases
5
Relational Databases and DBMSs Relational databases Structured Query Language Database administrator Advantages and disadvantages of DBMSs Choosing the correct database type
6
The Origins of Relational Databases Codd first proposed the relational data model in 1970 System R Development of SQL INGRES IBM UK Scientific Center
7
Summary List database types (e.g., flat file, relational), and identify their uses and architectures Describe the types of database management system (DBMS), and explain the benefits and limitations of each DBMS type Analyze and select appropriate database designs, and identify the solution that addresses the application needs
8
Lesson 2: Relational Database Fundamentals
9
Objectives Define common database architectures (e.g., single, multi-tier) Describe the function of Structured Query Language (SQL), including language subsets Describe the function of Data Definition Language (DDL) Describe the function of Data Manipulation Language (DML)
10
Objectives (cont’d) Describe the function of Data Control Language (DCL) Define essential database concepts and terms, including relation, relation name, table, row, column, value, relational algebra, data modeling, data relationship Explain the concepts of attribute, degree, tuple and cardinality
11
Objectives (cont’d) Define entities, including strong entities, weak entities List characteristics of relations (e.g., column characteristics, row characteristics) Describe table types (e.g., base tables, virtual tables) Distinguish between primary and foreign keys, including null value, composite key Explain data models in relational databases
12
Objectives (cont’d) Describe common database relationships (e.g., one to one, one to many, many to many) and identify the notation for such relationships (e.g., 1:n) Define relational integrity concepts, including domain constraints, entity and referential integrity views Explain the structure and purpose of a data dictionary
13
Multitier Database Architecture Two-tier client-server architecture –Fat client Three-tier client-server architecture –Thin client n-tier architecture
14
Relational Model Terminology Relational data structure Rows (tuples) Columns (attributes) Domains Degrees Cardinality Normalization
15
Using Tables to Represent Data Entities Characteristics of relations Types of tables Primary keys Foreign keys
16
Data Models Components –Structural information –Manipulative information –Integrity information
17
Entities and Data Relationships Entity-relationship (ER) modeling Strong entities Weak entities
18
Relational Integrity Domain constraints Entity integrity Referential integrity Views
19
Database Languages Data Definition Language Data Manipulation Language Data Control Language Data dictionaries
20
Summary Define common database architectures (e.g., single, multi-tier) Describe the function of Structured Query Language (SQL), including language subsets Describe the function of Data Definition Language (DDL) Describe the function of Data Manipulation Language (DML)
21
Summary (cont’d) Describe the function of Data Control Language (DCL) Define essential database concepts and terms, including relation, relation name, table, row, column, value, relational algebra, data modeling, data relationship Explain the concepts of attribute, degree, tuple and cardinality
22
Summary (cont’d) Define entities, including strong entities, weak entities List characteristics of relations (e.g., column characteristics, row characteristics) Describe table types (e.g., base tables, virtual tables) Distinguish between primary and foreign keys, including null value, composite key Explain data models in relational databases
23
Summary (cont’d) Describe common database relationships (e.g., one to one, one to many, many to many) and identify the notation for such relationships (e.g., 1:n) Define relational integrity concepts, including domain constraints, entity and referential integrity views Explain the structure and purpose of a data dictionary
24
Lesson 3: Database Planning
25
Objectives Describe the elements of a database planning strategy (e.g., defining the scope of a database application) List the necessary steps for creating a database requirements document, including conducting interviews, noting project constraints, identifying the precise duties of the database, creating a database design document
26
Objectives (cont’d) Explain the importance of data modeling and entity relationship diagrams during the planning stage (e.g., define the concept of an entity- relationship [ER] diagram) Create a database prototype Describe the purpose of database application testing, including white-box testing, black-box testing
27
Objectives (cont’d) List the criteria for selecting a database management system and an application interface Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
28
Database Design Life Cycle Create a database strategy Define database application scope Create a database requirements document Design the database Select a DBMS Design the database application Create database prototypes Test the database application Implement the database application Convert legacy data Maintain the database
29
Database Requirements Document Conducting interviews Requirements document information
30
Selecting a DBMS Selection criteria –Data definition functionality –Physical criteria –Access criteria –Transactions –Utilities –Development tools –Miscellaneous features
31
Selecting an Application Interface GUI considerations –Descriptive page titles –Clear instructions –Consistent grouping of input fields –Logically labeled fields –Consistent color use –Properly sized data entry fields –Logical cursor movement –Error messages –Clearly indicated optional fields –Completion message
32
Summary Describe the elements of a database planning strategy (e.g., defining the scope of a database application) List the necessary steps for creating a database requirements document, including conducting interviews, noting project constraints, identifying the precise duties of the database, creating a database design document
33
Summary (cont’d) Explain the importance of data modeling and entity relationship diagrams during the planning stage (e.g., define the concept of an entity-relationship [ER] diagram) Create a database prototype Describe the purpose of database application testing, including white-box testing, black-box testing
34
Summary (cont’d) List the criteria for selecting a database management system and an application interface Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
35
Lesson 4: Overview of Database Design Methodology
36
Objectives List the steps of the conceptual design phase (e.g., identifying entities, attribute domains, relationships) Describe how to identify entities List ways to identify attributes and attribute domains for entities
37
Objectives (cont’d) List ways to identify candidate and primary keys for entities Identify and determine data relationships Create an entity-relationship (ER) diagram Analyze an entity-relationship (ER) diagram or model to determine relation types
38
Objectives (cont’d) Define and describe domains Explain the results of poor database design, and describe insertion, deletion and update anomalies in databases Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
39
Effects of Poor Database Design Insertion anomalies Deletion anomalies Update anomalies
40
Database Design Phases Conceptual phase Logical phase Physical phase
41
Conceptual Database Design Identifying entities Identifying attributes and attribute domains for entities Identifying relationships Identifying candidate and primary keys for entities Creating an entity-relationship (ER) diagram Reviewing the ER model by the user and design team
42
Entity-Relationship Models Creating ER models Defining domains Common SQL data types Determining data relationships –Recursive relationships
43
Summary List the steps of the conceptual design phase (e.g., identifying entities, attribute domains, relationships) Describe how to identify entities List ways to identify attributes and attribute domains for entities
44
Summary (cont’d) List ways to identify candidate and primary keys for entities Identify and determine data relationships Create an entity-relationship (ER) diagram Analyze an entity-relationship (ER) diagram or model to determine relation types
45
Summary (cont’d) Define and describe domains Explain the results of poor database design, and describe insertion, deletion and update anomalies in databases Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
46
Lesson 5: Normalization
47
Objectives Distinguish between specific normal forms, including first normal form (1NF), second normal form (2NF), third normal form (3NF), Boyce-Codd normal form (BCNF) Describe the normalization process Define and explain determinant, decomposition and functional dependency
48
Objectives (cont’d) Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
49
What Is Normalization? Normal forms First normal form –First normal form anomalies Second normal form –Second normal form anomalies Third normal form Boyce-Codd normal form
50
Related Concepts Decomposition Atomic value Partial functional dependency Transitive dependency Denormalization
51
Summary Distinguish between specific normal forms, including first normal form (1NF), second normal form (2NF), third normal form (3NF), Boyce-Codd normal form (BCNF) Describe the normalization process Define and explain determinant, decomposition and functional dependency
52
Summary (cont’d) Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
53
Lesson 6: Logical Database Design
54
Objectives Explain the structure and purpose of a data dictionary Identify logical database design issues List the steps of the logical database design phase (e.g., creating a raw data model; identifying and documenting entities, attributes, relationships, domains, and candidate and primary keys)
55
Objectives (cont’d) Identify the cardinality of data relationships Identify and resolve inexpedient data relationships Create an integrated logical data model from a conceptual data model Use Data Definition Language (DDL)
56
Objectives (cont’d) Validate a logical data model against user operations and system requirements Define integrity constraints (e.g., necessary data, domain constraints, entity integrity, referential integrity) Create corporate and enterprise data models based on user views of data
57
Objectives (cont’d) Validate the enterprise data model Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
58
Logical Database Design Logical data models –One-to-one –One-to-many –Many-to-many
59
Creating a Logical Data Model Data model refinement Logical data model creation Normalization Logical data model creation Data model refinement Normalization
60
Using a Database Definition Language Data dictionaries Validating the logical data model
61
Defining Integrity Constraints Necessary data Domain constraints Entity integrity Referential integrity Enterprise constraints
62
Creating an Enterprise Data Model User views Normalization Validating data operations
63
Summary Explain the structure and purpose of a data dictionary Identify logical database design issues List the steps of the logical database design phase (e.g., creating a raw data model; identifying and documenting entities, attributes, relationships, domains, and candidate and primary keys)
64
Summary (cont’d) Identify the cardinality of data relationships Identify and resolve inexpedient data relationships Create an integrated logical data model from a conceptual data model Use Data Definition Language (DDL)
65
Summary (cont’d) Validate a logical data model against user operations and system requirements Define integrity constraints (e.g., necessary data, domain constraints, entity integrity, referential integrity) Create corporate and enterprise data models based on user views of data
66
Summary (cont’d) Validate the enterprise data model Describe database design steps, including determining the proper steps in creating entities, applying normalization, selecting a database management system (DBMS)
67
Lesson 7: Physical Database Design
68
Objectives List the elements of physical database design Determine physical database design issues Describe how to create base relations for a target database management system (DBMS) using Data Definition Language (DDL)
69
Objectives (cont’d) Identify and create enterprise constraints for a target DBMS Define secondary indexes and determine when to use them Create a base relation Identify referential constraints
70
Objectives (cont’d) Explain denormalization and describe when it is necessary Create user views (e.g., the CREATE VIEW SQL statement) Design database access rules
71
Objectives (cont’d) Use appropriate commands to create, insert and retrieve data from a database table, including the SELECT, CREATE TABLE and CREATE VIEW statements
72
Physical Database Design Creating base relations for a target DBMS Data Definition Language
73
Creating Enterprise Constraints Determining referential constraints
74
Using Secondary Indexes A secondary index is a mechanism that creates an additional key for a relation
75
Denormalization The process of reuniting relations that were split during the normalization process to improve performance
76
Creating User Views Determine the appropriate data to be included with each particular view
77
Designing Database Access Rules Identifiers Privileges –SELECT –UPDATE –DELETE
78
Summary List the elements of physical database design Determine physical database design issues Describe how to create base relations for a target database management system (DBMS) using Data Definition Language (DDL)
79
Summary (cont’d) Identify and create enterprise constraints for a target DBMS Define secondary indexes and determine when to use them Create a base relation Identify referential constraints
80
Summary (cont’d) Explain denormalization and describe when it is necessary Create user views (e.g., the CREATE VIEW SQL statement) Design database access rules
81
Summary (cont’d) Use appropriate commands to create, insert and retrieve data from a database table, including the SELECT, CREATE TABLE and CREATE VIEW statements
82
Lesson 8: Structured Query Language
83
Objectives Perform data manipulation Describe basic SQL syntax List data types used in SQL, including SMALLINT, DECIMAL (p, q), CHAR(n) and TIMESTAMP Define the term schema in relation to databases Create a schema using the CREATE SCHEMA statement
84
Objectives (cont’d) Drop schemas from a database using the DROP SCHEMA statement Use appropriate commands to create, insert and retrieve data from a database table, including using the SELECT, CREATE TABLE and CREATE VIEW statements Use the INSERT command appropriately
85
Objectives (cont’d) Use appropriate UPDATE and DELETE statements to update or delete information from a database, including working with tuples Use the DISTINCT keyword Compose predicates and other statements using the WHERE clause
86
Objectives (cont’d) Identify the use and structure of Boolean operators Describe SQL special operators and ORDER BY clauses (e.g., the IN, BETWEEN and LIKE operators) Deploy the ORDER BY clause to order output by column or group of columns
87
Objectives (cont’d) Retrieve data from relations using the SELECT statement Create statements using the GRANT keyword to control user access to relations Use the REVOKE keyword to limit access
88
SQL Basics Subsets of SQL SQL features Data types
89
Data Definition Language Creating a schema Altering and dropping relations and views
90
Data Manipulation Language Inserting values into relations Deleting records from relations Updating values in relations Retrieving data from relations Aliases SQL special operators and ORDER BY clauses
91
Data Control Language Granting privileges Revoking privileges
92
Summary Perform data manipulation Describe basic SQL syntax List data types used in SQL, including SMALLINT, DECIMAL (p, q), CHAR9n) and TIMESTAMP Define the term schema in relation to databases Create a schema using the CREATE SCHEMA statement
93
Summary (cont’d) Drop schemas from a database using the DROP SCHEMA statement Use appropriate commands to create, insert and retrieve data from a database table, including using the SELECT, CREATE TABLE and CREATE VIEW statements Use the INSERT command appropriately
94
Summary (cont’d) Use appropriate UPDATE and DELETE statements to update or delete information from a database, including working with tuples Use the DISTINCT keyword Compose predicates and other statements using the WHERE clause
95
Summary (cont’d) Identify the use and structure of Boolean operators Describe SQL special operators and ORDER BY clauses (e.g., the IN, BETWEEN and LIKE operators) Deploy the ORDER BY clause to order output by column or group of columns
96
Summary (cont’d) Retrieve data from relations using the SELECT statement Create statements using the GRANT keyword to control user access to relations Use the REVOKE keyword to limit access
97
Lesson 9: Relational Algebra
98
Objectives Describe a selection operation Create a projection operation Explain and use a Cartesian product operation Create unions Define a set difference operation
99
Objectives (cont’d) Describe an intersection operation Create a theta-join Use a natural join Create an equi-join Create an outer join
100
Defining Relational Algebra Selection Projection Cartesian product Union Difference Intersection Joins
101
Summary Describe a selection operation Create a projection operation Explain and use a Cartesian product operation Create unions Define a set difference operation
102
Summary (cont’d) Describe an intersection operation Create a theta-join Use a natural join Create an equi-join Create an outer join
103
Lesson 10: Transactions and Database Security
104
Objectives Define the concept of a transaction, including use of the INSERT, DELETE and UPDATE operations Identify the two results of a transaction (commit and rollback) Describe the four desirable "ACID" properties (atomicity, consistency, isolation, durability)
105
Objectives (cont’d) Define serializability in relation to a DBMS List concurrency control methods, including locking and timestamps Describe the steps involved in optimistic concurrency control (e.g., reading, validation, writing), including knowing when and when not to use optimistic concurrency control
106
Objectives (cont’d) Identify issues that can occur if concurrency control is not enacted property (e.g., dirty reads, lost and uncommitted updates, unrepeatable query results) Identify issues and determine the scope of database security (e.g., theft, privacy, integrity control, availability)
107
Objectives (cont’d) List typical security threats to databases Describe database countermeasure and protection techniques (e.g., encryption, ways to create views)
108
Transactions Commit Rollback ACID properties –Atomicity –Consistency –Isolation –Durability
109
Concurrency Control Lost updates Uncommitted updates Unrepeatable query results Serializability Concurrency control methods –Locking –Timestamps Optimistic concurrency control
110
Database Security The scope of database security Types of security threats Types of protection techniques
111
Summary Define the concept of a transaction, including use of the INSERT, DELETE and UPDATE operations Identify the two results of a transaction (commit and rollback) Describe the four desirable "ACID" properties (atomicity, consistency, isolation, durability)
112
Summary (cont’d) Define serializability in relation to a DBMS List concurrency control methods, including locking and timestamps Describe the steps involved in optimistic concurrency control (e.g., reading, validation, writing), including knowing when and when not to use optimistic concurrency control
113
Summary (cont’d) Identify issues that can occur if concurrency control is not enacted property (e.g., dirty reads, lost and uncommitted updates, unrepeatable query results) Identify issues and determine the scope of database security (e.g., theft, privacy, integrity control, availability)
114
Summary (cont’d) List typical security threats to databases Describe database countermeasure and protection techniques (e.g., encryption, ways to create views)
115
Database Design Methodology Introduction to Databases Relational Database Fundamentals Database Planning Overview of Database Design Methodology Normalization
116
Database Design Methodology Logical Database Design Physical Database Design Structured Query Language Relational Algebra Transactions and Database Security
117
Database Design Methodology For information about the CIW Database Specialist exam and certification, visit www.CIW-certified.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.