Question

In: Computer Science

One of the characteristics of good relational database design is normalized tables. Discuss two ways in...

One of the characteristics of good relational database design is normalized tables. Discuss two ways in which normalization helps minimize data redundancy and anomalies such as insertion, deletion, and update anomalies.

What are some other characteristics of good database design?

Solutions

Expert Solution

To reduce redandancy and integrity of an relational Database normalization of datatbase is the best process of structuring a relational database in accordance with a series of normal forms. In theNormalization Data is organized in the columns and tables of a database to ensure that their dependencies are properly meets by database integrity constraints

1.> normalization is the process of effectively organising data in a database. There are two main ways of minimizing data redundancy and anamulies for normalization process First is eliminate redundant data i.e storing the same data in more than one table and second is to ensure data dependencies make sense i.e only storing related data in a table. Both of these are effective ways as they reduce the amount of space a database consumes and ensure that data is logically stored.

The normalization techniques reduce anamulies is describes as follows:

  1. Update anomaly =>When there is the same information can be expressed on multiple rows; therefore updates to the relation may result in logical inconsistencies. For eg, each record in an "Student' Skills" relation might contain an Student ID, Student Address, and Skill, thus a change of address for a particular Student may need to be applied on the multiple records i.e one for each skill. If there is a condition i.e If the update is only partially successful the Student address is updated on some records but not all other then the relation is left in an inconsistent state and in inintegrity. This method in normalization is known as an update anomaly.
  2. Insertion anomaly. There are some situationsin which certain data cannot be recorded at all. For e.g, each record in a "Staff and Courses" relation might contain a Staff ID, Staff Name, Staff Address, and Course Code. so, we can record the details of any Staff member who teaches at least one course, but there can be situation that, we cannot record a newly hired Staff member who has not yet been assigned to teach any courses. This method in normalization is known as an insertion anomaly.
  3. Deletion anomaly. Under certain Situations, deletion of data representing certain data necessary todeletion of data representing completely different manner. The "Staff and Their Courses" relation described in the previous example descibes from this type of anomaly, for if a Staff member temporarily ceases to be assigned to any courses, we must delete the last of the records on which that Staff member appears, effectively also deleting the faculty member, unless we set the Course Code to null. This method in normalization is known as a deletion anomaly.

Some other characteristics about good database design

  • Use storage space efficiently
  • Eliminate redundant data
  • Should be able to relate the tables in the database by means of a relation
  • Reduce or eliminate inconsistent data
  • Ease the database maintenance burden
  • Reflects real-world structure of the problem.
  • Clean, consistent, and easy to understand.

Related Solutions

Part #4: Data normalization: Background: Data in a relational database is stored in a normalized form....
Part #4: Data normalization: Background: Data in a relational database is stored in a normalized form. Data normalization or just normalization is a strategy used to organize data into multiple related tables to reduce data redundancy while preserving data integrity. Exercise: Normalize the student data in the University table (sample data is shown further below) into 3 tables, namely, Student, Department, and Course. You do not need to populate data. Just illustrate the schema for the 3 tables. You may...
Normalizing the Relational Model for the Student Project and Creating a Normalized SQL Database Patient (patientNo,...
Normalizing the Relational Model for the Student Project and Creating a Normalized SQL Database Patient (patientNo, name, address, phone, dateOfBirth, sex, insuranceCo, policyNo, relationshipToInsured) Appointment(patientNo, apptdate, appttime, reason, staffNo, visitNo) Visit(visitNo, patientNo, visitdate, visittime, duration, reason, visitType, visitCost, staffNo, roomNo) Staff(staffNo, name, title, specialty, address, phone) Availability(staffNo, availDate, startTime, endTime) InsurancePolicy (company, policyNo, insuredName, policytype, medicalCoPay, labCoPay, pharmacyCoPay, startDate, endingDate) DiagnosisMenu(diagCode, diagName) ProcedureMenu(procCode, procName, cost) Room(roomNo, roomType, condition) PrescriptionScript(scriptNo, visitNo, dateWritten, itemPrescribed, quantityPrescribed, directions, numberRefills) LabTest(testNo, prescriptionNo, testype, testDate, testTime,...
The following tables form part of a database (Flights Database) held in a relational DBMS: employee...
The following tables form part of a database (Flights Database) held in a relational DBMS: employee (empNo, empName, empSalary, empPosition) aircraft (aircraftNo, acName, acModel, acFlyingRange) flight (flightNo, aircraftNo, fromAirport, toAirport, flightDistance, departTime, arriveTime) certified (empNo, aircraftNo) Where:  employee contains details of all employees (pilots and non-pilots) and empNo is the primary key;  aircraft contains details of aircraft and C is the primary key.  flight contains details of flights and (flightNo, aircraftNo) form the primary key.  certified...
Database Design Design a database and show the relationship between each tables. I need multiple tables....
Database Design Design a database and show the relationship between each tables. I need multiple tables. *Must meet the requirements for Third Normal Form. These are the information for employee DB. Employee Number, First Name, Last Name, Date of birth, Address, city, state, zip, department, job title, supervisor, health insurance number, health insurance provider, dental insurance number, dental insurance provider, spouse/partner, children, children's ages.
QUESTION: The following tables describe the content of a relational database: a) Identify and classify the...
QUESTION: The following tables describe the content of a relational database: a) Identify and classify the tables as either entity or relationship The first step in building an E-R model is to identify the entities. Having identified the entities, the next step is to identify all the relationships that exist between these entities. Using the content of the relational database above: b) Using the relations in the relational database, explain how one can transform relationship in E-R model into a...
The database design process for noSQL databases is different from one for relational (SQL) databases. As...
The database design process for noSQL databases is different from one for relational (SQL) databases. As we learned noSQL database does not require to have a predefined structure, except of creating a list of databases and the list of collections. Some of the noSQL databases (like MongoDB) allow to define certain rules that will define what should be the structure of the acceptable documents for each collection. As you may recall, when you need to store multiple data points in...
Data Modeling and Database Design (Database Concepts, Eighth Edition) The relational model is the most important...
Data Modeling and Database Design (Database Concepts, Eighth Edition) The relational model is the most important standard in database processing today. Why do you feel that this model has continued to be successful in the world of IT? What would happen if large corporations decided to reject this theory, and store their data using a non-relational model? Are there any success stories where this has happened?
design a relational database to cater for the needs of the new bookshop owner as described...
design a relational database to cater for the needs of the new bookshop owner as described in the first question giving examples of tables, attributes, primary and foreign keys. you may assume that suppliers' orders contain more than one line
You are asked to design a relational database for a simple course registration software application for...
You are asked to design a relational database for a simple course registration software application for your school. The relational database must have the following information about the student, the course, and the registration, respectively StudentID, FirstName, LastName, DataOfJoining, and Major CourseNumber, CourseName,InstructorName, StartDate, EndDate, NumberOfCredits ReferenceID, StudentID,CourseID, DateOfRegistration Apply the following constrains while designing the database Each student in the database must be uniquely identifiable Each course listed in the database must be have unique CourseNumber Each course registration...
3. (15 marks) a. Design a simple normalized Library database for tracking “customers reserve books” with...
3. a. Design a simple normalized Library database for tracking “customers reserve books” with not more than 3 tables and answer the following questions about your database. b. Discuss how your database is in third normal form using functional dependencies (FDs). c. Create an instance of your database. d. Provide one external level view query in English on your database.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT