Please enable JavaScript.
Coggle requires JavaScript to display documents.
4資料庫設計 - Coggle Diagram
4資料庫設計
Q3實體關係資料模型裡有哪些元件?
關係(relationship)
實體彼此之間會存有關係
實體關係圖(Entity-Relationship(ER)diagram)
識別字(identifier)
每個實體都有識別字
鴉爪(crow`s foot)
屬性(attribute)
實體的特徵、特性
一對多關係(one-to-many(1:N)relationship)
一個部門可以有多個導師
實體(entity)
是使用者想要追蹤的東西
最大基數(maximum cardinality)
統一塑模型(Unified Modelong Language,UML)
最小基數(minimum cardinality)
多對多關係(many-to-many(N:M)relationship)
一個導師對多個學生;一個學生對多個導師
實體關係資料模型(entity-relationship(E-R)data model)
一個是會被存在資料庫裡的實體(entity)
這些實體彼此之間的關係(relationship)
Q4:如何將資料模型轉換成資料庫設計?
資料完整一致問題(data integrity problem)
假設有兩列會計部們的名稱已經修改,但是第三列沒改
正規格式(normal form)
把表格轉成正規個是以除去資料重複等問題
正規畫(normalization)
是用來修正劣質表格結構的方法
關係(relationship)
關係式模型(relational)
這兩個表個隻依一定要加進一個外來鍵
資料庫限制(data constraint)的過程,叫做資料庫設計(database design)
Q2:如何開發資料庫應用軟體?
資料庫應用軟體
包含了表格、報告、查詢,還可能有應用程式
資料模型(data model)
這個資料模型以一個觀念(loical)上容易瞭解的方法,來呈現資料結構
資料庫應用系統
包括了資料庫、DBMS以及資料庫應用軟體