Database 3
Database 3
Enterprise data model describes the highlevel entities in an organization and the relationship between these entities
Information Engineering
A data-oriented methodology to create and maintain information systems Top-down planninga generic IS planning methodology for obtaining a broad understanding of the IS needed by the entire organization Four steps to Top-Down planning:
Planning Analysis Design Implementation
Figure 2-2 Example of process decomposition of an order fulfillment function (Pine Valley Furniture)
Decomposition = breaking large tasks into smaller tasks in a hierarchical structure chart
Planning Matrixes
Describe relationships between planning objects in the organization Types of matrixes:
Function-to-data entity Location-to-function Unit-to-function IS-to-data entity Supporting function-to-data entity IS-to-business objective
Prototyping
Rapid application development (RAD) Cursory attempt at conceptual data modeling Define database during development of initial prototype Repeat implementation and maintenance activities with new prototype versions
Systems Development Life Cycle (see also Figures 2.4, 2.5) (cont.)
Planning Planning Analysis Logical Design Physical Design
Implementation Maintenance
Systems Development Life Cycle (see also Figures 2.4, 2.5) (cont.)
Planning
Purposethorough requirements analysis and structuring Deliverablefunctional system specifications Analysis Analysis
Logical Design Physical Design
Implementation Maintenance
Systems Development Life Cycle (see also Figures 2.4, 2.5) (cont.)
Planning Analysis Logical Design Logical Design Physical Design
Database activity logical database design (transactions, forms, displays, views, data integrity and security)
Implementation Maintenance
Systems Development Life Cycle (see also Figures 2.4, 2.5) (cont.)
Planning Analysis Logical Design
Purposedevelop technology and organizational specifications Deliverableprogram/data structures, technology purchases, organization redesigns
Physical Design Physical Design Database activity physical database design (define database to DBMS, physical data organization, database processing programs)
Implementation Maintenance
Systems Development Life Cycle (see also Figures 2.4, 2.5) (cont.)
Planning Analysis Logical Design Physical Design
Purposeprogramming, testing, training, installation, documenting Deliverableoperational programs, documentation, training materials
Database activity database implementation, including coded programs, documentation, installation and conversion
Systems Development Life Cycle (see also Figures 2.4, 2.5) (cont.)
Planning Analysis Logical Design Physical Design
Database activity database maintenance, performance analysis and tuning, error corrections
CASE
Computer-Aided Software Engineering (CASE)software tools providing automated support for systems development Three database features:
Data modelingdrawing entity-relationship diagrams Code generationSQL code for table creation Repositoriesknowledge base of enterprise information
Two types:
Universal data models Industry-specific data models
Managing Projects
Projecta planned undertaking of related activities to reach an objective that has a beginning and an end Involves use of review points for:
Validation of satisfactory progress Step back from detail to overall view Renew commitment of stakeholders
Incremental commitmentreview of systems development project after each development phase with rejustification after each phase
Schema
The word schema comes from the Greek word "" (skhma), which means shape, or more generally, plan. The plural is "" (skhmata). In English, both schemas and schemata are used as plural forms, although the latter is the standard form for written English. Schema may refer to: Model or Diagram
Schematic, a diagram that represents the elements of a system using abstract, graphic symbols
Reference: http://en.wikipedia.org/wiki/Schema
Database Schema
The schema (pronounced skee-ma) of a database system is its structure described in a formal language supported by the database management system (DBMS). In a relational database, the schema defines the tables, the fields, relationships, views, indexes, packages,procedures, functions, qu eues, triggers, types, sequences, materialized views, synonyms, database links, directories, Java, XML schemas, and other elements. Schemas are generally stored in a data dictionary. Although a schema is defined in text database language, the term is often used to refer to a graphical depiction of the database structure. In other words, schema is the structure of the database that defines the objects in the database. Levels of database schema Conceptual schema, a map of concepts and their relationships. Logical schema, a map of entities and their attributes and relations Physical schema, a particular implementation of a logical schema
Reference: http://en.wikipedia.org/wiki/Database_schema
Database Schema
Physical Schema
Physical structurescovered in Chapters 5 and 6
Conceptual Schema
E-R modelscovered in Chapters 3 and 4
External Schema
User Views Subsets of Conceptual Schema Can be determined from business-function/data entity matrices DBA determines schema for different users