Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| modul:m290:learningunits:lu03:theorie:a_concept [2024/08/14 10:21] – vdemir | modul:m290:learningunits:lu03:theorie:a_concept [2024/10/02 15:15] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== | + | ====== |
| + | |||
| + | ==== Learning Objectives==== | ||
| + | - I can explain in my own words, what a relations database is and why it is widely used in all kinds of web applications. | ||
| + | - I can name and explain the key components of a relational database. | ||
| + | |||
| A Relational Database (RDB) is a structured method for storing and organizing data. The core idea is to represent data as related tables. | A Relational Database (RDB) is a structured method for storing and organizing data. The core idea is to represent data as related tables. | ||
| Zeile 9: | Zeile 15: | ||
| * **Fields**: A column in a table, defining the type of data stored in each row. | * **Fields**: A column in a table, defining the type of data stored in each row. | ||
| * **Relationships**: | * **Relationships**: | ||
| + | |||
| + | ==== Structure and Integrity ==== | ||
| + | * **Primary Key**: A unique identifier for each record in a table. | ||
| + | * **Foreign Key**: A field in one table that references the primary key in another table, establishing a relationship. | ||
| + | * **Data Integrity**: | ||
| + | * Entity Integrity: Every table must have a primary key with no null values. | ||
| + | * Referential Integrity: Foreign key values must match existing primary key values or be null. | ||
| + | * Domain Integrity: Data values must conform to defined data types. | ||
| + | |||
| + | ==== Advantages of RDBs === | ||
| + | * **Data Consistency**: | ||
| + | * **Data Security**: Access control mechanisms protect sensitive information. | ||
| + | * **Data Independence**: | ||
| + | * **Efficient Data Access**: Indexing and query optimization enhance performance. | ||
| + | |||
| + | ==== Common RDB Systems ==== | ||
| + | * MySQL | ||
| + | * PostgreSQL | ||
| + | * Oracle Database | ||
| + | * Microsoft SQL Server | ||
| + | |||
| + | ---- | ||
| ===== Vocabulary ===== | ===== Vocabulary ===== | ||
| ^ English ^ German ^ | ^ English ^ German ^ | ||
| - | | to provide | + | | row | Zeile | |
| + | | column | Spalte | | ||
| + | | entity | Objekt(-Einheit) | | ||
| + | | attribute | Eigenschaft | | ||
| + | | instance | Exemplar, Beispiel | | ||
| + | | unique | einzig(-artig) | | ||
| + | | to reference to | verweisen auf | | ||
| + | | to establish | errichten, herstellen | | ||
| + | | consistency | Widerspruchsfreiheit, | ||
| + | | constraint | Auflage, Bedingung | | ||
| + | | to enhance | ||
| ===== References ===== | ===== References ===== | ||