Data Resource ManagementSlide 2Problems with File ProcessingBenefits and Limitations of the Database ApproachLimitations of the Database ApproachDatabase StructuresRelational DatabasesDatabase AccessNormalizationNormal FormsKeysSteps Of NormalizationData Resource ManagementA managerial activity that applies information systems technology and management tools to the task of managing an organization’s data resourcesData Resource ManagementFile ProcessingData are organized, stored and processed in independent files of data recordsDatabase ProcessingData are organized, stored and processed in interrelated files of data recordsFiles are dependent on information in other filesProblems with File ProcessingData duplication or data redundancyLack of data integrationData DependenceEach program is dependent on how the information is stored in the fileIf the zip code changes from 5 bytes to 9 bytes, every program which uses the file must be changedBenefits and Limitations of the Database ApproachBenefitsReduces duplication of dataImproves integrity of dataPrograms are independent of dataComputer programming is simplifiedIncreased accessibility of data to usersLimitations of the Database ApproachIncreased technology difficultyNormalization of fileData ModelingCost of the Database Management SystemIncreased accessibility of data to the users can lead to increased fraud and inappropriate manipulation of dataDatabase StructuresRelationalBecause some files have a one to many relationship while other files have a many to many relationship, hierarchical and network models are not always applicableVery popular todayIs viewed as a table•Rows of the table are the data records•Columns of the table are the fields on the recordsRelational DatabasesEach file in the database needs a key which links the file to the other files in the databaseCan have more than one key in a filePrimary key•Storage SequenceForeign key •Generally used to link to another fileDatabase AccessSequentialAll records are key (usually in sequence by the key)Example: To print the timetable, all records on the class file must be read and printedDirect AccessKey transformation -- the key to a file can be transformed to give the location of the record on diskIndexed - an index consisting of the key to each record and the address of the record can be created. The index is searched and only the one address is read.NormalizationA technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.Normal FormsFirst Normal Form (1NF)There are no attributes (fields) that have more than one value for a single instance (record) of the entity.There are no repeating fieldsSecond Normal Form (2NF)1NFThe value of all non-primary key fields are dependent on the full primary key - not just part of itThird Normal Form (3NF)2NFThe values of its non-primary key fields are not dependent on any other non-primary key fieldKeysPrimaryA field whose values identify one and only one record in a tableEvery ACCESS table must have EXACTLY one primary keyForeignA primary key of one table that is included in another tableLinks the records in one database table to another tableSteps Of Normalization1. Remove repeating groups of data fields.2. Remove partial dependencies: If any data fields are dependent upon only part of the primary key defined for your core business transaction, split those fields out into a separate table, using the field(s) upon which they are dependent as the primary key.3. Remove transitive dependencies: If any fields are dependent upon a non-key field, split those fields out into a separate table, using the non-key field as the primary key. 4. Remove any field which can be derived from other field(s) : If any fields can be derived from others, remove from database.5. Check by drawing/comparing to E-R diagram: is this model
View Full Document