[1031 - 資料庫管理概論] Chapter 1 The Database Environment and Development Process

  1. Database: 有組織的收集具有邏輯且有關聯性的資料的地方。
  2. Data: 關於一個物件或一件事的事實,並且在user 環境中很重要;可存取於電腦中,又稱原始資料。
    結構化Data:資料形式相當簡單,例如:字串、數值、字元。
    非結構化Data:資料形式較為複雜,例如:視訊、e-mail、文件……等等多媒體資料。
  3. Information: 原始資料經處理過後,且可用來增進人類知識的資料。
    將資料處理成資訊的兩種方法有:將資料置於上下文(context)中,以及:彙總資料,圖形化。
  4. Metadata(詮釋資料): 對於終端使用者資料的說明與解釋。(該資料對於使用者來說,有何特性或屬性,例如:姓名、編號。)
  5. Data model: 圖形、系統化資料與資料之間的性質與關係。
Traditional File Processing Systems: 將資料以檔案的形式存取,各個系統獨立運作,並將檔案描述存放於程式中。
缺點:
  1. Program-data dependence (資料相依,程式包含所有會用到的資料。)
  2. Duplication of data
  3. Limited data sharing
  4. Lengthy development times (各系統各自獨立,無法利用已完成的東西)
  5. Expensive program mantainance (維護成本高)
Database approch: 定義、產生與使用資料。利用Model設計資料庫。
 常用:Entity-relationship model (個體關係模型, ER model)
      Entity: a person, a place, an object, an event, or a concept in the user enviroment acout which the organization wishes to maintain data. (組織用來管理資料的個體)
      Attribute: user 對 entity 有興趣的資料。
      Relationship: entity 與 entity 之間的關聯(一對一,一對多,多對多)。
 優點:
 1. Program-data independence
 2. Planned data redundancy
 3. Improve data consistency(一致性)
 4. Improve data sharing
 5. Invrease productivity of application development
 6. Enforcement standards
 7. Improve data quality (資料的正確性)
 8. Improve data accessibility and responsiveness(下個SQL指令即可)
 9. Reduce program maintainance
 10. Improve decision support(有些系統是用來決策支援的,例如CRM)

 風險與成本:
 1. 新聘員工或舊有員工的專業培訓
 2. 系統軟體的安裝與維護成本
 3. 系統的版本轉換成本難以估計
 4. 需時常備份資料
 5. 組織間的衝突
  1. Relational database: a database that represents data as a collection of tables in which all data relationship are represented by common values in related tables.
    (由表單組成的資料庫,並且資料與資料間的關係是藉由表單之間的共同值產生關聯。)
  2. Database management systems(DBMS): a software that is used to create, maintain, and provide controlled access to user database.
    (Database approch 資料庫的方法是讓資料都儲存於repository,而資料的存取皆須透過DBMS)
  3. Data independence: The separation of data descriptions from the application programs.
  4. Computer-aided software engeering (CASE) tool: automated tools used to design database and application programs.
  5. Repository(倉儲): contains an extended set on metadata important for manageing database.
  6. User interface: user interact with various system components.
  7. Data and database administrator: 負責管理資料以及資料庫的實體設計。
  8. System development: 系統分析與程式設計。
  9. Enterprise data modeling: 描述資料庫的範圍以及大致內容。
  10. System development life cycle (SDLC): Planning-Analysis-Design-Implementation-Maintenance.
  11. Conceptual schema: 組織資料整體結構,與科技無關。
    Logical schema: 特定的資料管理技術。
    Physical schema: 開發人員觀點,考慮效率、安全問題,例如:如何把資料存到輔助記憶體中、資料如何呈現。
    *schema: 描述資料概念綱要
  12. ANSI 的三個schema: (愈上層愈接近使用者)
    (1) External schema (外部綱要): combination of the enterprise data model, user view.
    (2) Conceptual schema (概念綱要): a single, coherent, and comprehensive definition of the enterprise’s data.
    (3) Internal schema (內部綱要): 由logical schema與physical schema組成。
  13. The range of database applications
    (1) Personal database: design for one user.
    (2) Two-Teir Client/Server batabase: shared among several users(優點).
    (3) Multitier Client/Server database: amount of functionality.
    (4) Enterprise applications
  14. Enterprise Resource Planning: 整合企業日常營運時的所有功能。

留言