【正文】
ge)方法 ?面向?qū)ο蟮臄?shù)據(jù)庫設(shè)計(jì)方法 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)方法(續(xù)) ?計(jì)算機(jī)輔助設(shè)計(jì) ? ORACLE Designer 2022 ? SYBASE PowerDesigner An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)概述 數(shù)據(jù)庫設(shè)計(jì)的特點(diǎn) 數(shù)據(jù)庫設(shè)計(jì)方法 數(shù)據(jù)庫設(shè)計(jì)的基本步驟 數(shù)據(jù)庫設(shè)計(jì)過程中的各級模式 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟 ?數(shù)據(jù)庫設(shè)計(jì)分 6個(gè)階段 ? 需求分析 ? 概念結(jié)構(gòu)設(shè)計(jì) ? 邏輯結(jié)構(gòu)設(shè)計(jì) ? 物理結(jié)構(gòu)設(shè)計(jì) ? 數(shù)據(jù)庫實(shí)施 ? 數(shù)據(jù)庫運(yùn)行和維護(hù) ?需求分析和概念設(shè)計(jì)獨(dú)立于任何數(shù)據(jù)庫管理系統(tǒng) ?邏輯設(shè)計(jì)和物理設(shè)計(jì)與選用的 DBMS密切相關(guān) An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) 一、數(shù)據(jù)庫設(shè)計(jì)的準(zhǔn)備工作: 選定參加設(shè)計(jì)的人 、數(shù)據(jù)庫設(shè)計(jì)人員 ? 自始至終參與數(shù)據(jù)庫設(shè)計(jì) 2. 用戶和數(shù)據(jù)庫管理員 ? 主要參加需求分析和數(shù)據(jù)庫的運(yùn)行維護(hù) (程序員和操作員) ? 在系統(tǒng)實(shí)施階段參與進(jìn)來,負(fù)責(zé)編制程序和準(zhǔn)備軟硬件環(huán)境 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) 二、數(shù)據(jù)庫設(shè)計(jì)的過程 (六個(gè)階段 ) ⒈需求分析階段 ? 準(zhǔn)確了解與分析用戶需求(包括數(shù)據(jù)與處理) ? 最困難、最耗費(fèi)時(shí)間的一步 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) ⒉概念結(jié)構(gòu)設(shè)計(jì)階段 ? 整個(gè)數(shù)據(jù)庫設(shè)計(jì)的關(guān)鍵 ? 通過對用戶需求進(jìn)行綜合、歸納與抽象,形成一個(gè)獨(dú)立于具體 DBMS的概念模型 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) ⒊ 邏輯結(jié)構(gòu)設(shè)計(jì)階段 ? 將概念結(jié)構(gòu)轉(zhuǎn)換為某個(gè) DBMS所支持的數(shù)據(jù)模型 ? 對其進(jìn)行優(yōu)化 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) ⒋ 數(shù)據(jù)庫物理設(shè)計(jì)階段 ? 為邏輯數(shù)據(jù)模型選取一個(gè)最適合應(yīng)用環(huán)境的物理結(jié)構(gòu)(包括存儲結(jié)構(gòu)和存取方法) An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) ⒌ 數(shù)據(jù)庫實(shí)施階段 ? 運(yùn)用 DBMS提供的數(shù)據(jù)庫語言(如 SQL)及宿主語言,根據(jù)邏輯設(shè)計(jì)和物理設(shè)計(jì)的結(jié)果 ?建立數(shù)據(jù)庫 ?編制與調(diào)試應(yīng)用程序 ?組織數(shù)據(jù)入庫 ?進(jìn)行試運(yùn)行 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) ⒍ 數(shù)據(jù)庫運(yùn)行和維護(hù)階段 ? 數(shù)據(jù)庫應(yīng)用系統(tǒng)經(jīng)過試運(yùn)行后即可投入正式運(yùn)行 ? 在數(shù)據(jù)庫系統(tǒng)運(yùn)行過程中必須不斷地對其進(jìn)行評價(jià)、調(diào)整與修改 An Introduction to Database System 數(shù)據(jù)庫設(shè)計(jì)的基本步驟(續(xù)) 設(shè)計(jì)一個(gè)完善的數(shù)據(jù)庫應(yīng)用系統(tǒng)往往是上述六個(gè)階段的不斷反復(fù) ( P202圖 ) ?把數(shù)據(jù)庫設(shè)計(jì)和對數(shù)據(jù)庫中數(shù)據(jù)處理的設(shè)