Relacyjna baza danych
Typ bazy danych organizującej dane w tabele, które są ze sobą powiązane.
Najczęściej stosowany typ bazy w systemach wymagających wysokiej spójności i integralności danych.
graph LR
Center["Relacyjna baza danych"]:::main
Rel_encryption_at_rest["encryption-at-rest"]:::related -.-> Center
click Rel_encryption_at_rest "/terms/encryption-at-rest"
Rel_hash_table["hash-table"]:::related -.-> Center
click Rel_hash_table "/terms/hash-table"
Rel_index_database["index-database"]:::related -.-> Center
click Rel_index_database "/terms/index-database"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 Wyjaśnij jak 5-latkowi
To jak grupa arkuszy kalkulacyjnych, które ze sobą rozmawiają. Jeden ma listę osób, drugi ich zakupy, a łączą się przez numer ID.
🤓 Expert Deep Dive
Bazuje na modelu relacyjnym. SQL to standardowy język zapytań. Właściwości ACID zapewniają spójność danych.
❓ Częste pytania
What is the difference between RDBMS and NoSQL?
RDBMS uses a strict table-based schema and SQL, while NoSQL is more flexible and can use documents, graphs, or key-values.
Why is SQL used in relational databases?
SQL is a standardized, powerful language designed specifically for managing and querying structured data.