AIS - CHAPTER 5

DATA BASE SYSTEMS

Data Bases

    1. Conceptual level schema - organization wide view of entire data base
    2. External level schema - individual user views of data, subschema
    3. Internal level schema - low-level view of data based, how data are stored
    4. DBMS translates user requests at logical level into physical actions
    5. Accountants are involved with conceptual and external levels, rarely the internal level.


    1. Each data element is described in detail.
    2. Usually maintained automatically by DBMS
    3. Output of data dictionary often includes
      1. Programs where data items are used.
      2. List of synonyms
      3. Data elements used by a user
      4. List of output reports where data element is used.


    1. Data definition language (DDL) - build data dictionary, initialize, describe logical views, specify security imposed on users.
    2. Data manipulation language (DML) - data maintenance, updating, inserting and deleting, references only data names.
    3. Data query language (DQL) - interrogation of the data base - retrieves, sorts, orders and presents subsets of data
    4. Report writer - simplifies report creation, user specifies data elements and format.


Relational DBMS

    1. Rows are called tuples - analogous to records in a file.
    2. Columns represent specific characteristics (attributes) - like fields.


    1. Primary keys must be unique - entity integrity rule - specifically identifies a row in a table.
    2. Every foreign key must be either null or have a value corresponding to the value of a primary key in another relation - referential integrity rule - foreign keys link tables together.
    3. Each column in a table must describe a characteristic of the object identified by the primary key.
    4. Each column in a row must be single-valued.
    5. he values in every row of a specific column must be of the same data type
    6. Neither column order nor row order is significant.


    1. Update anomaly - inconsistencies that may occur by not changing every occurrence of a data item - (solve: store data items only once).
    2. Insert anomaly - inability to insert new data without violating basic integrity rules - (solve: maintain different tables for entities)
    3. Delete anomaly - removal of desired information because of the deletion of a transaction - (solve: separate tables for entities.)


Data Base Design





Data Base Systems and the Future of Accounting

Top of document

Back to AIS Daily Schedule

Back to AIS Home Page

Back to Burke Home Page