GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Flussdiagramm

Redundancy in Databases

Leonie M Digital Media Honours Englisch

Inhalt des Flussdiagramms

  1. Databases

  2. What is redundancy? Why is it a problem? How can it be reduced?

  3. A systematic collection of related data that facilitates data management

  4. Designed, built, and populated with one or more specific purposes in mind

  5. Key problem with storing data multiple times in a database:

  6. Redundant data

  7. Updates have to be performed multiple times = effort is multiplied

  8. Storage space is wasted which may be problematic for large databases

  9. Files that represent the same data may become inconsistent

  10. Increases possibility of errors and continuous errors

  11. Can slow down performances especially with complex queries

  12. Problem caused by many-to-many relationships

  13. e.g.

  14. In database with student records: every student can belong to multiple departments, every department can have multiple students

  15. Can be solved by creating separate tables

  16. Common method to reduce redundancy is to normalise database tables

  17. Ensures each data cell is unique

  18. Relational tables = so they can be linked

  19. If data is stored in different places it's harder to update

  20. BUT

  21. Can be thought of as a policy describing a multi-step process towards normalising data and solving redundancy

  22. Table with fields containing more than one kind of information = fields are 'non-atomic' i.e. problematic

  23. Searches for particular elements have to take into account the multiple entires

  24. Searching for 'French History' within a field might bring results of French, History, and French History

  25. Changes have to be done in many places which would be difficult to find

  26. e.g.

  27. Need to be brought to an atomic level

  28. therefore

  29. Rules are divided into: First Normal Form / Second Normal Form / Third Normal Form / Boyce-Codd Normal Form

  30. A table is in the First Normal Form if all underlying fields are atomic and there are no repeating groups and fields

  31. Normalisation

  32. E.g. changing a student's address when student appears more than once

  33. Repeated entries in tables are a waste of time, effort, space

  34. Each set of columns must have a unique value

  35. Each row should have a primary key that distinguishes it as unique

  36. = each record is unique

Informationen

Beschreibung
Honours Digital Media (Past Paper Questions) Flussdiagramm am Redundancy in Databases, erstellt von Leonie M am 24/04/2017.
Erstellt von
Leonie M
Aufrufe
2
Bewertung

Mehr zu DBMS Features and Data Independence

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck