TAILIEUCHUNG - Lecture Database Systems - Lecture 28

This chapter provides an overview of the database-design process, with major emphasis on database design using the entity-relationship data model. The entity-relationship data model provides a high-level view of the issues in database design, and of the problems that we encounter in capturing the semantics of realistic applications within the constraints of a data model. UML class-diagram notation is also covered in this chapter. | CSC271 Database Systems Lecture # 28 Summary: Previous Lecture Purpose of normalization Data redundancy and update anomalies Functional Dependencies Partial, full, transitive Identifying functional dependencies Identifying primary keys using functional dependencies The Process of Normalization Normalization is a formal technique for analyzing relations based on their PK (or CKs) and functional dependencies The technique involves a series of rules that can be used to test individual relations so that a database can be normalized to any degree When a requirement is not met, the relation violating the requirement must be decomposed into relations that individually meet the requirements of normalization Types of normal forms are 1NF, 2NF, 3NF, BCNF, 4NF, 5NF All normal forms are based on FDs except 1NF Normal forms 4NF, 5NF deal with the situations that are very rare The Process of Normalization Normalization is often executed as a series of steps, each step corresponds to a specific normal form that has known properties As normalization proceeds, the relations become progressively more restricted (stronger) in format and also less vulnerable to update anomalies For the relational data model, it is important to recognize that it is only First Normal Form (1NF) that is critical in creating relations; all subsequent normal forms are optional However, to avoid the update anomalies, it is generally recommended that we proceed to at least Third Normal Form (3NF) The Process of Normalization Unnormalized Form (UNF) A table that contains one or more repeating groups To create an unnormalized table Transform the data from the information source (. form) into table format with columns and rows Lease Forms: DreamHome Transformation into UNF Table First Normal Form (1NF) A relation in which the intersection of each row and column contains one and only one value UNF to 1NF Nominate an attribute or group of attributes to act as the key for the unnormalized table Identify the .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.