SlideServe
Menu
Préférences
© SlideServe · v2026

Database: Relational Vs Flat File

zandra avatar
8 diapositives · 1.4K Views · Jul 26, 2014

Database: Relational Vs Flat File. Databases - Structure. Flat file database, contains only one table Relational database, contains more than one table where relationships exist between the data in the table A flat file database often suffers from inefficient repetition of data.

Database: Relational Vs Flat File - slide 1
01 / 8Database: Relational Vs Flat File
1 / 17

Télécharger la présentation

Database: Relational Vs Flat File
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Database: Relational Vs Flat File

  2. Databases - Structure • Flat file database, contains only one table • Relational database, contains more than one table where relationships exist between the data in the table • A flat file database often suffers from inefficient repetition of data. • Normalisation is the process of removing this repetition by crafting relationships between tables.

  3. Databases – Flat File Vs Relational Database + No unnecessary data repetition + Department info easily modified in one operation.

  4. Types of Relationships, connection between data • One-to-one relationship: Eg. Airline’s passenger details: 1 passengers Seats Each passenger has only one seat and each seat can be assigned to only one passenger. A record in one table is connected to only one record in a second table.

  5. Types of Relationships, connection between data • One-to-many relationship: • Eg. customer details & job quotation: The one supplier can provide MANY products, but each product comes from ONE supplier. Also, eg. several workers share single telephone extensions; each extension record is related to several employee’s records.

  6. Types of Relationships, connection between data • many-to-many relationship: • Eg. Student details and subjects tables: students subjects Each student studies many subjects and each subject has many students

  7. Databases – Flat File Vs Relational • School and Student Details • If data was only in one table, with fields of surname, fname, school, address, phone no, fax no, etc. What would be the consequence of a school changing its phone number? • A RDMS with two tables, one with student info and one with school information will avoid this duplication.

  8. Databases – Flat File Vs Relational • Advantages of a relational database: • reduced data redundancy – unnecessary duplication of data • improved data integrity or accuracy of data • able to access the data from separate but related tables or files very quickly and simply • allows easy querying, reporting, etc.