SoWi Forum Innsbruck - Powered by vBulletin
Ergebnis 1 bis 5 von 5

Thema: Frage: Normalisierung

  1. #1
    Gesperrt Bewertungspunkte: 0

    Registriert seit
    22.04.2003
    Beiträge
    75

    Frage: Normalisierung

    Weiss jemand genau wie das mit der 1. 2. und 3. Normalform funktioniert?

    Versteh überhaupt nichts?

    Splittet man da einfach alles auf, damit nichts doppelt vorkommt oder doppelt identifiziert werden kann, damit es zu keinen Retudanzen kommen kann?

    Hannes MFG

  2. #2
    Administrator Bewertungspunkte: 41

    Registriert seit
    05.01.2003
    Ort
    Bruneck/Innsbruck
    Beiträge
    3.255
    Hallo!
    Hier hast du eine kurze Beschreibung. Sie ist zwar in Englisch aber das dürfte hoffentlich kein Problem sein. Ich hoffe ich konnte dir weiterhelfen.


    Normalization
    In creating a database, normalization is the process of organizing it into tables in such a way that the results of using the database are always unambiguous and as intended. Normalization may have the effect of duplicating data within the database and often results in the creation of additional tables. (While normalization tends to increase the duplication of data, it does not introduce redundancy, which is unnecessary duplication.) Normalization is typically a refinement process after the initial exercise of identifying the data objects that should be in the database, identifying their relationships, and defining the tables required and the columns within each table.
    A simple example of normalizing data might consist of a table showing:


    Customer Item purchased Purchase price
    Thomas Shirt $40
    Maria Tennis shoes $35
    Evelyn Shirt $40
    Pajaro Trousers $25

    If this table is used for the purpose of keeping track of the price of items and you want to delete one of the customers, you will also delete a price. Normalizing the data would mean understanding this and solving the problem by dividing this table into two tables, one with information about each customer and a product they bought and the second about each product and its price. Making additions or deletions to either table would not affect the other.

    Normalization degrees of relational database tables have been defined and include:

    First normal form (1NF). This is the "basic" level of normalization and generally corresponds to the definition of any database, namely:

    It contains two-dimensional tables with rows and columns.
    Each column corresponds to a sub-object or an attribute of the object represented by the entire table.
    Each row represents a unique instance of that sub-object or attribute and must be different in some way from any other row (that is, no duplicate rows are possible).
    All entries in any column must be of the same kind. For example, in the column labeled "Customer," only customer names or numbers are permitted.

    Second normal form (2NF). At this level of normalization, each column in a table that is not a determiner of the contents of another column must itself be a function of the other columns in the table. For example, in a table with three columns containing customer ID, product sold, and price of the product when sold, the price would be a function of the customer ID (entitled to a discount) and the specific product.

    Third normal form (3NF). At the second normal form, modifications are still possible because a change to one row in a table may affect data that refers to this information from another table. For example, using the customer table just cited, removing a row describing a customer purchase (because of a return perhaps) will also remove the fact that the product has a certain price. In the third normal form, these tables would be divided into two tables so that product pricing would be tracked separately.

    Domain/key normal form (DKNF). A key uniquely identifies each row in a table. A domain is the set of permissible values for an attribute. By enforcing key and domain restrictions, the database is assured of being freed from modification anomalies. DKNF is the normalization level that most designers aim to achieve.

    (C) Whatis.com = IT-specific encyclopedia

    LG
    Martin

  3. #3
    Experte Bewertungspunkte: 4
    Avatar von bagu1
    Registriert seit
    02.03.2003
    Beiträge
    702
    Da wir gerade bei Fragen sind: Ist beim 3. Übungsbeispiel: 3b richtig?

    ODer besser gesagt: Warum ist 3a richtig?

    Übrigens vielen Dank Martin.

    LG Bagu1

  4. #4
    Administrator Bewertungspunkte: 41

    Registriert seit
    05.01.2003
    Ort
    Bruneck/Innsbruck
    Beiträge
    3.255
    gerne doch

  5. #5
    Gesperrt Bewertungspunkte: 0

    Registriert seit
    22.04.2003
    Beiträge
    75
    Vielen Dank auch von mir!

    @Bagu1:

    Hier haben wir eine 1:N Beziehung also um eine Beziehung wie bei den Mitarbeitern. = hierarchisch aufgebaut: Deshalb ist 3a richtig, da es dann eine hierarchische Beziehung ist. Dann braucht man auch nur einen Fremdschlüssel und keine neue Relation.

    Wäre es eine keine hierarchische Beziehung, sondern eine der anderen zwei bräuchte man eine neue Relation.
    Man muss einfach mit diesen verd... Beziehungen aufpassen!

    MFG Hannes

Ähnliche Themen

  1. Frage zur Normalisierung
    Von hotrod im Forum Wirtschaftsinformatik
    Antworten: 4
    Letzter Beitrag: 12.12.2004, 20:27
  2. Antworten: 1
    Letzter Beitrag: 11.12.2004, 12:12
  3. FRAGE WS2002/03 ...
    Von Mozart im Forum BWL I
    Antworten: 2
    Letzter Beitrag: 21.06.2004, 19:17
  4. Wer hat die Klausur vom SS03
    Von birgit im Forum Recht für Wirtschaftswissenschaften
    Antworten: 2
    Letzter Beitrag: 01.09.2003, 13:52
  5. Barta VO Klausur - Frage zur alten K. vom 25.06.02 Gruppe A
    Von Martin im Forum Recht für Wirtschaftswissenschaften
    Antworten: 5
    Letzter Beitrag: 25.06.2003, 15:51

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  


Studenteninserate.at | Studenteninserate.de | MeinInserat.at | MeinInserat.com | MeinInserat.it | Immobar.it | Mobiler Büroservice+ | Kleinanzeigen Südtirol | RC-Flohmarkt.com | Auswandern nach Südtirol | Annunci Gratuiti