TAILIEUCHUNG - Databases Demystified- P5

Tham khảo tài liệu 'databases demystified- p5', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Databases Demystified Entity Relationship Modeling Entity relationship modeling is the process of visually representing entities attributes and relationships producing a diagram called an entity relationship diagram ERD . The process is iterative in nature because entities are discovered throughout the design process. The chief advantage of ERDs is that they can be understood by nontechnical people while still providing great value to technical people. Done correctly ERDs are platform independent and can even be used for nonrelational databases if desired. ERD Formats Peter Chen developed the original ERD format in 1976. Since then vendors computer scientists and academics have developed many variations all of them conceptually the same. It is important to understand the most commonly used variations because you are likely to encounter them in active use in IT organizations. Here are the elements common to all ERD formats Entities are represented as rectangles or boxes. Relationships are represented as lines. Line ends indicate the maximum cardinality of the relationship that is one or many . Symbols near the line ends indicate the minimum cardinality of the relationship that is whether participation in the relationship is mandatory or optional . Attributes may be optionally included the format for displaying attributes varies quite a bit . Chen s Format For simplicity we ll use the normalized solution for the Acme Industries invoice application from Chapter 6 for the examples in this chapter. Figure 7-1 shows the ERD using Chen s format. Here are the particulars of the Chen format Relationship lines contain a diamond in which is written a word or short phrase that describes the relationship. For example the relationship between Invoice and Product may be read as An invoice contains many products. CHAPTER 7 Data and Process Modeling PRODUCT Figure 7-1 Acme Industries logical ERD in Chen s format M For many-to-many relationships that require an intersection table in

TỪ KHÓA LIÊN QUAN
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.